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

One select field, two values?

1407940432
Tom
Plus
Sheet Author
Is there a way to derive two different, separate values from a single Select field? I've poked around online for the answers and most involve some form of javascripting, which IIRC won't work on character sheets. Is there a workaround that can? I'm trying to add an attribute for a "stance" that modifies both the character's chance to hit and be hit. Trouble is, these modifiers are not related to each other. An Defensive stance, for instance, grants +1 to avoid being hit but –2 to the chance to hit. There really isn't a way to derive the two modifiers from a single value (or at least, not one that I can think of). So the ideal way to do it would be to have a single select field (the stance) that creates two separate values, that could in turn be accessed by different attributes in the sheet. Thanks for the help.
1407944850
Sam M.
Pro
Sheet Author
Each field can only have one value, except radio buttons but that's a special case. You'll need to do some fancy math to get what you want.
1407960624

Edited 1407960636
Tom
Plus
Sheet Author
I figured that would be the case, Sam. No worries. I always figured it was a better fit for the API anyway. Thanks.