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
This post has been closed. You can still view previous posts, but you can't post any new replies.

Question for the Aaron

1512673430
SᵃᵛᵃǤᵉ
Sheet Author
API Scripter
I am using the Aaron Sheet. I have this as a sheet worker. Is it right? // Maneuver on('change:maneuver', function (e) { updatemans(); }); function updatemans(callback){ callback = callback || noop;  // assuming noop is defined somewhere, otherwise _.noop TAS.fields('maneuver', 'activedefense', 'movement') .each(function(r){ switch(r.maneuver){ case "Aim": r.movement = "Step|None"; r.activedefense = "Any"; break; case "Atk": r.movement = "Step"; r.activedefense = "Any"; break; } }) .execute(); };
1512677947
The Aaron
Pro
API Scripter
(Handled in PM)