mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
No random chance for sphere box
Asked Oni how it should be done, he said item + sphere box at the same time
This commit is contained in:
parent
1140410e2c
commit
cfe8a1bfa4
1 changed files with 6 additions and 8 deletions
|
|
@ -374,14 +374,6 @@ void K_RunPaperItemSpawners(void)
|
|||
firstUnspawnedEmerald
|
||||
);
|
||||
}
|
||||
else if (P_RandomChance(FRACUNIT/2))
|
||||
{
|
||||
K_SpawnSphereBox(
|
||||
battleovertime.x, battleovertime.y, battleovertime.z + (128 * mapobjectscale * flip),
|
||||
FixedAngle(P_RandomRange(0, 359) * FRACUNIT), flip,
|
||||
10
|
||||
);
|
||||
}
|
||||
else
|
||||
{
|
||||
K_CreatePaperItem(
|
||||
|
|
@ -389,6 +381,12 @@ void K_RunPaperItemSpawners(void)
|
|||
FixedAngle(P_RandomRange(0, 359) * FRACUNIT), flip,
|
||||
0, 0
|
||||
);
|
||||
|
||||
K_SpawnSphereBox(
|
||||
battleovertime.x, battleovertime.y, battleovertime.z + (128 * mapobjectscale * flip),
|
||||
FixedAngle(P_RandomRange(0, 359) * FRACUNIT), flip,
|
||||
10
|
||||
);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue