Module:Sandbox/LVL: Difference between revisions

LVL (talk | contribs)
No edit summary
LVL (talk | contribs)
No edit summary
Line 138: Line 138:
                     if is_alt_row then
                     if is_alt_row then
                         scaling_data = hero_data_module.get_hero_scaling_data(hero_data, attr_key .. "AltFire")
                         scaling_data = hero_data_module.get_hero_scaling_data(hero_data, attr_key .. "AltFire")
                        if scaling_data ~= nil and next(scaling_data) == nil then
                            scaling_data = nil
                        end
                     end
                     end
                     if scaling_data == nil then
                     if scaling_data == nil then
                         scaling_data = hero_data_module.get_hero_scaling_data(hero_data, attr_key)
                         scaling_data = hero_data_module.get_hero_scaling_data(hero_data, attr_key)
                        if scaling_data ~= nil and next(scaling_data) == nil then
                            scaling_data = nil
                        end
                     end
                     end