Editing Module:Sandbox/One BarGive feedback
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 53: | Line 53: | ||
-- @return {string} | -- @return {string} | ||
p.write_spirit_scaling_table = function(frame) | p.write_spirit_scaling_table = function(frame) | ||
local pi_souls_list = {} | |||
for _, v in ipairs(soul_unlocks_data) do | |||
if (v["PowerIncrease"]) then | |||
table.insert(pi_souls_list, v["RequiredSouls"]) | |||
end | |||
end | |||
local level_count = 0 | |||
for _ in ipairs(pi_souls_list) do level_count = level_count + 1 end | |||
local filtered_heroes = {} | local filtered_heroes = {} | ||
local hero_keys = {} | local hero_keys = {} | ||