Editing Module:HeroData/headcountGive feedback
Jump to navigation
Jump to search
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 9: | Line 9: | ||
for _, v in pairs(heroes_data) do | for _, v in pairs(heroes_data) do | ||
if hero_type == 'Released' then | if hero_type == 'Released' then | ||
if (v["InDevelopment"] == false and v["IsDisabled"] == false and v["Name"] ~= nil | if (v["InDevelopment"] == false and v["IsDisabled"] == false and v["Name"] ~= nil) then | ||
iter = iter + 1 | iter = iter + 1 | ||
end | end | ||
| Line 17: | Line 17: | ||
end | end | ||
else | else | ||
return "get_headcount()'s hero_type parameter must be either 'Released' or 'HeroLabs | return "get_headcount()'s hero_type parameter must be either 'Released' or 'HeroLabs" | ||
end | end | ||
end | end | ||