
I had some code that was working, then I made a change that I would not have thought would break it, and am trying to figure out what exactly I did wrong.
In a new Earthdawn sheet I am trying to figure out hit-points. Discipline is a repeating class with name, circle, and durability all as input fields. As a first approximation that will work for single classed characters, I had HP = to toughness times 2, plus circle of the first discipline times durability of first discipline.
<lable><input name="attr_Damage_max" type="number" disabled
value="(@{Damage-Unconscious-Mods}+(@{Attrib-Tou-Curr}*2)+(@{repeating_discipline_0_Circle}*@{repeating_discipline_0_Durability}))" title="@{Damage_max}: Unconscious Rating."></span>
That worked fine. Then I realized I could make Durability a calculated field. Unfortunately, the above stopped working when @{repeating_discipline_0_Durability} became disabled with a formula. At first I thought it was because it had stored a value for that variable in the journal entry I was using, so I changed the name, but that did not help.
In reading threads here, I see where some people say it will not work, while others insist that it does.
Can anybody give me an authoritative answer in if/how I can do this?
Thanks
In a new Earthdawn sheet I am trying to figure out hit-points. Discipline is a repeating class with name, circle, and durability all as input fields. As a first approximation that will work for single classed characters, I had HP = to toughness times 2, plus circle of the first discipline times durability of first discipline.
<lable><input name="attr_Damage_max" type="number" disabled
value="(@{Damage-Unconscious-Mods}+(@{Attrib-Tou-Curr}*2)+(@{repeating_discipline_0_Circle}*@{repeating_discipline_0_Durability}))" title="@{Damage_max}: Unconscious Rating."></span>
That worked fine. Then I realized I could make Durability a calculated field. Unfortunately, the above stopped working when @{repeating_discipline_0_Durability} became disabled with a formula. At first I thought it was because it had stored a value for that variable in the journal entry I was using, so I changed the name, but that did not help.
In reading threads here, I see where some people say it will not work, while others insist that it does.
Can anybody give me an authoritative answer in if/how I can do this?
Thanks