* Add Cecil for mechanics
Used to predetermine the outcome of games according to a probability function, which is stored as a skew. Each game made using cecil is intended to have its own skew (or maybe multiple skews for different difficulties)
Will eventually be used for planes 2
* Add CecilCommand for gambling functionality
Skip all the fancy casino visuals and let Cecil take the wheel
Customizeable difficulty
!cecil <bet> <optional difficulty, default 1> <optional max win>
https://i.ddos.lgbt/raw/CecilHelper.html
* Validate max win value in CecilCommand
Added validation to ensure max win is greater than 1.
* Adjust slot symbol probabilities and random range
9208000 | Payout: 0 | RTP: 97.84% | Feach Chance: 0.78% | Hit Rate: 34.03% | Win Rate: 15.14% | Biggest Win: 14100.0x | Avg Win: 6.01x | Median Hit: 0.6x
got some complaint about slots so figured I'd change it up a bit
found 120% rtp in test, idk if i fucked it up last time or this time but i nerfed feature and wild chance for now, planning a better update later
new rtp settings
RTP: 98.37% | Feach Chance: 0.14% | Hit Rate: 45.59% | Win Rate: 17.89% | Biggest Win: 38100.0x | Avg Win: 4.96x | Median Hit: 0.5x
from 32 mil tests
* Update message deletion in BlackjackCommand
Refactor message deletion logic for non-whisper messages.
* Add message deletion for non-whisper coinflip
* Implement message deletion for non-whispers
Added a check to delete non-whisper messages if they have a MessageUuid.
* Delete non-whisper messages in KenoCommand
* Implement KrashBetCommand for betting functionality
* Lambchop message deletion
Lambchop message deletion
* limbo message deletion
limbo message deletion
* Delete message if not a whisper mines
Delete message if not a whisper mines
* planes message dleete
planes message dleete
* plinko message delete
plinko message delete
* Add message deletion for non-whisper messages roulette
Delete the message if it's not a whisper and has a UUID.
* add message deletion for non-whisper slots
add message deletion for non-whisper slots
* Implement message deletion for WheelCommand
Add message deletion for non-whisper messages.
* Add KasinoKrash service initialization
* Add KasinoKrash service for game management
Implement KasinoKrash service for managing the Krash game, including state management, betting, and payout logic.
* Update message formatting in KasinoMines.cs
add buttons
* Update MinesCommand.cs
allow more mines spam since message will be deleted anyways, spam will be supported via button
* fix chat message ID handling and index out of bounds error
fix chat message ID handling and index out of bounds error
* fix feature incorrectly showing for some reason
idk why this started happening hopefully this fixes it, actual features might still be broken though
* actual fix for slot display issue
actual fix for slot display issue
after adding rigging i was passing in the rig parameter as the current type of feature
* fix chat message ID handling and index out of bounds error
fix chat message ID handling and index out of bounds error
* fix feature incorrectly showing for some reason
idk why this started happening hopefully this fixes it, actual features might still be broken though
* Implement minimum wager requirement for slots
Added minimum wager validation for slots command.
* Implement house edge and rigged outcomes in SlotsCommand
adds house edge to slots
if your house edge is greater than 1, HOUSE_EDGE - 100% chance for guaranteed max win chance (spawns all the symbols in the right place, does not guarantee top tier multi)
if house edge is less than 1, 100% - HOUSE_EDGE chance for guaranteed loss
* adds delay based on frame count so it doesn't spoil outcome on long spins
adds delay based on frame count so it doesn't spoil outcome on long spins
* adds pause between each spin
adds pause between each spin
* Refactor delay calculation for slot animation
Replaced delaySec with delayHSec to calculate delay based on frame delays.