Ashby Blackburn
Ashby Blackburn
LOELeague of Extraordinary FoundryVTT Developers
Created by Ashby Blackburn on 3/14/2024 in #system-development
Absolutely new to all of this, need help with a silly query.
Hello! I'm extremely new to all of this, and i'm having issues trying to understand how to code a way for the system to calculate the health of my character sheets. I've created in template.json an Actor and modified the "base" template to include the attribute "Health" which is composed of: "health": { "value": 10, "min": 0, "max": "@attributes.maxHealth" }, and that leads down to "character": { "templates": ["base"], "attributes": { "level": { "value": 1 }, "maxHealth":{ "formula":"72 + (@abilities.for.value * 8)", "min": 0 } }, The thing is, i have an ability called "for", short for Fortitude. And when i create an Actor in my test environment, it spits out the literal "72 + (abilities.for.value * 8" as a Text. How would i go on to actually make it do the math? Thank you beforehand for taking the time to read this!
10 replies