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 @31
SAY NAME2 @31
SAY UNIDENTIFIED_DESC @32
SAY DESC @32
WRITE_ASCII 0x3a ~ny#ros1C~ //Change spell book icon
LPF ALTER_SPELL_HEADER STR_VAR icon = ~ny#ros1b~ END //Change Icon & projectile
It 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