mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2026-04-27 12:31:47 +00:00
Mild kick knockback increase from nerf
This commit is contained in:
parent
90c0970a89
commit
1afeb6f87d
1 changed files with 1 additions and 1 deletions
|
|
@ -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 = 1.75f; }
|
||||
if (m2->action == ACT_JUMP_KICK || m2->flags & MARIO_KICKING) { scaler = 1.85f; }
|
||||
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; }
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue