No bailing Eggmark, 30% speed -> 45%

This commit is contained in:
Antonio Martinez 2025-10-18 06:12:22 -04:00
parent b7437a6565
commit 725882ab76

View file

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