ShadowChemosh
Well-known member
Moving this discussion out of the Community Pack thread.

If we look at the scripts on Thingid.cPUAltDef2 we see:
I don't see the field BonComp being referenced at all. I only see "abValue" being referenced in the above fields.
Change your script to run at Post-Level/10000:
This gives a Competence Bonus to the field BonComp which only exists on a Class Ability because all Weapon Fields where added to them. So you are trying to affect the "Weapon" stats for a Class Ability with the above script.Code:~ add competence bonus to Altered Defense ability equaul to tier field[abValue].value += #tiereffect[] #competencebonus[hero.child[cPUAltDef2], field[abValue].value]

If we look at the scripts on Thingid.cPUAltDef2 we see:
Code:
<eval phase="PostAttr" priority="11000"><![CDATA[
~NOTE:
~ abValue is bonus
~ If we're not shown, just get out now
doneif (tagis[Helper.ShowSpec] <> 1)
~ if we've been disabled, get out now
doneif (tagis[Helper.SpcDisable] <> 0)
field[abValue].value += #value[cPUAltDef]
field[livename].text = field[thingname].text & " " & signed(field[abValue].value)
field[abSumm].text = "The cryptic gains a " & signed(field[abValue].value) & " dodge bonus to her AC."
~ If we're not active, just get out now!
doneif (field[abilActive].value = 0)
perform hero.assign[Cryptic.AltDefAct]
hero.child[ArmorClass].field[tACDodge].value += field[abValue].value]]></eval>
Change your script to run at Post-Level/10000:
Code:
~ add competence bonus to Altered Defense ability equaul to tier
field[abValue].value += #tiereffect[]
hero.child[cPUAltDef2].field[abValue].value += field[abValue].value]