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

Exploding on specific numbers

So i am playing tephra and on of the character abilities is to explode on 7's and 12's on a d12. i'm not sure how to make the macro do this
Gosh I am away from my computer for vacation right now but I once had this thought also.  Its on the far backburner to figure it out but my ideas were to try and see if the amazing Recursive tables API could pull this off by making 7 and 12 be the same recursive table over again.  Or making a bunch of identical d12 tables with 7 and 12 being their number +another roll on the table.  Again, I haven't gone into trying to see if RT would even be able to do it but I too want to see if theres a way to do this.  
1622381548
David M.
Pro
API Scripter
Note that RecursiveTable requires the GM to have a Pro account. Not sure if this applies to Kenny's game based on the user tag. I don't believe there is a satisfying solution to this without API access. Assuming Pro, RT would work with a single table - The item value for 7 would be something like [[1t[TableName] + 7]] with the same syntax for 12. This could also be done with Scriptcards and might produce more polished output plus additional logic capabilities, but with the same caveats regarding API access.