Add temporary invincibility to rollouts

This is a test to see how different pvp feels with this change. Suggestion by sausrelics.
This commit is contained in:
Sunk 2024-10-08 18:17:36 -04:00
parent 459cb1544f
commit 61b8461a59

View file

@ -1474,6 +1474,9 @@ u32 interact_player_pvp(struct MarioState* attacker, struct MarioState* victim)
// not moving down yet?
if (attacker->actionState == 0) { return FALSE; }
victim->bounceSquishTimer = max(victim->bounceSquishTimer, 20);
} else if ((attacker->action == ACT_FORWARD_ROLLOUT || attacker->action == ACT_BACKWARD_ROLLOUT) &&
attacker->actionState == 1) {
return FALSE;
}
if (victim->playerIndex == 0) {