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

5e macros with damage for weapons

I need help does anyone know if there is a macro for automatic damage re-rolls in case the result is a 1 or 2 on the damage die?
1694449723
Gauss
Forum Champion
Hi Akira,  Your best bet is to state which character sheet you are using, then post the existing macro, we can then best provide the code.  With that said, the code for rerolls is "r" after the dice.  Example: 1d8r<2 If you want it to reroll only once then you want to use "ro" instead of "r". 
Hi Akira B the wiki is a good reference for this sort of thing, but the discussion in this link explains quite a bit, hence me referencing it <a href="https://app.roll20.net/forum/post/8735924/d-and-d-5e-character-sheet-how-to-integrate-reroll-1-s-slash-2-s-for-sword-damage" rel="nofollow">https://app.roll20.net/forum/post/8735924/d-and-d-5e-character-sheet-how-to-integrate-reroll-1-s-slash-2-s-for-sword-damage</a> Hope that helps?
HaHa! beaten to the punch by Gauss once again
I know that the command is ro but I need to know if there is a command that allows me to relaunch both 1 and 2 I tried to put 2d6ro1ro2 but nothing 2d6ro1&amp;2 but nothing I tried to put them in brackets but nothing I tried with the comma but Nothing
Try 2d6ro&lt;2
Ryan85202 said: Try 2d6ro&lt;2 it works thanks
1694713594
Gauss
Forum Champion
Akira B. said: I know that the command is ro but I need to know if there is a command that allows me to relaunch both 1 and 2 I tried to put 2d6ro1ro2 but nothing 2d6ro1&amp;2 but nothing I tried to put them in brackets but nothing I tried with the comma but Nothing &lt; is less than or equal to in Roll20. So when you put &lt;2 it does what you were trying to do.&nbsp;
1694734340

Edited 1694734359
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Hi Akira! The formula Gauss gave above will re-roll ones and twos. Adjusting for 2d6, the expression is: 2d6ro&lt;2 In the dice rolling syntax, "&lt;" means "less than or equal to". So if you roll a 1 or a 2, those dice get re-rolled, but only once.