RollUntilRule
Purpose
Forces player to keep rolling dice until specific criteria are met.
Capabilities/Options
Criteria Types
- ["match", [values]]: Keep rolling until any roll matches one of the values
- ["consecutiveMatch", count]: Keep rolling until getting
countconsecutive matching rolls
Execution Flow
- Player rolls one die
- Check if criteria met
- If not met, roll again
- Continue until criteria satisfied
- No outcome rules - purely for rolling mechanics
Examples
Roll Until Specific Value
{
"id": "rule_roll_until_six",
"type": "RollUntilRule",
"criteria": ["match", [6]]
}
Roll Until Multiple Options
{
"id": "rule_roll_until_high",
"type": "RollUntilRule",
"criteria": ["match", [4, 5, 6]]
}
Roll Until Consecutive Matches
{
"id": "rule_roll_consecutive",
"type": "RollUntilRule",
"criteria": ["consecutiveMatch", 3]
}