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 add to selected token Initiative and subtracting from target Initiative.

So I’m getting ready to start an exalted 3 rd ed game and the new combat mechanics have a withering attack that ups the attackers Initiative and subtracts from the targets Initiative if successful I have the macro for the roll working as intended and I can have it add to the selected tokens Initiative but not subtract from the targets Initiative. I was wondering if anyone found a way to do this? Current macro follows. /em @{selected|character_name} Preforms Withering Attack Against @{target|token_name} /roll {?{Dice}t[Exalted] + ?{Successes|0} - @{target|bar1},0d0}kh1
1467481028

Edited 1467481058
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Unfortunately, the turn tracker is token based and requires a selected token in order to update tracker values (I learned this while trying to do something else fancy with the tracker a couple weeks ago). You could have it update the attacker's initiative count by simply adding &{tracker:+} to the end of your roll expression there (assuming you had the attacker selected). In order to do both of them, I think you'd have to have access to the API so that you could pass two token id's to the tracker instead of only 1.
See that’s what I was afraid of I knew about updating the attacker’s tracker but I was hoping I was just missing something and that you could modify the targets Initiative as well. I might just have to get the api. If I do I’ll have to make a whole host of stuff for the new combat system to reduce the amount of overhead as a lot of the combat actions that you do in exalted 3 rd ed modify your Initiative values.
1467486366
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
If you do, check the repository (or check before you get it), because there may already be something made for it.
1467489859
Lithl
Pro
Sheet Author
API Scripter
Another option would be since Ex3 doesn't use a tactical map and instead only uses distance ranges, you could have all tokens selectable by everyone. It would require some responsibility from the players and would require a couple extra button clicks compared to an API solution, but it would be free.
1467526885

Edited 1467527029
You could also throw a Command Button into your macro, to make it easier for the GM to adjust an NPC's initiative. e.g. [Success](!
 Target loses [[ ?{Initiative Adjustment|1} &{tracker:-} ]] Initiative!) or [Success](!
/desc @{selected|token_name} loses [[ ?{Initiative Adjustment|1} &{tracker:-} ]] Initiative!)