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 .
×

Why is this macro working properly

Hello I'm trying to use this command in a macro !token-mod --set bar1_value|-@{selected|Weapondamage} --ids @{target|token_id} And for some reason instead of taking away the value I gave to Weapon damage only from the target token it takes away from both the target and the token that used the macro, I've tried to replace weapon damage with a number instead but it just results in the same outcome. I've even tried it on other tokens only for the same outcome, if someone could help out that would be great.
1773973738

Edited 1773973787
Gauss
Forum Champion
Hi Winter :3,&nbsp; Token-Mod assumes you want to modify any selected tokens. You have to use the argument --ignore-selected to prevent that.&nbsp; source: <a href="https://wiki.roll20.net/Script:Token_Mod" rel="nofollow">https://wiki.roll20.net/Script:Token_Mod</a>