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

!Ammo API adding ammo up to max?

While I thought I saw this once, I cannot find it or any examples. Is there a macro way to add ammo to your total (+1 each) but only to the max?
1561757840
The Aaron
Roll20 Production Team
API Scripter
!ammo (if it's my script) for players is limited to the maximum for the attribute. It lets the GM set to past that value. 
Perfect, thank you.