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 .
×
Create a free account

Conditionals with die rolls

For the life of me, this macro is driving me nuts: [[{{?{Netherblast: 1 yes 0 no|0},0}>0}*([[1d6]]-0) + 0]] What it's supposed to do is bring up a pop-up and if you enter 1 it rolls 1d6.  If you enter 0 (the default value) it doesn't.  HOWEVER, everytime, no matter what it is I enter in the box, it rolls 1d6 and multiplies it by 2.  So if I roll a 2, it returns 4. On mousing over the value returned, all the math is weird.  It shows something like: {1+0}*(2-0) + 0 which makes no sense at all. (1 being that I entered a 1 to roll the 1d6, and the 2 being the d6 roll).
?{Netherblast|Yes,1|No,0}
1493773899

Edited 1493773953
Is there a reason you can't just do [[?{Netherblast|Yes,1d6|No,0}]]?
Nah, you could do that too.