mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Buff the damage given to battle monitors when in spring grease state
This commit is contained in:
parent
4e025836eb
commit
43b88b9d29
1 changed files with 6 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue