MH-TheSewers2X[WEO] - dispersion pistol healing warlord
-
- Site Admin
- Posts: 246
- Joined: Thu Nov 08, 2018 7:12 am
- Has thanked: 3 times
- Been thanked: 10 times
Re: MH-TheSewers2X[WEO] - dispersion pistol healing warlord
Whow, how did we kill the Warlord in previous matches? 
Reason for this is that mapper has set Warlord's
The formula that calculates the damage is
DispersionPistol has a damage of 15, what results in
Taking away a negative value from something means actually increasing it. So the Warlord only takes (positive
) damage from weapons without projectiles with DamageType 'exploded'.
But the name ReducedDamagePct can easily been understood as "give me a percent value" so I won't blame mappers here.
Fixed.

Reason for this is that mapper has set Warlord's
ReducedDamagePct
to 200 for the DamageType 'exploded' while the range of ReducedDamagePct should be 0 to 1.The formula that calculates the damage is
Code: Select all
actualDamage = float(actualDamage) * (1 - ReducedDamagePct);
Code: Select all
actualDamage = float(15) * (1 - 200) = 15 * (-199) = -2985

But the name ReducedDamagePct can easily been understood as "give me a percent value" so I won't blame mappers here.
Fixed.
