4,951
edits
Falterfire (talk | contribs) (Added p.hasCombatStats) |
Falterfire (talk | contribs) (Changed Bonuses -> Modifiers in infobox, added color coding) |
||
Line 313: | Line 313: | ||
local modArray = {} | local modArray = {} | ||
for bonus, value in Shared.skpairs(item.modifiers) do | for bonus, value in Shared.skpairs(item.modifiers) do | ||
table.insert(modArray, Constants._getModifierText(bonus, value, | table.insert(modArray, Constants._getModifierText(bonus, value, true)) | ||
end | end | ||
result = result.."\r\n|-\r\n|''' | result = result.."\r\n|-\r\n|'''Modifiers:'''\r\n"..table.concat(modArray, "<br/>") | ||
end | end | ||
return result | return result |