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

Pulling stats with a cap

One of my players just purchased a mighty shortbow +5 strength.  Her current strength mod is +4, but it's very easy (and highly likely) for her strength to increase and likely to beyond the cap of extra damage that this bow allows.  The current formula for her damage roll is 1d6+@{Str mod}, but I'd like to be able to simply add a cap to this so I don't have to adjust the formula when her strength increases and the Str mod just caps at 5 for the macro.  How would this be accomplished?  Thanks in advance!
1600003363
Oosh
Sheet Author
API Scripter
This should do the trick: 1d6 + {@{strmod},5}kl1
1600003517
GiGs
Pro
Sheet Author
API Scripter
you can use the drop highest modifier:  1d6+{@{Str mod},5}dh1
Thank you both!  Works great!