
!power {{ --name|Potion of Healing --leftsub|Healing Item --rightsub|2d4+2 healing --Healing:|[[ [$heal] 2d4+2 ]] --soundfx|_audio,play,nomenu|Potion of Healing --alterbar1|_target|@{target|token_id} _bar|1 _amount|[^heal] }} !modattr --sel --repeating_resource_$0_resource_left|-1 --silent This is probably a horrendously ugly, Frankenstein's monster of a solution but this is the only way I knew to do it!! I just need to fine tune it. This Macro uses Roll20AM, Powercards, Alterbars and ChatSetAttr. It asks you to select a target, rolls healing (powercareds) and applies it to the selected token's HP (Alterbars), plays a jolly tune (Roll20AM) and then it is supposed to deduct a potion of healing from the specified resource box on tha character sheet using ChatSetAttr. When you use @{selected|token_id} it works but you can only use it on the token from which you triggered the token action. (You can only use it on yourself) When you use @{target|token_id} to select another player's token after triggering it from your own token's action it doesn't deduct the resource. I think that it loses the "selected" token id from which you triggered the token action when you introduce the "target" token into the equation so it doesn't know which character id to deduct the resource from. Does anyone know how to tweak this so that it does what I want it to do?