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 .
×
May your rolls be chill this holiday season!
Create a free account

Macro for Action Surge

I'm working on a macro for one of my players, where it will come up with some descriptions to describe her attack. However, as a fighter she'd potentially be able to attack twice. I could make a second macro for the action surge attack, but I'm wondering if there's a way to toggle that second macro as part of the first one. Something like, once she's made her first attack, it asks if she wants to use surge, and if so starts it up, but if not just ends the macro there. This is what I've got so far: /emas Come'Ere swings his flail ?{Which side are you attacking ?|left|right|up|down|around his head}, aiming for the @{target|token_name}'s ?{What aiming for?|left leg|right leg|left arm|right arm|head|chest|junk|arse|face} with a ?{Strength of blow?|crippling|stunning|bone-breaking|devastating|killing|powerful|swift|low} blow &{template:default} {{name=Flail}} {{Attack Roll=[[?{Attack Type|Standard, 1d20|Advantage, 2d20kh1|Disadvantage, 2d20kl1} + @{Come'Ere|strength_mod} + @{selected|pb}]]}} {{Target AC=@{target|ac}}} {{Damage= [[1d8+@{Come'Ere|strength_mod}]] bludgeoning}} /fx splatter-blood @{target|token_id} @{target|token_id} ?{Action Surge?|Yes, #ActionSurge|No}
1621498978
Ziechael
Forum Champion
Sheet Author
API Scripter
Calling macros from queries is problematic as the chat will attempt to expand it which means you need to nest the problematic characters using html... here is a pre-expanded version that works out of the box, not that pretty but does what you want ;) /emas Come'Ere swings his flail ?{Which side are you attacking ?|left|right|up|down|around his head}, aiming for the @{target|token_name}'s ?{What aiming for?|left leg|right leg|left arm|right arm|head|chest|junk|arse|face} with a ?{Strength of blow?|crippling|stunning|bone-breaking|devastating|killing|powerful|swift|low} blow &{template:default} {{name=Flail}} {{Attack Roll=[[?{Attack Type|Standard, 1d20|Advantage, 2d20kh1|Disadvantage, 2d20kl1} + @{Come'Ere|strength_mod} + @{selected|pb}]]}} {{Target AC=@{target|ac}}} {{Damage= [[1d8+@{Come'Ere|strength_mod}]] bludgeoning}} /fx splatter-blood @{target|token_id} @{target|token_id} ?{Action Surge|No,&nbsp|Yes,&{template:default} {{name=Action Surge - Flail}} {{Attack Roll=[[?{Attack Type|Standard, 1d20|Advantage, 2d20kh1|Disadvantage, 2d20kl1} + @{Come'Ere|strength_mod} + @{selected|pb}]]}} {{Target AC=@{target|ac}}} {{Damage= [[1d8+@{Come'Ere|strength_mod}]] bludgeoning}}}
That's brilliant, thanks!
1621589358
Ziechael
Forum Champion
Sheet Author
API Scripter
You're most welcome :) Happy rolling!