ParsiusPathfinder
Member
Hi out there,
I had a problem with spellbook-using clerics being unable to pick domain spells. The below script fixed that but the spellbook button has disappeared. I think it may be becasue of the "delete[Hero.Spellbook]" part. He says the program uses three different tags. Could this be the one for the button? I need the tag that tells the program to look in the spellbook for secondary spells. I've found no easy way to look this up.
Thanks for any help.
~ If we don't have any secondary class spells allowed tags, we haven't added
~ a domain, and shouldn't need to do anything here.
doneif (tagis[ClsScAllSp.?] = 0)
~ We need to make a different set of tables show up for our secondary
~ spells. Fortunately, the tags which are used to determine whether book
~ or unrestricted tables show up, differ between primary and secondary/
~ tertiary spells, so we can change one without affecting the other.
perform delete[Hero.Spellbook]
~ The secondary spells we are allowed to take are dependant solely on the
~ domain we may have taken (they don't need to be in our spellbook), which
~ should have applied it's ClsScAllSp tags to us already. Overwrite the
~ automaticallly generated tag expression with just those tags, nothing
~ else.
field[cSplScExpr].text = tagids[ClsScAllSp.?,"|"]
I had a problem with spellbook-using clerics being unable to pick domain spells. The below script fixed that but the spellbook button has disappeared. I think it may be becasue of the "delete[Hero.Spellbook]" part. He says the program uses three different tags. Could this be the one for the button? I need the tag that tells the program to look in the spellbook for secondary spells. I've found no easy way to look this up.
Thanks for any help.
~ If we don't have any secondary class spells allowed tags, we haven't added
~ a domain, and shouldn't need to do anything here.
doneif (tagis[ClsScAllSp.?] = 0)
~ We need to make a different set of tables show up for our secondary
~ spells. Fortunately, the tags which are used to determine whether book
~ or unrestricted tables show up, differ between primary and secondary/
~ tertiary spells, so we can change one without affecting the other.
perform delete[Hero.Spellbook]
~ The secondary spells we are allowed to take are dependant solely on the
~ domain we may have taken (they don't need to be in our spellbook), which
~ should have applied it's ClsScAllSp tags to us already. Overwrite the
~ automaticallly generated tag expression with just those tags, nothing
~ else.
field[cSplScExpr].text = tagids[ClsScAllSp.?,"|"]
Last edited: