gamble nerf go brrrrr
@@ -663,9 +663,10 @@ class Econ(commands.Cog):
multi = (150 + random.randint(-5, 0)) if multi >= 150 else multi
multi /= 100
- won = int(multi * amount)
- if won > 45000:
- won = 45000 + random.randint(-5000, 5000)
+ if amount > 500:
+ won = math.ceil(multi * math.ceil(math.log(amount, 1.009)))
+ else:
+ won = math.ceil(multi * amount)
await self.db.balance_add(ctx.author.id, won)
await self.bot.send(ctx, ctx.l.econ.gamble.win.format(random.choice(ctx.l.econ.gamble.actions), won, self.d.emojis.emerald))
