MH-TheSewers2X[WEO] - dispersion pistol healing warlord

Here you can report lags or other server abnormalities.
The admin can use it for announcements and information about server modifications.
Post Reply
datsi
Posts: 23
Joined: Sat Feb 29, 2020 2:59 pm
Has thanked: 3 times
Been thanked: 1 time

MH-TheSewers2X[WEO] - dispersion pistol healing warlord

Post by datsi »

Image
Barbie
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

Post 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-)
Post Reply