Senior Member
Join Date: Feb 2013
Posts: 357
|
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] |
#1 |
Senior Member
Join Date: Jul 2010
Posts: 3,147
|
Quote:
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. |
|
#2 |
Senior Member
Join Date: Feb 2013
Posts: 357
|
Quote:
Incidentally, you might want to check those. They ask you to add obsolete spells. |
|
#3 |
Senior Member
Join Date: Jul 2010
Posts: 3,147
|
Quote:
Incidentally, those feats are a little different than what you're doing (I think). The bloodline feats are adding bonus known spells, so the scripting there is adding to the amount of known spells available, and then using Eval Rules to make sure the player is adding the correct spells. I think what you want is to simply add spells to an existing spell list which characters can choose to memorize/pray/etc or not. Last edited by Sendric; February 9th, 2018 at 04:40 AM. |
|
#4 |
|
|