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

Mass cure wounds macro and alterbar

Can someone help me ? i'm trying to set a macro that let me choose number of token, roll dices and alter hp bar. All this in only one macro.  I try with this options:  !power {{ --target_list|@{target|t1|token_id} | @{target|t2|token_id} | @{target|t3|token_id} | @{target|t4|token_id} --Mass cure wounds|[[ [$R] ?{Level|5, 3d8+4|6, 4d8+4|7, 5d8+4}]] --alterbar1| _target|@{target|t1|token_id} _bar|1 _amount|[^R] --alterbar1| _target|@{target|t2|token_id} _bar|1 _amount|[^R] --alterbar1| _target|@{target|t3|token_id} _bar|1 _amount|[^R] --alterbar1| _target|@{target|t4|token_id} _bar|1 _amount|[^R] }} In this way the macro doesn't work because it heals only the last target and not all target.  Can Someone help me ?
Powercards requires unique tag names for each line, I think that's why only the last line is being run. Try incresing the numeral for your --alterbar commands like below --alterbar1| _target|@{target|t1|token_id} _bar|1 _amount|[^R] --alterbar2| _target|@{target|t2|token_id} _bar|1 _amount|[^R] --alterbar3| _target|@{target|t3|token_id} _bar|1 _amount|[^R] --alterbar4| _target|@{target|t4|token_id} _bar|1 _amount|[^R]
James S. said: Powercards requires unique tag names for each line, I think that's why only the last line is being run. Try incresing the numeral for your --alterbar commands like below --alterbar1| _target|@{target|t1|token_id} _bar|1 _amount|[^R] --alterbar2| _target|@{target|t2|token_id} _bar|1 _amount|[^R] --alterbar3| _target|@{target|t3|token_id} _bar|1 _amount|[^R] --alterbar4| _target|@{target|t4|token_id} _bar|1 _amount|[^R] Bro, you're a genius. Now it works !!!  Thanks for your help