Looking at Toughness is a good call, but I'm still not able to get it to work. The feat references container.child[Wounds].field[wndFeat].value, which didn't sound like what I wanted to adjust. I checked the timing report for a creature with Wounds and Vigor enabled, and found the field wndTotal. For now, I'm just trying to create a Wounds adjustment, so I copied the HP adjustment and altered as I thought needed, like so:
Code:
~ If we're not enabled, get out now
doneif (field[pIsOn].value = 0)
if (hero.tagis[source.UCWound] <> 0) then
~ Add to our Wounds
herofield[wndTotal].value += field[pAdjust].value
endif
Compiling this works fine, but when I enable the adjustment, I get:
Attempt to access field 'wndTotal' that does not exist for thing 'Totals'
repeated twice. I'm stumped again, unfortunately.