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

Quirk with TokenMod

I'm working on a macro to set a token's aura radius in increments of 0.5: !token-mod {{ --set ?{Radius |-1, aura1_radius#=-1 |-0.5, aura1_radius#=-.5 |0, aura1_radius#=0 |0.5, aura1_radius#=.5 |1, aura1_radius#=1 |1.5, aura1_radius#=1.5 |2, aura1_radius#=2} }} This works for everything except -.5, which has no effect. I also tried -0.5. Is there a way to get a negative decimal to work?
1630605978
The Aaron
Roll20 Production Team
API Scripter
Hmm. That's peculiar!  I'll take a look tonight. 
Thanks man! See, this is why you're not merely AN Aaron.
1630642445
The Aaron
Roll20 Production Team
API Scripter
I'm definitely seeing that behavior. I'll try and rack down the cause. 
Try putting a 0.5 in it.