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

Roll with modifiers

Hello ! I've been trying to do maccro that allows the player to choose wether or not he wants to apply a modifier and ended up with this : /r ((@{Olwen|Cha}+%{Olwen|Commandement})?{modificateur |0 |-1 |+1 |-2 | +2 |-3 |+3 |-4 |+4 |-5 |+5 })d10>8 So the player can choose between 0 and +5. works perfectly if the player wants to apply a modifier, but when choosing 0, I've got an error for the formula. How should I write it then ?
1585245720
Ziechael
Forum Champion
Sheet Author
API Scripter
/r ((@{Olwen|Cha}+%{Olwen|Commandement})?{modificateur | + 0 |-1 |+1 |-2 | +2 |-3 |+3 |-4 |+4 |-5 |+5 })d10>8 Add a + for the 0 option :)
Oh... Right ! Thanks a lot