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

Add number to a roll macro

1497690697

Edited 1497690776
Greetings fellow adventurers, First thing first, we dont use characters sheets yet, so I made this macro to roll my saving throws in one click. But instead of rolling a d20 for each save, I was wondering if it's possible to roll just one d20 and set it as a value and then add the modifiers something like this: &{template:default} {{name=Saving Throws set %d20.value = [[d20]] ; Hopefully this syntax will make sense. }} {{Strength Save= [[ %d20.value + 0 ]] }} {{Dexterity Save= [[ %d20.value + 5 ]] }} {{Constitution Save= [[ %d20.value + 1 ]] }} {{Intelligence Save= [[ %d20.value + 3 ]] }} {{Wisdom Save= [[ %d20.value + 0 ]] }} {{Charisma Save= [[ %d20.value + 2 ]] }} Thanks.
No that's not possible, not without the API at least. You could do something like this &{template:default} {{name=Saving Throws}} {{Save= [[ 1d20 + ?{Which save?|Strength,0|Dexterity,5|Con,1|Int,3|Wis,0|Cha,2} ]] }}