-- Spin addHook("PlayerThink", function(player) if (player.pflags & PF_SPINNING) and not (player.mo and player.mo.skin == "trip") and not (player.pflags & PF_JUMPED) and not P_IsObjectOnGround(player.mo) and not (player.mo.eflags & (MFE_TOUCHWATER)) player.pflags = $|PF_JUMPED&~PF_SPINNING player.powers[pw_strong] = STR_ANIM end --water skipping activation if (player.mo.eflags & (MFE_TOUCHWATER)) and not (player.mo and player.mo.skin == "trip") and not P_IsObjectOnGround(player.mo) and (player.pflags & PF_JUMPED) and (player.powers[pw_strong] == STR_ANIM) player.pflags = $|PF_SPINNING&~PF_JUMPED player.pflags = $ & ~PF_THOKKED end -- Jump if not P_IsObjectOnGround(player.mo) and (player.pflags & PF_SPINNING) and (player.pflags & PF_JUMPED) player.pflags = $ & ~PF_SPINNING end end) -- Trip Fix -- Spin addHook("PlayerThink", function(player) if (player.pflags & PF_SPINNING) and (player.mo and player.mo.skin == "trip") and not (player.pflags & PF_JUMPED) and not P_IsObjectOnGround(player.mo) and not (player.mo.eflags & (MFE_TOUCHWATER)) player.pflags = $|PF_JUMPED&~PF_SPINNING player.powers[pw_strong] = STR_NONE player.mo.state = S_PLAY_TNROLL1 end --water skipping activation if (player.mo.eflags & (MFE_TOUCHWATER)) and (player.mo and player.mo.skin == "trip") and not P_IsObjectOnGround(player.mo) and (player.pflags & PF_JUMPED) and (player.mo.state == S_PLAY_TNROLL1) and (player.powers[pw_strong] == STR_NONE) player.pflags = $|PF_SPINNING&~PF_JUMPED player.pflags = $ & ~PF_THOKKED end if not P_IsObjectOnGround(player.mo) and (player.pflags & PF_SPINNING) and (player.pflags & PF_JUMPED) player.pflags = $ & ~PF_SPINNING player.mo.state = S_PLAY_TNROLL1 end end)