From 232e22d332eac0be8dd5c5f02df9b4dc26582ed1 Mon Sep 17 00:00:00 2001 From: barelyprofessional <150058423+barelyprofessional@users.noreply.github.com> Date: Sat, 11 Oct 2025 15:14:31 -0500 Subject: [PATCH] Planes 1.19 --- .../Commands/KasinoGambaCommands.cs | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/KfChatDotNetBot/Commands/KasinoGambaCommands.cs b/KfChatDotNetBot/Commands/KasinoGambaCommands.cs index 91f9541..61c00b4 100644 --- a/KfChatDotNetBot/Commands/KasinoGambaCommands.cs +++ b/KfChatDotNetBot/Commands/KasinoGambaCommands.cs @@ -343,10 +343,23 @@ public class Planes : ICommand do { if ((fullCounter-3) > 19) firstBoard = false; - counter = fullCounter % 23-3; - if (!firstBoard) counter = (fullCounter - 3) % 20; + counter = (fullCounter - 3) % 20; await Task.Delay(TimeSpan.FromMilliseconds(frameLength / 3), ctx); + + if (fullCounter >= 3) + { + planesDisplay = GetGameBoard(fullCounter, planesBoards, plane, carrierCount, noseUp); + planesDisplay += $"[br]Multi: {plane.MultiTracker}x"; + for (var i = 0; i < 10; i++) + { + planesDisplay += BlankSpace; + } + var winnings = plane.MultiTracker * wager; + planesDisplay += $"Winnings: {await winnings.FormatKasinoCurrencyAsync()}"; + await botInstance.KfClient.EditMessageAsync(msgId.ChatMessageId!.Value, planesDisplay); + } + var neutral = false; var frameCounter = 0; if (fullCounter < 3) @@ -442,7 +455,7 @@ public class Planes : ICommand fullCounter++; } plane.Gravity(); - if (counter == 0 && !firstBoard)//removes old planesboard, adds new planeboard when necessary **********************************************************************NEEDS MORE UPDATES + if (((fullCounter - 3)%20 == 0) && !firstBoard)//removes old planesboard, adds new planeboard when necessary **********************************************************************NEEDS MORE UPDATES { planesBoards.RemoveAt(0); planesBoards.Add(CreatePlanesBoard(gambler));