Module:Sandbox/One Bar: Difference between revisionsGive feedback
No edit summary |
No edit summary |
||
| Line 55: | Line 55: | ||
and ability["Info1"]["Main"]["Props"] ~= nil) then | and ability["Info1"]["Main"]["Props"] ~= nil) then | ||
for _, prop in ipairs(ability["Info1"]["Main"]["Props"]) do | for _, prop in ipairs(ability["Info1"]["Main"]["Props"]) do | ||
if (prop["Scale"] | if (prop["Scale"] ~= nil) then | ||
ability_text = ability_text .. format_spirit_scale(frame, prop["Name"], prop["Value"], prop["Scale"]["Value"]) | ability_text = ability_text .. format_spirit_scale(frame, prop["Name"], prop["Value"], prop["Scale"]["Value"]) | ||
end | end | ||