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

[Request] Compunding, Exploding Dice with Modifiers

Hi, there. I'm currently running a game system that uses rolls with compound explosive dice, keeping of the highest results, and additive modifiers that can apply for each explode. I've figured out the syntax well enough so that I can make it work with the exception of the additive modifiers. In other words, is there a way to do compounding explosive rolls that add an integer value every time the die explodes? The documentation for this rule section is located here. <a href="https://sites.google.com/site/joeysmsfhigh/rules/skills" rel="nofollow">https://sites.google.com/site/joeysmsfhigh/rules/skills</a> A sample of something I am likely to roll would be "{4d12!!&gt;11}kh1". Here you see that I want to keep the highest result of 4 compound explosive d12's. The die will explode if the result of a die is 11 or 12. However, if a character has a particularly high stat, I would have to add a +1 or more every time that d12 is rolled in a string of explosions. I thought something like "{4(d12+1)!!&gt;11}kh1" would possibly work, but that's obviously not correct syntax (don't want to play with regular expressions right now). Another possibility could be "{4d12c1!!&gt;11c1}kh1." Perhaps if I could input a Javascript function, I could make it happen, but I am a complete newbie about this API. If anybody has any insight to share regarding this, I'd be most appreciative.
1450210865
The Aaron
Pro
API Scripter
It's definitely possible to write an api command to do this. &nbsp;The syntax would be different, but I've written very similar things several times. &nbsp;Checkout BashDice, ZombieDice, WildDice, CthulhuTechDice (and the soon to be finished SilhouetteCoreDice) for very similar things. &nbsp;You could take a stab at modding one of those into what you want, or I can help you with it. &nbsp;Your preference!