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

Macro for rerolling any 1 but only if a condition is met?

1652304229

Edited 1652304321
I was wondering, is it possible to write a macro for rerolling any 1 once, but only if a condition is met? Here's some info for context,  >I'm playing D&D 5e >I'm playing a Sorcerer with Flames of Phlegethos feat (when you roll fire damage reroll any 1 once and keep the new roll) and Chaos Bolt spell (on a hit roll 2d8 + 1d6; the first die decides the type of damage, 3 being fire damage) I know I could always manually reroll, but I was wondering if it would be possible to make a macro that rerolls any 1 from the second d8 and 1d6 but only if 1st d8 rolls a 3? Any suggestions?
1652332314
GiGs
Pro
Sheet Author
API Scripter
No, you con't do that. Roll20 macros dont do any kind of conditional checking.
Aww, that's a shame. But thanks for replying! It's good to know what roll20 macros can and can't do