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

Limiting exploding dice

I'm trying to write a macro that has exploding d6's but limiting dice that explode to only my initial dice pool. In other words, I don't want to have continually, exploding dice, leading to a possible infinite number of hits if my exploded dice keep exploding. 

I've looked everywhere for a Macro for this, but to no avail. Here is my current macro, which unfortunately DOES have possibly infinite exploding dice:

[[{(@{Dexterity} - ?{Modifier Total|0})d6!}>5 + {@{Firearms}d6!}>5 +{2d6!}>5]]

Can anyone help me with this? Does the Roll20 system even allow for this?
January 30 (8 years ago)
Pat S.
Forum Champion
Sheet Author
Try using the keep lower in your macro with the dice pool maximum in your macro setup.
Thanks. The kl commands gets me part of the way there. It doesn't completely stop an exploding dice from continuing to explode, but it does help me put an upper limit on how far that can go.