Saves in 5E are usually 8 + Proficiency bonus + the appropriate abilty score modifier (Charisma in the case).
Since you are setting the DC not modifying, ShadowChemosh's script should be:
Quote:
field[abDC].value = 8 + hero.child[ProfBonus].field[tProfBonus].value + #attrmod[aCHA]
|
or
Quote:
field[abDC].value = 8 + #profbonus[] + #attrmod[aCHA]
|