mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
parent
34bc8b9dce
commit
c316924792
1 changed files with 2 additions and 6 deletions
|
|
@ -1570,9 +1570,9 @@ void K_FillItemRouletteData(player_t *player, itemroulette_t *const roulette, bo
|
||||||
// Give interaction items a nudge against initial selection if you're lonely..
|
// Give interaction items a nudge against initial selection if you're lonely..
|
||||||
for (i = 1; i < NUMKARTRESULTS; i++)
|
for (i = 1; i < NUMKARTRESULTS; i++)
|
||||||
{
|
{
|
||||||
if (!K_IsItemSpeed(i))
|
if (K_IsItemUselessAlone(i))
|
||||||
{
|
{
|
||||||
deltas[i] = Easing_InCubic(loneliness, deltas[i], deltas[i] + (4*DISTVAR));
|
deltas[i] = Easing_InCubic(loneliness, deltas[i], deltas[i] + (2*DISTVAR));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -1696,10 +1696,6 @@ void K_FillItemRouletteData(player_t *player, itemroulette_t *const roulette, bo
|
||||||
// feels exciting, low-rolling feels punishing!
|
// feels exciting, low-rolling feels punishing!
|
||||||
boolean reject = (filterweakitems) && (powers[i] + DISTVAR < meanreelpower);
|
boolean reject = (filterweakitems) && (powers[i] + DISTVAR < meanreelpower);
|
||||||
|
|
||||||
// If we're far away from interactions, be extra aggressive about tossing attack items.
|
|
||||||
if (filterweakitems && !reject && !K_IsItemSpeed(i))
|
|
||||||
reject = (powers[i] + Easing_Linear(loneliness, DISTVAR, -2 * DISTVAR) < meanreelpower);
|
|
||||||
|
|
||||||
// Popcorn Super Ring is always strong enough, we put it there on purpose.
|
// Popcorn Super Ring is always strong enough, we put it there on purpose.
|
||||||
if (i == KITEM_SUPERRING && !canfiltersuperring)
|
if (i == KITEM_SUPERRING && !canfiltersuperring)
|
||||||
reject = false;
|
reject = false;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue