Quote:
Originally Posted by Illyahr
Working on a feat that adds spells to the druid spell list when taken without having to make new spells just for it. I think I can do it with scripting but need help.
Code:
perform ?[spProEvil].assign[sClass.Druid]
Can't figure out the first part. Tried "thingid" but got an error message. Any ideas?
|
Unfortunately, this method won't work. You can't use eval scripts to add tags to things that aren't on your character already.
There are two ways I can think of off the top of my head to handle this. You can create a new sClass tag which gets assigned to the class using a script. Then you use the Extend Thing tab in the editor to add those tags to the existing spells.
The other option is to use a script to edit the Class's field for which spells it can use by adding the specific spells. There are examples of this which I can point you to later when I have more time.