Reel Ways Calculate Winnings
This node calculates the payout for a spin based on the "Reel Ways" (or "All Ways") mechanic.
The Reel Ways Calculate Winnings node determines the total win amount for a slot game where wins are based on adjacent symbols rather than fixed paylines.
The Reel Ways Calculate Winnings node is used for slot games that use the "Ways to Win" system (e.g., 243 ways). It takes the winning lines identified by Reel Ways Check Wins and calculates the monetary payout based on the bet amount and the paytable.
Data
| Data | Description |
|---|
| Winning Lines | The array of winning lines from the Reel Ways Check Wins node. |
| Paytable | A JSON object defining payouts. Format: { "SymbolID": { "Count": Multiplier } }. |
Parameters
| Data | Description |
|---|
| Bet Amount | The total bet for the spin. |
| Wild Symbol | The ID of the wild symbol (substitutes for others). |
Actions
| Signal | Description |
|---|
| Do | Triggers the calculation. |
Outputs
Results
| Data | Description |
|---|
| Spin Winnings | The total monetary value won in this spin. |
| Winning Lines Details | An array of objects detailing each win: { symbols, positions, payout }. |
Events
| Signal | Description |
|---|
| Done | Triggered when calculation is complete. |
Usage
Reel Ways Payout
- After Reel Ways Check Wins, pass the
Winning Lines output to this node.
- Pass the
Paytable and Bet Amount.
- Trigger Do.
- Add Spin Winnings to the player's balance.
Detailed Behavior
- Payout Calculation:
Payout = Bet Amount * Multiplier. Note that unlike standard lines, "Ways" games usually apply the multiplier to the total bet (or a "coin size" derived from it, depending on game rules. This node assumes direct multiplication).
- Wilds: Uses the wild symbol ID to correctly identify the paying symbol in a mixed line.
Troubleshooting
- Zero Winnings: Ensure your Paytable has entries for the symbol counts you are hitting (e.g., if you hit 3 symbols, ensure key "3" exists).