mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-23 00:12:27 +00:00
200% tripwire in Tutorial / Easy
This commit is contained in:
parent
60e65133e6
commit
d3ac1a6c5e
1 changed files with 7 additions and 3 deletions
10
src/k_kart.c
10
src/k_kart.c
|
|
@ -3174,15 +3174,19 @@ fixed_t K_PlayerTripwireSpeedThreshold(const player_t *player)
|
|||
fixed_t base_speed = K_GetKartSpeed(player, false, false);
|
||||
fixed_t required_speed = 5 * base_speed / 2; // 250%
|
||||
|
||||
if (K_LegacyRingboost(player))
|
||||
return 2 * base_speed;
|
||||
// 200% in Easy / Tutorial
|
||||
if (gamespeed == KARTSPEED_EASY)
|
||||
required_speed = 2 * base_speed;
|
||||
|
||||
// 150% in special
|
||||
if (specialstageinfo.valid)
|
||||
required_speed = 3 * base_speed / 2; // 150%
|
||||
required_speed = 3 * base_speed / 2;
|
||||
|
||||
// 400% in Time Attack
|
||||
if (modeattacking && !(gametyperules & GTR_CATCHER))
|
||||
required_speed = 4 * base_speed;
|
||||
|
||||
// Race
|
||||
if ((gametyperules & GTR_CIRCUIT) && !K_Cooperative() && M_NotFreePlay() && !modeattacking)
|
||||
{
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue