Module:Items/ComparisonTables: Difference between revisions

m
Fix case issue
(Update for v0.21)
m (Fix case issue)
Line 203: Line 203:
         local statValue = getStatValue(item, statName, equipStats, levelReqs)
         local statValue = getStatValue(item, statName, equipStats, levelReqs)
         result = result..'\r\n| style ="text-align: right;padding: 0 0.5em 0 0;'
         result = result..'\r\n| style ="text-align: right;padding: 0 0.5em 0 0;'
         if string.find(StatName, '^(.+)LevelRequired$') == nil then
         if string.find(statName, '^(.+)LevelRequired$') == nil then
           if statValue > 0 then
           if statValue > 0 then
             result = result..'background-color:lightgreen;'
             result = result..'background-color:lightgreen;'