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

OGL API - Trouble getting abilities to use resources

I'm experimenting with using the 5th Edition OGL by Roll20 Companion to do things like track ammo and spells as well as class abilities.  So for I haven't had any trouble getting it to count down ammo for things like arrows from a bow or darts, but im running into an issue with Class abilities that don't have an attack or save associated with them (like a druid's wild shape or a monks step of the wind). I make a new ability in the Attacks and Spellcasting square on the core page of the character sheet. If there is no attack or save selected it won't deduct a resource, but if i do have one of those checked it will. Is there a way around this or will the resource numbers just have to be ticked down manually for these kinds of abilities?
1643334321
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Manually at the moment. Class Abilities don't have the trigger currently. There are workarounds you can do with scripts, probably Critical Roll Listener combined with ChatSetAttr.
Thanks