mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-11 01:02:16 +00:00
Disable "popcorn" Superring + unforced SPB when those items are disabled
This commit is contained in:
parent
ec70f62f36
commit
8a6f2c7bad
1 changed files with 3 additions and 2 deletions
|
|
@ -1521,7 +1521,7 @@ void K_FillItemRouletteData(player_t *player, itemroulette_t *const roulette, bo
|
|||
// reels with non-disruptive catchup (since we have a ton of offensive items
|
||||
// and not many front/mid speed items).
|
||||
boolean canfiltersuperring = true;
|
||||
if ((gametyperules & GTR_CIRCUIT) && (specialstageinfo.valid == false))
|
||||
if ((gametyperules & GTR_CIRCUIT) && (specialstageinfo.valid == false) && K_ItemEnabled(KITEM_SUPERRING))
|
||||
{
|
||||
if (targetpower > powers[KITEM_SUPERRING])
|
||||
{
|
||||
|
|
@ -1587,7 +1587,8 @@ void K_FillItemRouletteData(player_t *player, itemroulette_t *const roulette, bo
|
|||
&& specialstageinfo.valid == false
|
||||
&& (spb_odds > 0) & (spbplace == -1)
|
||||
&& (roulette->preexpdist >= powers[KITEM_SPB]) // SPECIAL CASE: Check raw distance instead of EXP-influenced target distance.
|
||||
&& !K_GetItemCooldown(KITEM_SPB))
|
||||
&& !K_GetItemCooldown(KITEM_SPB)
|
||||
&& K_ItemEnabled(KITEM_SPB))
|
||||
{
|
||||
// When reenabling the SPB, we also adjust its delta to ensure that it has good odds of showing up.
|
||||
// Players who are _seriously_ struggling are more likely to see Invinc or Rockets, since those items
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue