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

CharSetAttr does {selected|token_id} not work?

For all the reasons I cannot use the !ammo any longer, I was hoping to use this. I set up a test that should subtract 1 from my selected token's r0_ammo attribute on making a ranged attack.  The macro works, minute this new addition. !modattr --silent --charid @{selected|token_id} --@{selected|r0_ammo}|-1 instead it tells me: Errors Invalid character id -Lis12pLUsT_Pxvge0CD. No target characters. You need to supply one of --all, --allgm, --sel, --allplayers, --charid, or --name.
So while obvious, it seems to only accept character_id for the -charid field, not token_id. 
Just use --sel instead of --charid then you don't need the @{selected|attribute} just --attribute|-1