FIX: drumspins execute randrange() many times to flush BPs and other RNG-restrictive algorithms

ipm
Kamal Curi 2 years ago
parent 5351f8a99c
commit 8902a4d49a

@ -585,7 +585,8 @@ async def roulette(bot:object, *option:str) -> str:
if not drum:
await bot.send("Inserting a bullet and spinning the drum...")
drum.extend(['click']*6)
spin = randrange(0, 6)
for i in range(0, 10):
spin = randrange(0, 6)
drum[spin] = 'bang'
chamber+=1

Loading…
Cancel
Save