4,951
edits
Falterfire (talk | contribs) (added handling for when modifiers are nested one layer deep for no reason) |
Falterfire (talk | contribs) (More attempted bugfixes) |
||
Line 184: | Line 184: | ||
end | end | ||
if value[1] ~= nil then | if value[1] ~= nil then | ||
result = string.gsub(result, '{SV0}', p.getSkillName(value[1])) | local skillName = p.getSkillName(value[1]) | ||
if skillName ~= nil then | |||
result = string.gsub(result, '{SV0}', p.getSkillName(value[1])) | |||
end | |||
end | end | ||
if value[2] ~= nil then | if value[2] ~= nil then |