Module:LevelTables: Difference between revisionsGive feedback
Jump to navigation
Jump to search
Implemented collapsible sections, expandable details view, Doorman sorted properly, and corrected Drifter's multishot stat. |
Remove In Development Heroes from the tables |
||
| Line 69: | Line 69: | ||
local filtered_heroes = {} | local filtered_heroes = {} | ||
for _, hero in pairs(heroes_data) do | for _, hero in pairs(heroes_data) do | ||
if (not hero["IsDisabled"]) then | if (not hero["IsDisabled"] and not hero["InDevelopment"]) then | ||
table.insert(filtered_heroes, hero) | table.insert(filtered_heroes, hero) | ||
end | end | ||
| Line 248: | Line 248: | ||
local burst_heroes = {} | local burst_heroes = {} | ||
for _, hero in pairs(heroes_data) do | for _, hero in pairs(heroes_data) do | ||
if ((hero["BulletsPerShot"] or 1) > 1 and not hero["IsDisabled"]) then | if ((hero["BulletsPerShot"] or 1) > 1 and not hero["IsDisabled"] and not hero["InDevelopment"]) then | ||
table.insert(spreadshot_heroes, hero) | table.insert(spreadshot_heroes, hero) | ||
elseif ((hero["BulletsPerBurst"] or 1) > 1 and not hero["IsDisabled"]) then | elseif ((hero["BulletsPerBurst"] or 1) > 1 and not hero["IsDisabled"] and not hero["InDevelopment"]) then | ||
table.insert(burst_heroes, hero) | table.insert(burst_heroes, hero) | ||
end | end | ||