I am trying to have an eval script for a trait that chooses two skills and changes their ability checks to use Wisdom. I am not sure how this should look. The selection box debug shows them to be ChooseSrc1.hero and ChooseSrc2.hero. I am not sure how to have the script go through two selections and add wisdom as the parent attribute. Any help would be great. Here is the script I have borrowed and modified so far.
~ If we're disabled, do nothing
doneif (tagis[Helper.FtDisable] <> 0)
call fTargetFoc
doneif (state.isfocus = 0)
For ChooseSrc1.hero perform focus.assign[SkillOver.aWIS]
perform focus.assign[Helper.ClassSkill]
For ChooseSrc2.hero perform focus.assign[SkillOver.aWIS]
perform focus.assign[Helper.ClassSkill]
field[abSumm].text = focus.field[name].text & " becomes a Wisdom-based, class skill."
~ If we're disabled, do nothing
doneif (tagis[Helper.FtDisable] <> 0)
call fTargetFoc
doneif (state.isfocus = 0)
For ChooseSrc1.hero perform focus.assign[SkillOver.aWIS]
perform focus.assign[Helper.ClassSkill]
For ChooseSrc2.hero perform focus.assign[SkillOver.aWIS]
perform focus.assign[Helper.ClassSkill]
field[abSumm].text = focus.field[name].text & " becomes a Wisdom-based, class skill."