Anonymous

Module:Pets: Difference between revisions

From Melvor Idle
fixed getModifierText call
(Fixing Ty showing up as the woodcutting pet)
(fixed getModifierText call)
Line 97: Line 97:
     local effects = {}
     local effects = {}
     for effectName, effectValue in pairs(pet.modifiers) do
     for effectName, effectValue in pairs(pet.modifiers) do
       table.insert(effects, Constants.getModifierText(effectName, effectValue, false))
       table.insert(effects, Constants._getModifierText(effectName, effectValue, false))
     end
     end
     return table.concat(effects, '<br/>')
     return table.concat(effects, '<br/>')