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

Trying to fix my macro: Single Token Action for Two Weapon Fighting (without TWF feature) [D&D 5.0]

Have a PC who wants to fight with two weapons, but doesn't have TWF feature.  Instead of making two Token Actions per weapon, I'd like to have a query for each weapon attack to ask if it's a Primary attack or Secondary attack since their secondary attack would not add the ability mod to the damage. So far, I've tried to add ?{Attack type|Primary,@{Velvet Bite|dexterity_mod}|Secondary,0} to the +__ of damage within the character sheet weapon's settings.  I'm afraid it might not be reading correctly.  Is there a way I can alter this to make it work?
1658148926

Edited 1658149008
Ziechael
Forum Champion
Sheet Author
API Scripter
If you put the following into the description field of an attack you should get the desired result: }} {{dmg1=[[1d4 + ?{Attack type|Primary,@{Velvet Bite|dexterity_mod}|Secondary,0}[DEX]]] note: it works best with auto damage as it will ask when an attack is run AND when damage is rolled otherwise
Thanks!  I ended up editing the Token Action macro itself and got it to work, but I much prefer having it on the character sheet as well.