Module:HeroData: Difference between revisions

Jump to navigation Jump to search
simplified get_hero_tag parameters
added in_development check
Line 506: Line 506:
-- 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"]
if (not in_development) then
is_disabled = hero_data["IsDisabled"]
is_disabled = hero_data["IsDisabled"]
if (not is_disabled) then  
if (not is_disabled) then  
Line 586: Line 587:
first_hero = false
first_hero = false
end
end
end
end
end