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

Attack Macro - One dropdown choice affecting mutiple parts of a macro

1588722169

Edited 1588722493
Hi guys, we are playing pathfinder and we have a druid in our party with a bear.  When he clicks one of his attacks in the character sheet it automatically adds extra attacks to his natural attacks which can end up leading to a lot of confusion as we add up his attacks during full-round attacks where he gets a Bite, Claw, and Claw.  There ends up being many attacks rolled with altered attack modifiers that just need to be ignored.  I've started building a macro to fix this problem and streamline it as much as possible for him, but I am admittedly new to building macros in roll20, this being the first one I have built.  So far I have come up with this. &{template:default} {{name= Bear Macro Test}} {{Bite= [[1d20+@{Scar|BAB}@{Scar|strength_mod}[STR-MOD]?{Is the bard singing?|Yes,+3,|No,+0,}[INSPIRE COURAGE]?{Magic Fang|No,+0,|Lesser,+1,|Greater,+3,}[MAGIC FANG]?{What is your size?|Large,-1|Huge,-2}[SIZE-MOD]]]}} {{damage= [[1d6]]}}   I plan on adding in the crit calculations in case of a natural 20 but I have yet to learn that part, also I plan on adding the two claw attacks to this macro once I have finished the first attack.  In the "to hit" section, I have added drop-down menus for some modifiers such as Inspire Courage, Size Modifier, and Magic Fang.  As for the question itself, is there any way in the "damage" section or in the following attacks (claw, claw) that I can have it query back to those choices made?  For example to further clarify what I am asking.  If the choice was made in the initial "to hit" section drop-downs that "Yes" the bard is singing, could I have the macro add +3 to damage in the the "damage" section of that roll as well as +3 to "to hit" and "damage" in the following attacks, without prompting the same drop-down menus to appear 8 additional times in total between them? Thanks in advance for any help you can provide.
Okay, so thanks to a post by "The Aaron" in another thread ( <a href="https://app.roll20.net/forum/post/4247868/macro-input-field/?pageforid=4247947#post-4247947" rel="nofollow">https://app.roll20.net/forum/post/4247868/macro-input-field/?pageforid=4247947#post-4247947</a> ) I found a way to reuse that previously rolled value in another place in the default template.&nbsp; I have since moved on to using the pathfinder sheet default roll template and it has changed allot.&nbsp; So I hope this helps anyone who finds themself with a similar problem.