Page 1 of 1

MH-TheSewers2X[WEO] - dispersion pistol healing warlord

Posted: Tue Apr 29, 2025 2:12 am
by datsi

Re: MH-TheSewers2X[WEO] - dispersion pistol healing warlord

Posted: Tue Apr 29, 2025 9:57 am
by Barbie
Whow, how did we kill the Warlord in previous matches? :roll:

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);
DispersionPistol has a damage of 15, what results in

Code: Select all

actualDamage = float(15) * (1 - 200) = 15 * (-199) = -2985
Taking away a negative value from something means actually increasing it. So the Warlord only takes (positive :lol: ) 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. 8-)