mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 12:32:03 -04:00
Updates to planes
This commit is contained in:
@@ -413,6 +413,8 @@ public class Planes : ICommand
|
|||||||
{
|
{
|
||||||
var win = plane.MultiTracker * wager - wager;
|
var win = plane.MultiTracker * wager - wager;
|
||||||
newBalance = gambler.Balance + win;
|
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 Money.NewWagerAsync(gambler.Id, wager, win, WagerGame.Planes, ct: ctx);
|
||||||
await botInstance.SendChatMessageAsync(
|
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);
|
$"{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()
|
public void Gravity()
|
||||||
{
|
{
|
||||||
if (JustHitMulti > 0)
|
if (JustHitMulti > 0) JustHitMulti--;
|
||||||
{
|
else if (Height >= 6) Height = 6;
|
||||||
JustHitMulti--;
|
else Height++;
|
||||||
return;
|
|
||||||
}
|
|
||||||
Height++;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Crash()
|
public void Crash()
|
||||||
|
|||||||
Reference in New Issue
Block a user