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

Setting an attribute via Sheet Template?

1511023856
Seth
Sheet Author
I'm trying to wrap my head around whether or not this is possible. I know the API ChatSetAttr can do this, but frankly, I'm already investing a metric ton of my time and effort into this and I don't feel like $10 a month eternal expense for being able to play a game is justified in regards to a single piece of script...
1511026435

Edited 1511026496
Hi, Seth . Aside from the API, Sheet Workers are also able to set Attributes on Characters. Roll Templates simply function to style Text Chat output—they cannot affect Characters. I hope this helps!
1511026873
Seth
Sheet Author
Ah, allow me to clarify: My system uses the difference between the difficulty of an attempt compared to the overall success of the attempt: e.g: Difficulty = 36 | Skill = 32 Skill + d20 = 32 + 9 = 41 Success = 41 over 36 = 5exp I know roll templates can store rolls within a single context, but I am hoping to utilize that ability to not just display the output of differential (in addition to the Overall Success) but in some way, store that differential in a preexisting attribute wherein a sheet worker checks said attribute for a value other than 0, adds or subtracts accordingly, then resets it to 0. < that last part works already, just trying to cut some of the plug this and plug that as the game has hundreds of skills that level independently of each other.