mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Bubble cooldown is longer
It was meant to be the same length as inflate & deflate AFTER you were done, but it was only half of that -- now you're vulnerable for the same amount of time as you held it down.
This commit is contained in:
parent
e8c327e5bb
commit
32d1abeb2b
1 changed files with 3 additions and 1 deletions
|
|
@ -6592,8 +6592,10 @@ void K_MoveKartPlayer(player_t *player, boolean onground)
|
||||||
{
|
{
|
||||||
if (player->kartstuff[k_bubbleblowup] == 0)
|
if (player->kartstuff[k_bubbleblowup] == 0)
|
||||||
S_StartSound(player->mo, sfx_s3k75);
|
S_StartSound(player->mo, sfx_s3k75);
|
||||||
|
|
||||||
player->kartstuff[k_bubbleblowup]++;
|
player->kartstuff[k_bubbleblowup]++;
|
||||||
player->kartstuff[k_bubblecool] = player->kartstuff[k_bubbleblowup]*3;
|
player->kartstuff[k_bubblecool] = player->kartstuff[k_bubbleblowup]*4;
|
||||||
|
|
||||||
if (player->kartstuff[k_bubbleblowup] > bubbletime*2)
|
if (player->kartstuff[k_bubbleblowup] > bubbletime*2)
|
||||||
{
|
{
|
||||||
K_ThrowKartItem(player, (player->kartstuff[k_throwdir] > 0), MT_BUBBLESHIELDTRAP, -1, 0);
|
K_ThrowKartItem(player, (player->kartstuff[k_throwdir] > 0), MT_BUBBLESHIELDTRAP, -1, 0);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue