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

Advanced Macro help!

1469309537

Edited 1469309572
So I'm running into a few issues. First: I'm trying to find out how to reroll natural 1's for the Halfling Lucky talent. /roll 1d20r<1 doesn't quite do the trick. While it'll reroll a natural 1, it'll continue to do so, and Lucky, only allows you to reroll a natural 1 the first time, so  in the extremely unlucky event that I reroll 1 twice in a row, I want it to keep the second... I tested /roll 1d20r<1r>1  but, as I suspected, that doesn't do the trick :). Second: I'm trying to see if there's a way to add an if/then style macro for critical hits. Use something along the lines of [[1d20cs>20]] if<20 [[1d8+5]] if>20 [[2d8+5]] ... Can this be done?
1469310610

Edited 1469310645
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Hey Elcarim, What system are you using? Pathfinder and D&D have community created sheets that have custom roll templates that will do the if/then situation that you're asking about, outside of that or the API, there isn't really if/then capability. For the single reroll, try this section of the  Wiki .
D&D 5e
[[1d20ro1]]  (re-roll once) I would recommend using the Dungeon and Dragons 5e character sheets.  They'll handle the critical roll for you by only showing the extra damage dice if it's a crit.