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

Adding to dice before Explodo! #48

Closed
JoeGans opened this issue Aug 10, 2019 · 3 comments
Closed

Adding to dice before Explodo! #48

JoeGans opened this issue Aug 10, 2019 · 3 comments
Assignees

Comments

@JoeGans
Copy link

JoeGans commented Aug 10, 2019

Looking to roll the following ... !(1+1d10)e>3 ... where the 1 is added to the d10 before the
Explode operator is checked, but it adds the 1 after the explode checks the valid?

Example: https://discordapp.com/channels/500738737169235968/571745040137846784/609612407718936596

Am i writing this die roll wrong? Thoughts, feedback appreciated! ... Walts

@obiwankennedy
Copy link
Member

There is some issue with your command.
e is what we called a dice option. It's only work on dice, meaning the previous part of the command must finish with a dice result.

The result of "1d10" is a dice result.
The result of "1+1d10" is a number result.

The proper way to make your command working is:

!1+1d10;$1i:[>3]{+1d10e[>3]};"final result: $2"

@JoeGans
Copy link
Author

JoeGans commented Aug 10, 2019

Hey obi ...Thanks for that.

I made an effort to read the HelpMe.md file and realised a simpler command
could be type (and remembered!) using the Range format ...

!1d[2-11]e>3

... so 1+1d10 would be 2-11. Thanks for helping ... Walts

@obiwankennedy
Copy link
Member

Yes, it also another way to do so.
The right command is:
!1d[2-11]e[>3]

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

2 participants