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

Modifying attributes using abilities

Is there a way to use abilities to modify the value of an attribute I tried this: @{Hit Points}=@{Hit Points}-?{Damage|0} didn't work so I'm guessing not but I figure it's worth an ask in case I'm wrong and the process is a more involved. Though I'm starting to get the feeling I'd need the API to do it.
1384144535
Gauss
Forum Champion
No, you cannot currently modifiy attributes using an Ability or a Macro. - Gauss
Can I do it with the API?
1384145697
Gauss
Forum Champion
I would ask the API forum. :) - Gauss
1384220702
Lithl
Pro
Sheet Author
API Scripter
Yes, this is doable with the API. See this thread created today. Once you have an appropriate script in your campaign, you can create an ability or macro to call that API command. Note: The API is only available to campaigns owned by a mentor subscriber.