From a1d98e54cbba04873623bc5d8bc3caff82f87be5 Mon Sep 17 00:00:00 2001 From: barelyprofessional <150058423+barelyprofessional@users.noreply.github.com> Date: Thu, 9 Oct 2025 01:15:32 -0500 Subject: [PATCH] Updates to planes --- KfChatDotNetBot/Commands/KasinoGambaCommands.cs | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/KfChatDotNetBot/Commands/KasinoGambaCommands.cs b/KfChatDotNetBot/Commands/KasinoGambaCommands.cs index 3dcbc1b..b26fb07 100644 --- a/KfChatDotNetBot/Commands/KasinoGambaCommands.cs +++ b/KfChatDotNetBot/Commands/KasinoGambaCommands.cs @@ -413,6 +413,8 @@ public class Planes : ICommand { var win = plane.MultiTracker * wager - wager; newBalance = gambler.Balance + win; + planesDisplay = GetGameBoard(counter% 13 - 3, planesBoard, plane, carrierCount, noseUp); + await botInstance.KfClient.EditMessageAsync(msgId.ChatMessageId!.Value, planesDisplay); await Money.NewWagerAsync(gambler.Id, wager, win, WagerGame.Planes, ct: ctx); await botInstance.SendChatMessageAsync( $"{user.FormatUsername()}, you [color={colors[BuiltIn.Keys.KiwiFarmsGreenColor].Value}]successfully landed with {await win.FormatKasinoCurrencyAsync()} from a total {plane.MultiTracker:N2}x multi![/color]. Your balance is now: {await newBalance.FormatKasinoCurrencyAsync()}", true); @@ -530,12 +532,9 @@ public class Plane(GamblerDbModel gambler) public void Gravity() { - if (JustHitMulti > 0) - { - JustHitMulti--; - return; - } - Height++; + if (JustHitMulti > 0) JustHitMulti--; + else if (Height >= 6) Height = 6; + else Height++; } public void Crash()