Buff the damage given to battle monitors when in spring grease state

This commit is contained in:
SteelT 2023-02-27 23:11:03 -05:00 committed by James R
parent 4e025836eb
commit 43b88b9d29

View file

@ -602,6 +602,12 @@ Obj_MonitorGetDamage
damage = HEALTHFACTOR +
(FixedMul(weight, HEALTHFACTOR) / 9);
if (inflictor->player->tiregrease > 0)
{
damage *= 3; // Do 3x the damage if the player is in spring grease state
}
if (inflictor->scale > mapobjectscale)
{
damage = P_ScaleFromMap(damage, inflictor->scale);