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

Autocalc attribute - how to display integer total in chat/input value prompt?

1617699841

Edited 1617700866
I have an autocalc attribute that is the sum of a few checkboxes: <input type="number" name="attr_harmPenalty" value="(@{harm2a_check} + @{harm2b_check} + @{harm3_check})" disabled> <input type="checkbox" name="attr_harm2a_check" value="-1" > <input type="checkbox" name="attr_harm2b_check" value="-1" > <input type="checkbox" name="attr_harm3_check" value="-2" > I want an Input Value query to display: Input Value: Base dice 6 + ( -4 ): +/- any other mods? But always get: Input Value: Base dice 6 + (-1 + -1 + -2): +/- any other mods? Neither of these Input queries seem to work (note this is used in a PowerCard) --name|@{selected|name} ^^ Rolls KNOW (@{selected|know})+@{selected|harmPenalty} +  ?{Base dice @{selected|know} + @{selected|harmPenalty}: +/- any other mods?|0} --name|@{selected|name} ^^ Rolls KNOW (@{selected|know})+@{selected|harmPenalty} +  ?{Base dice @{selected|know} + [[ @{selected|harmPenalty} ]]: +/- any other mods?|0}  Any advice?
Figured out how to do with a sheet worker -- THREAD CLOSED ----