Slightly nerf kick knockback

Suggestion by emily
This commit is contained in:
Sunk 2024-10-08 20:21:31 -04:00
parent 0e0abb7a70
commit bf2941d57b

View file

@ -673,7 +673,7 @@ u32 determine_knockback_action(struct MarioState *m, UNUSED s32 arg) {
if (m2->marioObj == NULL) { continue; }
if (m2->marioObj != m->interactObj) { continue; }
// Redundent check in case the kicking flag somehow gets missed
if (m2->action == ACT_JUMP_KICK || m2->flags & MARIO_KICKING) { scaler = 2.0f; }
if (m2->action == ACT_JUMP_KICK || m2->flags & MARIO_KICKING) { scaler = 1.75f; }
else if (m2->action == ACT_DIVE) { scaler = 1 + fabs(m2->forwardVel * 0.01f); }
else if ((m2->flags & MARIO_PUNCHING)) { scaler = 0.2f; hasBeenPunched = TRUE; }
if (m2->flags & MARIO_METAL_CAP) { scaler *= 1.25f; }