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

[PF] Nesting Macros: Path of War

In Path of War a lot of maneuvers use a standard attack and either add effects, to hit, or damage. I was wondering if there was a way to call the macro that does a weapon attack and damage roll in, say, the spell page. As an example lets say you have the Spark Strike maneuver and are using it with a long sword. When used the maneuver does +2d4 or +3d4 damage of your attuned element. You can put the maneuver in your spell list for easy access, and you can use the ?| macro to pick between 2d4 and 3d4 damage,, but could you use a macro to call on my standard long sword macro in the attack tab and just add the Spark Strike damage macro onto it? Or perhaps you would have to re-write your attack out for each maneuver?
1473915262

Edited 1473915797
Tetsuo
Forum Champion
I would probably do something akin to &{template:pf_attack} {{character_name=@{selected|token_name}}} {{name=Spark Strike}} {{attack=[[1d20+@{attk-melee} ]]}} {{crit_confirm=[[1d20+ @{attk-melee} ]]}} {{damage=[[1d6+@{str-mod} + @{dmg-mod} ]]}} {{crit_damage=[[1d6+@{str-mod} + @{dmg-mod}]]}} {{Spark Strike= [[ [[2+?{Animus Augmentation (up to 1)|0}]]d4]] extra damage!}} Add that to the abilities section of your PF sheet (Assuming you're running the PF sheet), and set it as a token action. It'll appear in the top left of the screen when you select your token, and use your sheets melee bonus, and any misc damage bonuses. Edit: I used a generic 1d20 roll for attack and a 1d6 roll for damage. Obviously, this would need to be modified to suit your weapon. IE: 1d20cs>18 for a weapon that crits on 18.
1473943231

Edited 1473945935
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
I'm on my phone and so can't give an example macro, but assuming you are using the pathfinder sheet I'd recommend using the  ability command button syntax to put a call for each of your maneuvers into the description field of the attack. If you you want to get more macro customization out of it, you could edit the macro text, which is in an expandable field inside each attack, to add in a section for these buttons or to append them somewhere else. ADDITION: If your macro-fu is strong, you could also do this all inside the macro text for your attack using roll queries, probably some nested roll queries, and the required html replacements of problem characters to include the proper template fields in each option. Take a look at the  advanced roll query wiki entry for some more information. Also take a look at this  post about a sheet I made to more easily nest macros and queries inside of roll queries.