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

Auto-reroll of 1s

A character has a feature where if they roll a 1 on a damage die, they reroll it. How would this be coded for the macro?
1610398999
The Aaron
Roll20 Production Team
API Scripter
[[1d6ro]] The ro tells it to [r]eroll ones [o]nce.
1610400483

Edited 1610400537
Where does that go in the damage expression? For instance {{damage=[[ 1d8 + [[ @{intelligence-mod} ]] [Intelligence modifier] ]] damage.}} Would it go... {{damage=[[ 1d8 + [[ @{intelligence-mod} ]] [Intelligence modifier] [1d8ro] ]] damage.}}
1610400697
The Aaron
Roll20 Production Team
API Scripter
It's part of the dice expression and must follow the number of sides on the die: {{damage=[[ 1d8 ro + [[ @{intelligence-mod} ]] [Intelligence modifier] ]] damage.}}
Thanks!
don't you need the number to reroll in that command? Like 1d8ro1 Otherwise it doesn't know what number you are asking it to reroll.
1610424008
Oosh
Sheet Author
API Scripter
It seems to default to 1, which I didn't know.