Skip to content

Die operation description#15

Open
frankieali wants to merge 3 commits intoBTMorton:masterfrom
frankieali:die-operation-description
Open

Die operation description#15
frankieali wants to merge 3 commits intoBTMorton:masterfrom
frankieali:die-operation-description

Conversation

@frankieali
Copy link

Adding an additional operation property descriptor to RollBase die objects. This will easily flag dice as 'drop', 'reroll' and 'explode'.

Use Case: After getting the final roll results, I'd like to mark which dice have been dropped, rerolled, or exploded. For example, when rolling 4d6dl1. Using the valid property doesn't always explain why a die may have been invalidated. Also, a dice that is critical: "success doesn't always explode. This new property will help to clear that up for post-processing.

Helps to define when a die has been dropped, rerolled, or exploded
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant