mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Increase held-input whip charge delay
This commit is contained in:
parent
4d97c4b51f
commit
2320d46de1
2 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue