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's Maximum value

I'm confused as to how to set an attribute's maximum value.  The pathfinder character sheet automatically sets a character's maximum HP through a calculation then has a different value for "current HP" that can be changed manually. How do I get my character sheet to automatically set a maximum value for an attribute?
I'd really like some help with this.  I'm stuck on this part of making a character sheet.  I'd really appreciate the help.
1512958060
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
If you mean doing it in the html/sheetworkers, the html code for a maximum attribute is this (using hp as an example attribute): <input type='number' name='attr_hp_max' value='0'> You can then treat it just like any other attribute in sheetworkers.
Scott C. said: If you mean doing it in the html/sheetworkers, the html code for a maximum attribute is this (using hp as an example attribute): <input type='number' name='attr_hp_max' value='0'> You can then treat it just like any other attribute in sheetworkers. Are you kidding me?! one character and it's fixed >.< I had it set as name="attr_hp|max" thanks, man.
1512958913
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
glad to help, good luck