I'm looking to add a crapload of new races to SCoD, and one thing that has me thinking is innate abilities.
For example, Efreet can do Scorching Ray with a caster level of 12. So, i give them a new feat that calls the scorching ray script.
Now when thet Scorching Ray script runs, i guess one of several things will happen when it calls GetCasterLevel(). It will either error and return 0, it will return the total level of the character, or it will return the caster level of the last spell cast (assuming they have cast a regular spell recently).
Unless.... you can set a feat's caster level? And if so, how?
The other alternatives i can think of:
1) Modify the Scorching Ray script to do a GetFeatID() and if this feat then fix the caster level, otherwise execute normally.
2) Copy the scorching ray script and make a new entry in spells.2da and then fix the caster level in the new script.
Thoughts?





Retour en haut






