Hello i have a small macro that: 1- calculate the recoil of the weapons of a character (and store it in an Attribut) 2- place a status token on a target (to show a debuff) So i use both selected and target in the macro, but the "selected" part is not working, it is fine if i use it alone. Is there a way to prioritize the operations? !setattr --sel --silent --mod --recoil_value|[[{[[3-ceil(1+@{selected|primary_range_weapon_recoil}+(@{selected|body}/3))]],0}kh1]]
!token-mod --set statusmarkers|broken-shield:+2 --ids @{target|token_id}