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

How/Is it possible to subtract from hp/mana bars via macro?

1494180380

Edited 1494180416
So I have a macro that allows you to select a spell from a prompt and then it is cast, automatically displaying the standard "enemies take X damage" in chat. And now what I'd like to do is after the spell is cast, it subtracts it's mana cost from the user's mana bar. However, both @{CharName|Mana} - ManaCost and [[@{CharName|Mana} - ManaCost]] simply print out the equation and the result respectively, not altering the mana bar. Is this possible with only macros, or is the Pro API required (forcing me to subtract manually since It's unlikely I'll pay)?
Requires an API script to do so, which requires that the GM have a Pro subscription.
1494183360
Gen Kitty
Forum Champion
Requires an API script to do so, which requires that game creator have a pro subscription.
:P
Shoot well thanks guys