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 .
×

[Help] PowerCards + alterbar

For one of my skills I have been making with PowerCards I have been trying for a while to get something that allows me to both deal damage to a target while draining mana from who is selected !power {{  --bgcolor|#fffc9e  --name|Starting Light  --leftsub|Teir  --rightsub|1  --Damage:|[[{0,[[1 + @{Magic Enchant (Damage)} - {0,[[@{target|bar3} - @{Magic Armor Peirce (Damage)} (Damage)}]]}kh1]]}kh1]]  --Mana Cost:|[[25 + @{Magic Drain}]]  --Armor Peirce:|[[0]]  --Range:|3 Tile straight/diagonal line  --Enchant Description:|@{Magic Enchant (Description)}  --hroll|[[ [$ManaCost] 0d0 + 25 ]]  --hroll|[[ [$Damage] 0d0 + [[{0,[[1 + @{Magic Enchant (Damage)}  - {0,[[@{target|bar3} - 0]]}kh1]]}kh1]] ]]  --alterbar|_target|@{selected|token_id} _bar|2 _amount|-25 _show|all  --alterbar|_target|@{target|token_id} _bar|1 _amount|-[^Damage] _show|all }}   But whenever I run this it will always only use the second alter script so I am currently stumped on what I am doing wrong 
I think you have to put a number after "alterbar". Like this :   --alterbar1|_target|@{selected|token_id} _bar|2 _amount|-25 _show|all  --alterbar2|_target|@{target|token_id} _bar|1 _amount|-[^Damage] _show|all Try this and give me a feedback :)
I just tried it now and it worked perfectly thanks a bunch :)