Editing Module:HeroDataArraysGive 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 5: | Line 5: | ||
local inGameHeroData = {} | local inGameHeroData = {} | ||
-- Just get heroes that are playable | -- Just get heroes that are playable | ||
for i, heroData in pairs(allHeroData) do | for i, heroData in pairs(allHeroData) do | ||
if heroData["InDevelopment"] == false then | if heroData["InDevelopment"] == false then | ||
if heroData["IsDisabled"] == false then | if heroData["IsDisabled"] == false then | ||
table.insert(inGameHeroData, heroData) | table.insert(inGameHeroData, heroData) | ||
end | end | ||
end | end | ||