
Ok, I've been working with a custom character sheet for a while, trying to automate as much as I can, and I think I need to use the API to achieve this. When I try to have the HTML try to calculate the stat values on their own, it doesn't work when I try to then use the value in a comparison because it only sees the calculation, and not the result. What I'd like to have happen, is for the character's Calculated stats to be updated whenever one of the base values changes. value:round(@{base_str}*@{str_mod}+@{accessory_str}) This is the calculation I'm using to get @{str} (on the character sheet HTML), which will then be used for macros or other scripts. If I can get the calculated values out of the way, so that only the values are on the character sheet, I shouldn't have any issue with rolls or abilities in the future. I know I can use on('change:attribute' but I only have a basic understanding of java, and I don't know how to reference a specific character or that character's attributes. Any help is appreciated.