diff options
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}) } |
