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

Ability Use Per Day Macro Questions

Cheers and good meet, A player in my Pathfinder game wants to add a macro string to his ability to note the times per day usage, I personally am not sure that exists but I wanted to check with those who are more knowing in such matters.  Here is the ability and he proposed adding the following string When you activate this school power as a standard action, you select a foe within 30 feet. That creature takes a penalty to its AC and on saving throws equal to 1/2 your caster level (minimum –1) for 1 round. You can use this ability a number of times per day equal to 3 + your Intelligence bonus. 3 + @ {intelligence _mod } In his case, he can use this ability 8 times per day. I hope this makes sense :D Thank you for the aid 
1706225002
Gauss
Forum Champion
Hi Colormage,  Not entirely sure what you are asking for.  Are you asking for it to total 3+intelligence mod? If so: [[3+@{intelligence_mod}]] will sum it when it is sent to chat.  Are you asking for it to auto-deduct the number of uses? 
Yes, auto-deduct the number of uses.  
1706246528

Edited 1706246576
Gauss
Forum Champion
The only way to auto-deduct uses is via a Mod (API Script). ChatSetAttr should be able to do it. 
Great, I will install it :D   Thanks for the help Gauss
1706280483
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
ChatSetAttr can modify the number of uses on the sheet, but to auto detect the ability when being sent to chat would require a script like Customizable Roll Listener .
keithcurtis said: ChatSetAttr can modify the number of uses on the sheet, but to auto detect the ability when being sent to chat would require a script like Customizable Roll Listener . Thank you Keith, that is exactly what I am looking for. 
1706293286
Gauss
Forum Champion
And here I've just been putting a ChatSetAttr command into the macro. :D
1706293710
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Ah, that will work. I sometimes tend to over-automate.