-
-
Notifications
You must be signed in to change notification settings - Fork 11
s;roll improvements #10
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
Conversation
- previous code would only explode once, even if it rolled the highest possible number twice in a row - this code will repeatedly explode if it keeps rolling the highest possible number
jwford
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add the suggested examples to cover the keeping highest/keeping lowest stuff? Looks great otherwise
Co-Authored-By: Jonathan Ford <jonathanwford156@gmail.com>
|
whoops! should be good now |
jwford
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awesome!
Co-Authored-By: Jonathan Ford <jonathanwford156@gmail.com>
BoedJ
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd suggest moving the explanation for the new complex stuff to extendedHelp, and making helpUsage easier for the average person.
(I know very little about dice, so do feel free to correct anything in this suggestion! Just need something along these lines for the help command. Everything else looks good.)
Co-Authored-By: BoedJ <boedj7@gmail.com>
|
Not sure why it still says blocked on changes requested when I already did them. But it should be good to go now! |
|
Thank you! |


Fixes #1.
s;roll 1d8|4d6Roll multiple dice at onces;roll 2d20k1Roll multiple dice, keep highest ns;roll 2d20kl1Roll multiple dice, keep lowest ns;roll d20Infer the dice count to be 1 if omittedAlso fixes exploding dice: the current code only explodes once even if the max value is rolled twice. The proposed code will keep exploding repeatedly if possible.