diff options
| author | historia <[not public]> | 2026-08-03 14:08:09 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-08-03 14:08:09 -0400 |
| commit | 612e429de438821ae8e099d6b54f87c11ff6c1b5 (patch) | |
| tree | ad6f9edf74339b9b50f9c7c2cd314ee7b6e04b2c /internal/casino/slots.go | |
| parent | f51424c90dbce7191a31b6e675818c985f0f4539 (diff) | |
| download | thehouseoficarus-612e429de438821ae8e099d6b54f87c11ff6c1b5.tar.gz | |
refactor: casino game slop refactor
Diffstat (limited to 'internal/casino/slots.go')
| -rw-r--r-- | internal/casino/slots.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/casino/slots.go b/internal/casino/slots.go index 9d53bb1..5c387c8 100644 --- a/internal/casino/slots.go +++ b/internal/casino/slots.go @@ -145,7 +145,7 @@ func evaluateSlot(grid [3][5]string, bet int, profile SlotProfile) (float64, []S for _, symbol := range p.Symbols { length, ways := matchingLength(grid, symbol.ID) if length >= 3 && symbol.Payout[length] > 0 { - payout := float64(bet) * symbol.Payout[length] * float64(ways) / 243.0 + payout := float64(bet) * symbol.Payout[length] * float64(ways) / float64(p.Ways) total += payout wins = append(wins, SlotWin{Symbol: symbol.ID, Length: length, Ways: ways, Multiplier: symbol.Payout[length], Payout: payout}) } |
