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 here.
×
×
Cookie Preferences
We use Cookies to help personalize and improve Roll20. For more information on our use of non-essential Cookies, visit our Privacy Policy here.
need help with a macro that adds the dice rolled and re-rolls any if they are the same number, adding to the total, until no more matching die are rolled. Example: rolling 4d6 results 2,3,3,6=14 + [re-rolling the 3's] 2,4= 20.
here you go: /r 4d6!=3 Link to the guide on this: <a href="https://wiki.roll20.net/Dice_Reference#Exploding_Dice" rel="nofollow">https://wiki.roll20.net/Dice_Reference#Exploding_Dice</a>
that does not do what i need. it only re-rolls a 3. i need to re-roll all die that are the same, and continue to re-roll until they are not the same. rolling 6d10 results 3,5,4,2,5,5 = 24 + re-rolling the matching 5's ( 2,2,4) = 32 + re-rolling the matching 2's ( 2,3) = 37 total. I mainly need to re-roll 2d6 if it's a pair , DARO = Doubles Add & Roll Over.
API is the Application Programming Interface. The campaign owner would need to be a Mentor to make use of an API script but does not need to know how to program. There are plenty of people who will happily write a script for you. Just post a request in the API forum. <a href="https://wiki.roll20.net/API:Introduction" rel="nofollow">https://wiki.roll20.net/API:Introduction</a>
You could have a macro something like this: /r ?{Number of Dice|1}d6sd+?{Previous Roll Total|0} That would simulate at least what would happen if you were at a table using real dice. You'd have to run the macro multiple times if you get matching rolls,but it could keep things a little easier maybe? Here's an example of the output: