* Blackjack

* sync

* make BJ deck suffeling not OOB anymore

* tag !juice recipients

* lambchop RTP adjustment
This commit is contained in:
CrackmaticSoftware
2026-01-06 21:10:46 +01:00
committed by GitHub
parent 318241a58c
commit be669bf951
3 changed files with 4 additions and 4 deletions

View File

@@ -116,7 +116,7 @@ public class SendJuiceCommand : ICommand
$"Juice sent to {targetUser.KfUsername}", ct: ctx);
await Money.ModifyBalanceAsync(targetGambler.Id, amount, TransactionSourceEventType.Juicer, $"Juice from {user.KfUsername}",
gambler.Id, ctx);
await botInstance.SendChatMessageAsync($"{user.FormatUsername()}, {await amount.FormatKasinoCurrencyAsync()} has been sent to {targetUser.KfUsername}", true);
await botInstance.SendChatMessageAsync($"{user.FormatUsername()}, {await amount.FormatKasinoCurrencyAsync()} has been sent to {targetUser.FormatUsername()}", true);
}
}

View File

@@ -414,8 +414,8 @@ public class LambchopCommand : ICommand
targetTile -= 1; // make it 0 indexed xd
List<double> lambChopMultis =
[
1.072, 1.191, 1.331, 1.498, 1.698, 1.940, 2.238, 2.612, 3.086,
3.704, 4.527, 5.658, 7.275, 9.700, 13.580, 20.370
1.062, 1.138, 1.228, 1.318, 1.426, 1.561, 1.714, 1.912, 2.142,
2.442, 2.871, 3.425, 4.272, 5.702, 8.539, 16.861
];
if (FIELD_LENGTH != lambChopMultis.Count)
{

View File

@@ -92,7 +92,7 @@ public static class BlackjackHelper
// Shuffle using Fisher-Yates
for (int i = deck.Count - 1; i > 0; i--)
{
int j = Money.GetRandomNumber(gambler, 0, i + 1, incrementMaxParam: false);
int j = Money.GetRandomNumber(gambler, 0, i + 1, incrementMaxParam:false);
(deck[i], deck[j]) = (deck[j], deck[i]);
}