mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Softer EXP easing curve, cap bot modifier because Darkvile 1 is beating my ass
This commit is contained in:
parent
0f500ac0c6
commit
33a24accda
2 changed files with 4 additions and 5 deletions
|
|
@ -581,9 +581,8 @@ const botcontroller_t *K_GetBotController(const mobj_t *mobj)
|
|||
fixed_t K_BotMapModifier(void)
|
||||
{
|
||||
constexpr INT32 complexity_scale = 10000;
|
||||
fixed_t modifier_max = FRACUNIT * 2;
|
||||
fixed_t modifier_min = 3 * FRACUNIT / 10;
|
||||
modifier_min -= FRACUNIT;
|
||||
fixed_t modifier_max = (9 * FRACUNIT / 10) - FRACUNIT;
|
||||
fixed_t modifier_min = (3 * FRACUNIT / 10) - FRACUNIT;
|
||||
|
||||
const fixed_t complexity_value = std::clamp<fixed_t>(
|
||||
FixedDiv(K_GetTrackComplexity(), complexity_scale),
|
||||
|
|
|
|||
|
|
@ -246,8 +246,8 @@ INT32 level_tally_t::CalculateGrade(void)
|
|||
}
|
||||
case TALLY_BONUS_EXP:
|
||||
{
|
||||
const fixed_t frac = std::min(FRACUNIT, ((exp-15) * FRACUNIT) / std::max(1, static_cast<int>(totalExp)));
|
||||
ours += Easing_InQuint(frac, 0, bonusWeights[i]);
|
||||
const fixed_t frac = std::min(FRACUNIT, ((exp) * FRACUNIT) / std::max(1, static_cast<int>(totalExp)));
|
||||
ours += Easing_InCubic(frac, 0, bonusWeights[i]);
|
||||
break;
|
||||
}
|
||||
case TALLY_BONUS_PRISON:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue