Checks if caller has spell
The spell to check for
Checks if the caller has the spell nSpell. (SPELL_*)
Found in nw_c8_lv123.nss on line 32
Rather than checking if the caller has the spell in the spell book (like GetHasSpell does), it checks for a local integer on the caller, then returns TRUE if it is 0, presumably meaning that the spell hasnât been cast yet. This seems strange, but from looking at nw_c8_lv123 (I was unable to find any instances of it being used), it is probably used for bards. Prior to version 1.25, GetHasSpell didnât work correctly for bards, and this function may have been intended as a workaround.
I suggest you donât use this function, and just use GetHasSpell instead. If you do use it, note that this isnât in an include file, so you canât just include it the normal way.
author: Lilac Soul, additional contributor(s): Lilac Soul