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

How do I cap a derived number?

I'm playing 3.5, Spells like fireball are supposed to cap at 10d6. the formula is simple {{the fireball explodes dealing [[@{casterlevel2}d6]] fire damage. how do I set it to deal only up to 10d6?
1601755596
GiGs
Pro
Sheet Author
API Scripter
Try [[ [[{@{casterlevel2},10}kl1]]d6]] The {number,number}kl1 syntax means you keep the lowest of the numbers. And putting it in another inline roll is so that it works with the d6 roll.
Thanks, Now I can finally build nearly perfect spell macros