-
Notifications
You must be signed in to change notification settings - Fork 21
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
Rerolls? #42
Comments
(I'm actually willing to add the functionality, I'm just not sure how to run the program/test it outside of slack. My Go experience is basically none :-D ) |
Not sure either I would be willing to help.
Sent from Yahoo Mail for iPhone
On Wednesday, July 18, 2018, 10:07 AM, Xaelias <[email protected]> wrote:
(I'm actually willing to add the functionality, I'm just not sure how to run the program/test it outside of slack. My Go experience is basically none :-D )
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I'm not sure there's a good way to allow chaining (i.e. The roll tests should be pretty simple, although I'd image the formatting would also need to change - feel free to give it a go though! |
If you add some contribution guidelines, I might be willing to give implementation a shot. |
Not promising anything as I know jack about Go, but I'm looking at this now for what it's worth. Seems to me the most common use case is for rolling stats and then rerolling any 1s (I've seen folks reroll 2s as well). I'm unsure if we need to parse a set number (1), an above/below number (<2), or both; since different folks will have different requirements. Once I get further in and know it works I'll send a pull request. |
Hey,
I was wondering if there was an option I didn't find, or maybe a plan to add reroll supports?
Something like:
/roll 4d6r<2
Which would roll 4d6 and reroll all 1s and 2s.
And maybe something like
/roll 4d6r1r4
to reroll 1s and 4s ?Thanks!
The text was updated successfully, but these errors were encountered: