Anonymous

Module:Skills/Agility: Difference between revisions

From Melvor Idle
Adjusted p.getModifierText calls to reflect formatting changes
(Applied same change to getModifierText to the PassivePillars function)
(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.getModifierText(bonusName, bonusValue))
       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.getModifierText(bonusName, bonusValue))
       table.insert(bonuses, Constants._getModifierText(bonusName, bonusValue))
     end
     end
     if Shared.tableCount(bonuses) == 0 then
     if Shared.tableCount(bonuses) == 0 then