mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-22 10:02:01 +00:00
No bailing Eggmark, 30% speed -> 45%
This commit is contained in:
parent
b7437a6565
commit
725882ab76
1 changed files with 13 additions and 1 deletions
14
src/k_kart.c
14
src/k_kart.c
|
|
@ -3963,7 +3963,7 @@ static void K_GetKartBoostPower(player_t *player)
|
|||
|
||||
if (player->eggmanexplode) // Ready-to-explode
|
||||
{
|
||||
ADDBOOST(6*FRACUNIT/20, FRACUNIT, 0); // + 30% top speed, + 100% acceleration, +0% handling
|
||||
ADDBOOST(9*FRACUNIT/20, FRACUNIT, 0); // + 45% top speed, + 100% acceleration, +0% handling
|
||||
}
|
||||
|
||||
if (player->vortexBoost) // Holding wavedash vortex (assigned in K_UpdateWavedashIndicator!)
|
||||
|
|
@ -10980,6 +10980,11 @@ void K_KartPlayerThink(player_t *player, ticcmd_t *cmd)
|
|||
|
||||
P_StartQuakeFromMobj(7, 50 * player->mo->scale, 2048 * player->mo->scale, player->mo);
|
||||
player->bailhitlag = false;
|
||||
|
||||
/*
|
||||
if (player->markedfordeath)
|
||||
P_DamageMobj(player->mo, NULL, NULL, 1, DMG_INSTAKILL);
|
||||
*/
|
||||
}
|
||||
|
||||
if ((!P_PlayerInPain(player) && player->bailcharge >= 5) || player->bailcharge >= BAIL_MAXCHARGE)
|
||||
|
|
@ -10989,6 +10994,13 @@ void K_KartPlayerThink(player_t *player, ticcmd_t *cmd)
|
|||
|
||||
if (player->itemRoulette.active)
|
||||
{
|
||||
if (player->itemRoulette.eggman)
|
||||
{
|
||||
player->markedfordeath = true;
|
||||
player->eggmanexplode = 1;
|
||||
player->rings = -20;
|
||||
}
|
||||
|
||||
player->itemRoulette.active = false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue