Anonymous

Module:Constants: Difference between revisions

From Melvor Idle
getModifierText: Correct function for skill modifiers
(getModifiersText: Support for maxVisible parameter)
(getModifierText: Correct function for skill modifiers)
Line 862: Line 862:


if skill ~= nil and skill ~= '' then
if skill ~= nil and skill ~= '' then
value = {p.getSkillID(skill), value}
value = { ["skill"] = p.getSkillID(skill), ["value"] = value}
end
end