Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×

Posting a normal roll in a query.

1536288294

Edited 1536288421
This is probably really simple but I for some reason notr found a solution. I have a query for differ rolls.Using the GRAmel Adventurers! attributes. ?{Summon| Normal, /r 2d6+@{Mind}+0 | Differcult, /r 2d6+@{Mind}-2 | Very Differcult, /r 2d6+@{Mind}+-4 | } The only way to I've found to make rolls work is using inline rolls with double square brackets, but this just displays the final score, not any of the dice rolls or modifier. And I want those to show inside each choice, one solution is having the roll outside and just having the choices be modifiers, but then it's confusing what the modifer is for . I tried adding labels but it gets messy. If I could keep the roll only in the query then it'll make things easier. If there isn't any easy solutions I go with what I already got. I feel I am literally missing some symbols I need to use and just can't find which ones I do need.
1536289302
GiGs
Pro
Sheet Author
API Scripter
Does this work? /r 2d6+@{Mind}-?{Summon|Normal,0|Difficult,2|Very Difficult,4}
That works very well! And does clean the code up nicely! I would prefer it to say wither it was a normal, differcult or very differcult before it did the rolling though. Just tying it at the end works either way. Just makes things easier if the log says which roll it was too. Thanks for the help.
1536326813
Ziechael
Forum Champion
Sheet Author
API Scripter
You can add a roll tag to the options to get the difficulty in the roll too: /r 2d6+@{Mind}-?{Summon|Normal,0 [Normal] |Difficult,2 [Difficult] |Very Difficult,4 [Very Difficult] }