4,951
edits
Falterfire (talk | contribs) (Moved p.getModifierText to p._getModifierText and added a version designed to be directly called from wiki pages) |
Falterfire (talk | contribs) (Fixed issue with recursion with p._getModifierText) |
||
Line 217: | Line 217: | ||
local resultArray = {} | local resultArray = {} | ||
for i, subVal in Shared.skpairs(value) do | for i, subVal in Shared.skpairs(value) do | ||
table.insert(resultArray, p. | table.insert(resultArray, p._getModifierText(modifier, subVal, doColor)) | ||
end | end | ||
return table.concat(resultArray, '<br/>') | return table.concat(resultArray, '<br/>') |