Advertisement Create a free account

Roll with modifiers

1585244322
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 :)
1585246371
Oh... Right ! Thanks a lot