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

if command ?

Is there a command for macros that can do an if to modify a roll ie /roll 1d6 (if hp =3, +2)  (if 4or5 +0) (if 6 add -1) many thanks
1580815513
The Aaron
Roll20 Production Team
API Scripter
No ifs or other logic constructs other than math. You might get what you want from a Rollable Table with the right values and weights. Otherwise, the API can do those things.