Increase held-input whip charge delay

This commit is contained in:
AJ Martinez 2023-10-13 21:33:07 -07:00
parent 4d97c4b51f
commit 2320d46de1
2 changed files with 2 additions and 1 deletions

View file

@ -8271,7 +8271,7 @@ void K_KartPlayerThink(player_t *player, ticcmd_t *cmd)
if (player->instaWhipChargeLockout)
player->instaWhipChargeLockout--;
if (player->rings > 0 || player->itemamount || player->ringdelay)
player->instaWhipChargeLockout = 3*TICRATE/4;
player->instaWhipChargeLockout = INSTAWHIP_HOLD_DELAY;
if (!(player->cmd.buttons & BT_ATTACK)) // Deliberate Item button release, no need to protect you from lockout
player->instaWhipChargeLockout = 0;

View file

@ -33,6 +33,7 @@ Make sure this matches the actual number of states
#define INSTAWHIP_CHARGETIME (5*TICRATE/4)
#define INSTAWHIP_DROPGUARD (12)
#define INSTAWHIP_RINGDRAINEVERY (TICRATE/2)
#define INSTAWHIP_HOLD_DELAY (TICRATE*2)
#define GUARDBREAK_COOLDOWN (TICRATE*4)
#define FLAMESHIELD_MAX (120)