mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-12 09:42:21 +00:00
Harder rubberbanding
The old one is too difficult, the new one is too easy ... let's get an inbetween.
This commit is contained in:
parent
0eb5c29448
commit
59cd9e6157
1 changed files with 4 additions and 12 deletions
16
src/k_bot.c
16
src/k_bot.c
|
|
@ -547,19 +547,11 @@ fixed_t K_BotRubberband(player_t *player)
|
|||
}
|
||||
}
|
||||
|
||||
#if 0
|
||||
// Lv. 1: x1.0 max
|
||||
// Lv. 5: x1.5 max
|
||||
// Lv. 9: x2.0 max
|
||||
// Lv. MAX: x2.5 max
|
||||
max = FRACUNIT + ((FRACUNIT * (player->botvars.difficulty - 1)) / (DIFFICULTBOT - 1));
|
||||
#else
|
||||
// Lv. 1: x1.0 max
|
||||
// Lv. 5: x1.333 max
|
||||
// Lv. 9: x1.667 max
|
||||
// Lv. MAX: x2.0 max
|
||||
max = FRACUNIT + ((FRACUNIT * (player->botvars.difficulty - 1)) / (MAXBOTDIFFICULTY - 1));
|
||||
#endif
|
||||
// Lv. 5: x1.4 max
|
||||
// Lv. 9: x1.8 max
|
||||
// Lv. MAX: x2.2 max
|
||||
max = FRACUNIT + ((FRACUNIT * (player->botvars.difficulty - 1)) / 10);
|
||||
|
||||
// Lv. 1: x0.75 min
|
||||
// Lv. 5: x0.875 min
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue