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

Dice: Add advantage/disadvantage syntax #46

Closed
derikb opened this issue Dec 27, 2021 · 1 comment
Closed

Dice: Add advantage/disadvantage syntax #46

derikb opened this issue Dec 27, 2021 · 1 comment
Milestone

Comments

@derikb
Copy link
Owner

derikb commented Dec 27, 2021

Some kind of dice notation to represent situations like this:

  • Roll x take highest.
  • Roll x take lowest.
  • Roll x drop lowest.
  • Roll x drop lowest.
@derikb
Copy link
Owner Author

derikb commented Feb 6, 2022

Looking around for syntax options... this is what Roll20 uses and it seems clear/simple:

  • dh drop highest x dice
  • dl drop lowest x dice
  • kh keep highest x dice
  • kl keep lowest x dice

So a 5e disadvantage would be 2d20kl1 or 2d20dh1 and an advantage would be 2d20kh1 or 2d20dl1.

Not super big fan of that d in there for drop since it complicates the syntax parsing since we also use d for dice.

@derikb derikb added this to the 1.2.0 milestone Feb 8, 2022
@derikb derikb closed this as completed in a4495b1 Feb 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant