Module:HeroData: Difference between revisionsGive feedback
Jump to navigation
Jump to search
m stat infobox max width 300px |
m correcting power increase display bug for stat infoboxes |
||
| Line 332: | Line 332: | ||
-- Add the scaling str if it scales | -- Add the scaling str if it scales | ||
local scaling_value, scaling_type = p.get_hero_scalar(hero_data, | local scaling_value, scaling_type = p.get_hero_scalar(hero_data, stat_name) | ||
local scalar_str = p.get_hero_scalar_str(scaling_value, scaling_type) | local scalar_str = p.get_hero_scalar_str(scaling_value, scaling_type) | ||
if (scalar_str ~= "") then scalar_str = " " .. scalar_str end | if (scalar_str ~= "") then scalar_str = " " .. scalar_str end | ||