All right, awesome! That worked. I'm using the following code, so far:
Code:field[cSplBkExpr].text = "(" & field[cSplBkExpr].text & ") | (sClass.cHelpDrd | sClass.cHelpSor) & (sRange.Personal & !sRange.Touch) "
Is there a way to also limit it only to spells from the Core Rulebook, ACG, APG, ARG, Ultimate Combat, and Ultimate Magic? I tried adding:
Code:& (sSource.ACG | sSource.APG | sSource.ARG | sSource.UltCombat | sSource.UltMagic)
But that didn't seem to work, and I couldn't figure out the tag for the Core Rulebook.
Finally, prior to getting this code to work, I had gone ahead and manually added the 22 additional spells using the method I had mentioned before, and now that the druid/sorcerer personal spells have been added, the manually added spells aren't showing up anymore. Any thoughts?
Thanks so much for helping with this!
I don't think there is a way to tell which sources a particular thing comes from in a candidate expression, unfortunately.
You're probably not seeing the 22 spells because you are overwriting the spell expression of the base class so spells with a matching sClass tag no longer qualify.