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

Exploding dice and rerolling.

December 17 (7 years ago)
I am in charge of a game which uses an exploding dice system which does not seem to be supported on roll20 by default. Maybe I'm just stupid, but I just want to see if you guys can help me figure out if I have just missed something.

In our game we are using d6's and upon rolling a 6 we first explode it and then reroll all 6's.

Example:
Rolling 1, 3 and 6. I would then remove the 6 and instead roll two new dice. If any of the new dice ends up being a 6 we would do the same again.
e.g. 1, 3 ,6 -> 1, 3, 5, 6 -> 1, 3, 5, 2, 1 -> done.

Is there any way to make this work using the regular rolls? I came close with /r (3d6r6)! which explodes the sixes and then drops 'em but I would like to reroll them instead.
If not I have made a quick and sloppy api script for this but since I'm so shitty at css it doesn't look very good in-game. Is there any way to make a custom roll appear like the ingame ones? 

December 17 (7 years ago)
The Aaron
Pro
API Scripter
I don’t think I this is possible with the dice syntax, API script is where I’d go too. 

When you say “appear like the in-game ones” are you talking about the /r output or the inline roll output?  Either way, the answer is “pretty close”.
December 17 (7 years ago)
I was mainly thinking of the /r output or something similar at least, where I can see how many "6's" that were dropped and so on. 
December 17 (7 years ago)
The Aaron
Pro
API Scripter
It’s probably easier to just have an output that shows those things, rather than duplicate what’s output. I think I have a few scripts that are close, I’ll take a look in a bit...