-
Notifications
You must be signed in to change notification settings - Fork 16
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
New dice expressions to reroll exactly once, and either keep the new value or choose the higher #27
Comments
…Testing and specified sequence of die rolls. RPTools#27
Appears to be a bug when more than one die is less than keep value. Also saw return of For Also saw result of |
Ahh ok, actually in your examples here I think it's working as intended - since it's rolling each die at a time (and re-rolling if necessary), [1, 2, 1, 3] is showing that the 1 was re-rolled (and became a 2), and then the "second die" was originally a 1, re-rolled to become a 3. Total is 5. I'll still take a look to confirm, but that's the sequence I'd expect. |
@Phergus confirmed working as expected. The confusion here is that it re-rolls each die immediately in sequence - the same way the repeating |
That's it. Didn't realize it was doing the rerolls immediately. Tested. Rolls performing as expected. |
Updated wiki page for Dice Expressions, added page for |
…Testing and specified sequence of die rolls. RPTools/dicelib#27
Is your feature request related to a problem? Please describe.
D&D 5th edition (and likely other systems) has a number of features that allow for dice below a certain threshold to be rerolled once, and either the new value must be kept or a choice is allowed to take the higher. The existing
2d6r3
syntax doesn't work here, as dice are rerolled repeatedly until all results are at least the threshold.Describe the solution you'd like
2d6rk3
to reroll dice exactly once, and force the use of the new value.2d6rc3
to reroll dice exactly once, and choose the higher resultDescribe alternatives you've considered
This is currently achievable through macros checking the values in
getNewRolls()
, but would be much easier to manipulate in framework implementations as a dice expression.The text was updated successfully, but these errors were encountered: