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

Adjusting this attack macro

 {{attack=[[ 1d20cs>@{selected|repeating_weapon_$0_crit-target}+@{selected|attk-melee}+ @{selected|repeating_weapon_$0_enhance} + @{selected|bar2}]] vs AC}} My roll isn't adding any of the @what evers  what am I missing?
1531359312
GiGs
Pro
Sheet Author
API Scripter
I suggest putting the crit target inside [[ ]], to force roll20 to evaluate that number first.   {{attack=[[ 1d20cs>[[@{selected|repeating_weapon_$0_crit-target}]]+@{selected|attk-melee}+ @{selected|repeating_weapon_$0_enhance} + @{selected|bar2}]] vs AC}} If that doesnt work, check the values of those ratings are correct, and maybe switch the order around so that the numbers are before the die:  {{attack=[[ @{selected|attk-melee}+ @{selected|repeating_weapon_$0_enhance} + @{selected|bar2} +1d20cs>[[@{selected|repeating_weapon_$0_crit-target}]]]] vs AC}}