balancing (reduce emeralds from mobs)
@@ -278,10 +278,10 @@ class MobSpawning(commands.Cog):
await self.db.update_killboard(u.id)
u_bal = await self.db.get_balance(u.id)
if diff == "easy":
- emeralds_gained = floor(u_bal * (1 / choice([3, 3.25, 3.5, 3.75, 4]))) if u_bal < 512 else floor(
+ emeralds_gained = floor(u_bal * (1 / choice([3, 3.25, 3.5, 3.75, 4]))) if u_bal < 256 else floor(
512 * (1 / choice([3, 3.25, 3.5, 3.75, 4])))
else: # diff hard
- emeralds_gained = floor(u_bal * (1 / choice([1.75, 2, 2.25, 2.5]))) if u_bal < 512 else floor(
+ emeralds_gained = floor(u_bal * (1 / choice([1.75, 2, 2.25, 2.5]))) if u_bal < 256 else floor(
512 * (1 / choice([1.75, 2, 2.25, 2.5])))
emeralds_gained = emeralds_gained if emeralds_gained >= 0 else 0
emeralds_gained = floor(emeralds_multi * emeralds_gained)
