nysisyn
-
Posts
2 -
Joined
-
Last visited
Content Type
Forums
Events
Downloads
Gallery
Mods
News
Store
Posts posted by nysisyn
-
-
Hello,
I'm used to ADD_SPELL function in order to add new arcane spell.
I tried to use it for adding a new divine spell for druid with following code :ADD_SPELL ~%MOD_FOLDER%/spell/rayofsickness/ny#ros1.spl~ 1 1 ~RAY_OF_SICKNESS~SPRINT current_spell_res "%DEST_RES%"SAY NAME1 @31SAY NAME2 @31SAY UNIDENTIFIED_DESC @32SAY DESC @32WRITE_ASCII 0x3a ~ny#ros1C~ //Change spell book iconLPF ALTER_SPELL_HEADER STR_VAR icon = ~ny#ros1b~ END //Change Icon & projectileIt seem to be working as the spell is added and get an SPPR ID (1
But then I don't see the spell in the druid or priest spell book.
I know the first number after spell file on ADD_SPELL represent the spell type (1 for divine, 2 for wizard). But I suppose I should do something more if I want to add the spell to druid or cleric spell list.
Could someone enlight me?I checked several existing mod that add divine spell (Like SR) and they seem to just add their spell the way I do. I don't get what make the spell available for druid or cleric.
Thanks
Adding new spell to druid or cleric
in Modding Q&A
Posted
Thanks both of you for your answers.
So if for example the spell has an exclusion flag with value :
Then only druid will access to the spell? Didn't know that. Thanks a lot.
it's now working with new character. Thanks