Bubble Shield Trap gives amps

Bubble Shield trap should give amps now!
This commit is contained in:
VelocitOni 2025-09-01 03:47:54 -04:00
parent c45ee76a2f
commit 8b5cb72b18

View file

@ -697,6 +697,11 @@ void P_TouchSpecialThing(mobj_t *special, mobj_t *toucher, boolean heightcheck)
if (K_TryPickMeUp(special, toucher, false))
return;
if (special->target && !P_MobjWasRemoved(special->target) && toucher->player)
{
K_SpawnAmps(special->target->player, K_PvPAmpReward(20, special->target->player, toucher->player), toucher);
}
// attach to player!
P_SetTarget(&special->tracer, toucher);
toucher->flags |= MF_NOGRAVITY;