Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:HeroData: Difference between revisions

From Deadlock Wiki
Sur (talk | contribs)
m now its funny
Sur (talk | contribs)
m bugfix for in develop/disabled
Line 390: Line 390:
for hero_key, hero_data in pairs(heroes_data) do
for hero_key, hero_data in pairs(heroes_data) do
-- Ensure they are not in development and they are an active hero
-- Ensure they are not in development and they are an active hero
in_development = hero_data["inDevelopment"]
in_development = hero_data["InDevelopment"]
is_disabled = hero_data["isDisabled"]
is_disabled = hero_data["IsDisabled"]
if (not in_development and not is_disabled or 1==1) then  
if ((not in_development) and (not is_disabled)) then  
--Add the row's stats
--Add the row's stats