4,951
edits
Falterfire (talk | contribs) (Applied same change to getModifierText to the PassivePillars function) |
Falterfire (talk | contribs) (Adjusted p.getModifierText calls to reflect formatting changes) |
||
Line 58: | Line 58: | ||
--After that, adding the bonuses | --After that, adding the bonuses | ||
for bonusName, bonusValue in pairs(obst.modifiers) do | for bonusName, bonusValue in pairs(obst.modifiers) do | ||
table.insert(bonuses, Constants. | table.insert(bonuses, Constants._getModifierText(bonusName, bonusValue)) | ||
end | end | ||
if Shared.tableCount(bonuses) == 0 then | if Shared.tableCount(bonuses) == 0 then | ||
Line 106: | Line 106: | ||
local bonuses = {} | local bonuses = {} | ||
for bonusName, bonusValue in pairs(pill.modifiers) do | for bonusName, bonusValue in pairs(pill.modifiers) do | ||
table.insert(bonuses, Constants. | table.insert(bonuses, Constants._getModifierText(bonusName, bonusValue)) | ||
end | end | ||
if Shared.tableCount(bonuses) == 0 then | if Shared.tableCount(bonuses) == 0 then |