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

How to remove dice that roll 1s and replace them with two new dice

1523833307

Edited 1523833424
claytonian
KS Backer
Translator
Sorry, title has a typo in it. Should say "How to remove dice that roll 1s and replace them with two new dice" So we want to play EndBreaker. In it, you roll 2d6, but if any ones are rolled, you remove the die that shows a one, replace it with two dice, and roll them too. This process repeates until no ones are rolled. Is this possible to automate in roll20? BTW, I don't want the dice summed/totaled either, if possible. We want to see which dice rolled what numbers.&nbsp; The game rules, in case this is confusing you: <a href="https://docs.google.com/document/d/11J-cQa3_pvZYj5" rel="nofollow">https://docs.google.com/document/d/11J-cQa3_pvZYj5</a>...
1523854520
Pat S.
Forum Champion
Sheet Author
Fixed your post title.
1523867162
GiGs
Pro
Sheet Author
API Scripter
Do being a KS Backer give you access to Pro features? You can do what you want with an API script, but you cant do it any other way. There was a recent post with someone using a similar mechanic, only when the die showed a 6, it was replaced with two dice.
As pointed out without api you can't automate it but you can set up a macro to roll [[d6]]|[[d6]] which will give the results of 2 seperate d6s, then you just use the macro again to roll another pair to replace 1s (which as a min result will conveniantly highlight in red)
Kirv Goldblade said: As pointed out without api you can't automate it but you can set up a macro to roll [[d6]]|[[d6]] which will give the results of 2 seperate d6s, then you just use the macro again to roll another pair to replace 1s (which as a min result will conveniantly highlight in red) This is a good idea Claytonian, and should inherently cover ~69% of your rolls. Ran a test with 1,000,000 rolls of 2d6 and then had 1s reolled as 2d6 up to three times. Presuming the results were tracked correctly, (and my recollection of the results is accurate) 6d6 should cover 95% of your rolls. So you could expand on Kirv Goldblade's idea but do it three times in a single macro; looking at additional results as needed. e.g. Initial Roll: [[d6]] [[d6]] Follow Up:&nbsp;[[d6]] [[d6]] [[d6]] [[d6]] Would output 2, 3, 6 in the below screen. (A default template could be used to clean up the output some if desired.)
1524483660
claytonian
KS Backer
Translator
Thanks, all!