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 .
×

auto calculating value take high value

I'm trying to use a autocalcuating  field to take the largest value from a series of modifiers. The example would be you have a +2 from one source and a +3 from another, but they don't stack, only the highest takes effect. If I was working in excel I'd use max (item1, item2, item3). That is not an option that I have found, but the roll engine has the keep highest calls, so I think there is someway to do what I want, but not sure how to do it. Any suggestions? Matt
Sounds like something you could use sheet worker scripts for - compare the modifier values in the sheet worker section, then only add the highest value to the autocalculating field.
1500308775
Lithl
Pro
Sheet Author
API Scripter
See&nbsp;<a href="https://wiki.roll20.net/CSS_Wizardry#max.28x.2C_y.2C_z.2C_....29" rel="nofollow">https://wiki.roll20.net/CSS_Wizardry#max.28x.2C_y.2C_z.2C_....29</a>
Brian, Thanks for that link, it was exactly what I'm looking for, now to test it. ^_^ I can see that an update to the building character sheet page will be proposed by me, once I have time to do so. Matt