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:
Sally Cochenour 2020-03-17 19:22:13 -04:00
parent e8c327e5bb
commit 32d1abeb2b

View file

@ -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);