View Single Post
Eilserves
Member
 
Join Date: Apr 2015
Posts: 63

Old April 3rd, 2024, 01:04 PM
Thanks Mathias, I suspected already I had something in there incorrect, but I'm not sure what. I did update the code to clean up a little (changed reference information in the commented fields) - edited above, but it was only commented stuff. I double checked the script from Spell Blending and other than my piping in the Cleric class and changing the "not" to Dread Necromancer instead of Magus, I can't see what I've gotten wrong/different.
Code:
      ~ generate the expression saying what spells we're able to search for
      ~ we're looking for spells that are wizard spells but not magus spells and
      ~ are of a level we can cast
      field[usrCandid1].text = "component.BaseSpell & sClass.cHelpWiz & !sClass.cHelpMag & (val:sLevel.? <= " & linkage[table].field[cMaxSpLev].value & ")"

      ~ whether this is the one spell version or the two spell version is
      ~ extraneous now that we've chosen it
      field[livename].text = "Spell Blending"
Here's the base code I copied/tweaked.
Eilserves is offline   #3 Reply With Quote