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 .
×

Macros and Rolling: Why Doesn't This Work?

I'm running a system that uses "successes" on d6es rolling above a certain value. An example of a roll under this system would be: 2d6>4 which rolls 2 dice, then counts how many of those dice rolled 4 or greater and returns that number. This works fine. I have figured out that I can insert a roll query, like so:  (2+?{Extra Dice|0})d6>4 which brings up a prompt allowing me to add extra dice to the roll. However, I would also like to have such a prompt for reducing the success threshold: 2d6>(4-?{success threshold reduction}) but when I try this, it returns... 2. It doesn't roll any dice, it simply returns 2. How could I do this in a way that works as intended?
1644945183
GiGs
Pro
Sheet Author
API Scripter
You need to put the second number inside inline roll brackets [[ ]], so 2d6>[[4-?{success threshold reduction|0}]]