Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Die operation description #15

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

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