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 .
×

Question regarding the exploding dice code

Hello everyone! I have used roll20 for some time and I have come to love it. Now I am going to try using a different kind of system, and it is a system that relies on exploding dice. However, it does not function like, say, Vampire where if you roll a 10, you keep the ten a roll a new dice. Rather, if you a roll a 6 (it is a d6 based system), you remove your six but roll two new dices, replacing the old one and getting a new one. These can then explode again if you roll any more sixes, and so it goes. Since you roll with decently big dice pools, (4-7d6) you're bound to do this a lot, but I am unable to find any code allowing me to do this. All I can do is simply get to roll an additional dice, and keep my 6. This would possibly break the system though. Anyone know if the code I seek is possible in roll20? Thank you for any help!
1491592135
Finderski
Pro
Sheet Author
Compendium Curator
As far as I can tell, this would require an API script (a Pro subscriber level perk).
Finderski said: As far as I can tell, this would require an API script (a Pro subscriber level perk). Thank you for the quick reply!
1491603794
Pat S.
Forum Champion
Sheet Author
You might want to think about using the  sorting dice code so if you are doing it manually, you can spot your sixes easier.