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

%{target} not working on tokens not controlled by player

I don't know if this is normal behavior, but unless I allow the players to control the token being targeted, macros using this formula don't work. 5+%{target|Defense} Defense being this token action: [[(@{Reaction} +@{Intuition} -@{wound} +@{Defmod} +?{Weapon Def Mod|0})d6>5]] Error message: 3vs-JMEAU4sPVbL5f2kU_cR|-JP6i3X-fPFQhUtfpIGb|Havrok |Defense
Hmmm... What happens if you move it from %{target|Defense} to @{target|Defense} (and likewise move the macro from an ability to an attribute)? I don't think we support doing targeted abilities, just targeted attributes.
Your work around does work! I can put the macro command in the attribute box, I didn't tought of that since it is so small. On the other hand, targeted abilities does work if the character can control the token it targets.