From 41f1c7aa11652469ebde74c2e80732ab2e3a863e Mon Sep 17 00:00:00 2001 From: Toastie Date: Sat, 2 Nov 2024 01:46:26 +1300 Subject: [PATCH] animal race will update more frequently, but animals will move slightly slower. Overall everything will be slightly faster --- src/EllieBot/Modules/Gambling/AnimalRacing/AnimalRace.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/EllieBot/Modules/Gambling/AnimalRacing/AnimalRace.cs b/src/EllieBot/Modules/Gambling/AnimalRacing/AnimalRace.cs index 84f10d4..f681862 100644 --- a/src/EllieBot/Modules/Gambling/AnimalRacing/AnimalRace.cs +++ b/src/EllieBot/Modules/Gambling/AnimalRacing/AnimalRace.cs @@ -116,7 +116,7 @@ public sealed class AnimalRace : IDisposable { foreach (var user in _users) { - user.Progress += rng.Next(1, 11); + user.Progress += rng.Next(1, 10); if (user.Progress >= 60) user.Progress = 60; } @@ -126,7 +126,7 @@ public sealed class AnimalRace : IDisposable FinishedUsers.AddRange(finished); _ = OnStateUpdate?.Invoke(this); - await Task.Delay(2500); + await Task.Delay(1750); } if (FinishedUsers[0].Bet > 0)