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

Macro for Second Wind or Using Healing Surges in General

I have my second status bar set up for healing surges. I just wanted to know if there was a macro anyone had written that I could copy. I'm still trying to understand macros. I'm looking for a macro that takes care of healing surges and one that utilizes Second Wind. If anyone has those, I would love to use them. Thanks.
1400128710
Lithl
Pro
Sheet Author
API Scripter
Macros cannot edit your bars, unless you have a script in the campaign which would let you do so.
I am currently using this Combat Automation script in my campaign and with that I use the following Macro to handle Second Winds. It works well enough for our purposes...automatically heals the character for their Surge Value - although it does not automatically subtract a Healing Surge from their total amount. (I haven't figured that part out yet and have been short on time recently) !ca-power @{selected|token_id} "Second Wind" "SWIND" --usage "Encounter" --action "Standard Action" --powercard "Keywords| Heal" --powercard "Range| Personal" --powercard "Target| @{target|Target|character_name}" !ca-check @{selected|token_id} "SWIND_check" "SWIND" --target @{target|token_id} !ca-action @{selected|token_id} "SWIND_heal" "SWIND_check" "SWIND" --heal [[@{Surge Value}]] !ca-action @{selected|token_id} "SWIND_text" "SWIND_check" "SWIND" --text "You gain a Second Wind and heal [SWIND_check.SWIND_heal.heal] damage." --textkey "^Heal" !ca-run @{selected|token_id} "SWIND"