mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Make drift boost bonus match drift spark rate
This commit is contained in:
parent
4c6109f62d
commit
0fb26368cc
1 changed files with 2 additions and 2 deletions
|
|
@ -3090,8 +3090,8 @@ static void K_GetKartBoostPower(player_t *player)
|
||||||
if (player->driftboost) // Drift Boost
|
if (player->driftboost) // Drift Boost
|
||||||
{
|
{
|
||||||
// Rebuff Eggman's stat block corner
|
// Rebuff Eggman's stat block corner
|
||||||
const INT32 heavyAccel = (player->kartweight - 1) + (9 - player->kartspeed);
|
const INT32 heavyAccel = ((9 - player->kartspeed) * 2) + (player->kartweight - 1);
|
||||||
const fixed_t heavyAccelBonus = FRACUNIT + ((heavyAccel * maxmetabolismincrease * 2) / 16);
|
const fixed_t heavyAccelBonus = FRACUNIT + ((heavyAccel * maxmetabolismincrease * 2) / 24);
|
||||||
|
|
||||||
fixed_t driftSpeed = FRACUNIT/4; // 25% base
|
fixed_t driftSpeed = FRACUNIT/4; // 25% base
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue