Module:Constants: Difference between revisions

getModifierText: Actually correct it this time
(getModifierText: Correct function for skill modifiers)
(getModifierText: Actually correct it this time)
Line 862: Line 862:


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