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

how can i make this work 1d20 + (str-mod or dex-mod which ever is higher)

how can i make this work       1d20 + (str-mod or dex-mod which ever is higher)
1533423316
Ziechael
Forum Champion
Sheet Author
API Scripter
Try this (you may have to alter the attributes based on your sheet of choice): [[1d20 + {@{str-mod},@{dex-mod}}kh1 ]]
its adding them together
1533482435
Ziechael
Forum Champion
Sheet Author
API Scripter
It just looks like that, if you check out the full result report you can see the roll has only had the highest of the two mods added to it, in my case the 3 for dex:
1533492668
GiGs
Pro
Sheet Author
API Scripter
You also dont need to use the inline roll brackets, so you can see more clearly what's happening. /roll  1d20 + {@{str-mod},@{dex-mod}}kh1