I've finally gotten around to working on Demonic Boons for MToF.
Each boon grants the following ability:
Ability Score Adjustment: Up to a +4 bonus to Strength, Wisdom, or both.
I've decided to try adding 2 separate Ability Score Adjustments which feed from a common field[abValue].value on the Epic Boon itself. However, I have never used findchild before.
The script I am trying to use is as follows:
Everything seems to compile fine until I get 'Invalid tag expression specified for 'findchild''
Anyone have an idea where I am going wrong? ShadowChemosh?
Each boon grants the following ability:
Ability Score Adjustment: Up to a +4 bonus to Strength, Wisdom, or both.
I've decided to try adding 2 separate Ability Score Adjustments which feed from a common field[abValue].value on the Epic Boon itself. However, I have never used findchild before.
The script I am trying to use is as follows:
~ If we're disabled, do nothing &
doneif (tagis[Helper.Disable] = 1)
var sExpr as string
sExpr = "thingid.bn5CMToFDB" & field[abText].text
var iStatMax as number
iStatMax = hero.findchild[BaseBoon, sExpr].field[abValue].value
if (iStatMax > 0) then
hero.child[aSTR].field[aStartMod].value += field[actUser].value
hero.findchild[BaseBoon, sExpr].field[abValue].value -= field[actUser].value
endif
Everything seems to compile fine until I get 'Invalid tag expression specified for 'findchild''
Anyone have an idea where I am going wrong? ShadowChemosh?
