From 21fd54f83e59f9322c405866ac2a513cc88d0db0 Mon Sep 17 00:00:00 2001 From: alogindtractor <251821224+A-Log-In-D-Tractor@users.noreply.github.com> Date: Thu, 8 Jan 2026 07:13:30 -0800 Subject: [PATCH] plinko fixes (#34) * more plinko fixes more plinko fixes * fix fix * fix --- .../Commands/Kasino/PlinkoCommand.cs | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/KfChatDotNetBot/Commands/Kasino/PlinkoCommand.cs b/KfChatDotNetBot/Commands/Kasino/PlinkoCommand.cs index 3a0fb1f..a8cf605 100644 --- a/KfChatDotNetBot/Commands/Kasino/PlinkoCommand.cs +++ b/KfChatDotNetBot/Commands/Kasino/PlinkoCommand.cs @@ -38,13 +38,13 @@ public class PlinkoCommand : ICommand private static readonly Dictionary PlinkoPayoutBoard = new() { - {0, 25}, - {1, (decimal)2.5}, + {0, 8}, + {1, (decimal)0.5}, {2, (decimal)0.25}, - {3, (decimal)0.1}, + {3, (decimal)0.25}, {4, (decimal)0.25}, - {5, (decimal)2.5}, - {6, 25}, + {5, (decimal)0.5}, + {6, 8}, }; private static readonly List<(int row, int col)> validPositions = new() //would need to come up with a formula to make this to have user defined difficulty, good luck @@ -57,7 +57,10 @@ public class PlinkoCommand : ICommand (5, 0), (5, 1),(5, 2), (5, 4), (5, 5), (5, 6), (6, 0), (6, 1),(6, 2), (6, 3), (6, 4), (6, 5), (6, 6) }; - + // 1 1 1 1 1 1 1 + // 2 1 0.5 1 0.5 1 2 + // 4 0.5 0.5 0.25 0.5 0.5 4 + // 8 0.5 0.25 0.25 0.25 0.5 8 public async Task RunCommand(ChatBot botInstance, MessageModel message, UserDbModel user, GroupCollection arguments, CancellationToken ctx) { @@ -150,7 +153,7 @@ public class PlinkoCommand : ICommand else { await botInstance.SendChatMessageAsync( - $"{user.FormatUsername()}, you [color={settings[BuiltIn.Keys.KiwiFarmsRedColor].Value!}lost[/color] ${wager-currentPayout} KKK from a plinko ball worth {wager}.", true, autoDeleteAfter: TimeSpan.FromSeconds(5)); + $"{user.FormatUsername()}, you [color={settings[BuiltIn.Keys.KiwiFarmsRedColor].Value!}]lost[/color] ${wager-currentPayout} KKK from a plinko ball worth {wager}.", true, autoDeleteAfter: TimeSpan.FromSeconds(5)); } ballsInPlay.RemoveAt(0); }