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

Checkbox modify Attributes

Hello, sorry if this question already exits, but i did not find anything with the search function. I'd a checkbox section to my custom character sheet for wounds on specific hitzones. When there is a wound specific attribute is lowered. e.g. if there is a head wound the attributes MU/KL/IN lowered by 2 and the INI attribute is lowered by2d6 This goes up to a maximum of 3 wound per hit zone so there would be 3 checkboxes for it
1420394150

Edited 1420394179
Lithl
Pro
Sheet Author
API Scripter
When you set the value attribute of a checkbox input to 1, the value of the attribute associated with that checkbox will be either 0 or 1. You can multiply that with numbers in a roll to turn parts of a roll on or off. For example: @{ini} - @{head-wound-1} * 2d6 That would give you the "ini" attribute when the "head-wound-1" checkbox is unchecked, and would give you ini - 2d6 when head-wound-1 is checked. It can make for some ugly macros, but it does work.
just works as i want it, thanks