Module:Abilities/card: Difference between revisions

Removed generic property (square) icons for attributes
added heavy melee variable for puddle punch
Line 296: Line 296:
local hero = get_hero_data(hero_key)
local hero = get_hero_data(hero_key)
value = prop.Value + hero.LightMeleeDamage * prop.Scale.Value
value = prop.Value + hero.LightMeleeDamage * prop.Scale.Value
elseif prop.Scale and prop.Scale.Type == 'heavy_melee' then
local hero = get_hero_data(hero_key)
value = prop.Value + hero.HeavyMeleeDamage * prop.Scale.Value
end
end