17,105
edits
(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( | 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;' |