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

[Help] Need to edit derived statitics boxes on Song of Ice and Fire Character Sheet

Greetings all.  Thanks in advanced to anyone who clicked on this to try and give me some help. I am about as qualified to mess with character sheets as I am qualified to work on rockets.....I really don't understand code when looking at it. So, my problem comes in with the fact that the following boxes cannot be modified directly: Combat Defense Health Intrigue Defense Composure There is an increase/decrease box next to them, but they appear to be unusable. This makes it difficult to account for benefits (or drawbacks) that modify these totals. Any feedback or tips anyone can give me on how to make those boxes usable would be greatly appreciated. I can post the code if desired, but between the HTML and CSS codes, it's about 500 lines.  I have no idea where to start, so I'd have to post the entire thing.... Thanks again to anyone who can help.
1455524783
vÍnce
Pro
Sheet Author
Hi Garrett.  Those are disabled, auto-calculated fields/attributes that derive their values from other fields/attributes on the sheet.  For example: Combat Defense value="@{agility} + @{athletics} + @{awareness} + @{defense_bonus} + @{armorPenalty}"  So, as you adjust any of those attributes, you will see Combat Defense's value change.  You may see increase/decrease "spinners" depending on your browser, but since they are auto-calculated fields, you cannot edit them directly.  Hope that makes sense.  Pardon if you wanted modify the sheet to allow manually overriding the values or something similar.   Cheers
Greetings Vince. I WAS hoping to modify them directly, but it's good to know that can't be done. I've been futzing with that code for an hour or two, so that will save me some frustration.  I'll figure out something else for it. Cheers mate!
1455529558
Finderski
Plus
Sheet Author
Compendium Curator
If you were planning on using that as a custom sheet (for your own game), you could just remove the disabled attribute, and then you'd be able to modify that field directly.
1455535450

Edited 1455536717
Coal Powered Puppet
Pro
Sheet Author
I'm the one who put the roll buttons and the auto-calc fields in ('cuz some one asked me to).  My preferred method for calculated fields is the set up the field per the book says, and then add in a sort of misc modifier near by.  The Combat Defense is an example of that. I can go in and added a misc modifier to each of the auto-calc fields if ya want. Edit: Nevermind.  Did it.  Here is the  pull request .
1455541443
Finderski
Plus
Sheet Author
Compendium Curator
Coal Powered Puppet said: Edit: Nevermind.  Did it.  Here is the  pull request . Because CPP is a BOSS!
Ha!  Seriously, you are awesome.  Thanks a ton!
Well, that worked like charm.  Thanks to all who responded. CPP, really appreciate you going out of your way and doing that.
1455583450
vÍnce
Pro
Sheet Author
G V. said: Coal Powered Puppet said: Edit: Nevermind.  Did it.  Here is the  pull request . Because CPP is a BOSS! +1