Here's the fix to the code.
Code:
~only proceed if we're not disabled
doneif (activated = 0)
~find all the active skills that are linked to CHA
~(All social skills have this, but in case new skills are added later,
~we'll be more general in what skills we're searching for)
foreach pick in hero from SkillAct where "AttrPool.attrCha"
perform eachpick.field[DicePool].modify[+,field[grRating].value,""]
nexteach