mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-31 04:02:37 +00:00
Merge branch 'overdrive-adjust' into 'master'
Move Overdrive boost power into standard OD Closes #1516 See merge request kart-krew-dev/ring-racers-internal!2564
This commit is contained in:
commit
661d22bb4a
1 changed files with 2 additions and 2 deletions
|
|
@ -3567,7 +3567,7 @@ static void K_GetKartBoostPower(player_t *player)
|
|||
Easing_InCubic(
|
||||
player->overdrivepower,
|
||||
0,
|
||||
5*FRACUNIT/10
|
||||
75*FRACUNIT/100
|
||||
),
|
||||
Easing_InSine(
|
||||
player->overdrivepower,
|
||||
|
|
@ -3643,7 +3643,7 @@ static void K_GetKartBoostPower(player_t *player)
|
|||
{
|
||||
fixed_t ringboost_base = FRACUNIT/4;
|
||||
if (player->overdrive)
|
||||
ringboost_base += FRACUNIT/2;
|
||||
ringboost_base += FRACUNIT/4;
|
||||
// This one's a little special: we add extra top speed per tic of ringboost stored up, to allow for Ring Box to really rocket away.
|
||||
// (We compensate when decrementing ringboost to avoid runaway exponential scaling hell.)
|
||||
fixed_t rb = FixedDiv(player->ringboost * FRACUNIT, max(FRACUNIT, K_RingDurationBoost(player)));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue