GetSpell, SpellID Where: SpellID = The spell you wish to check for. Type: Magic Returns: short Example: if ( GetSpell, shield == 1 ) set sValue to ( "dorisa darvel"->GetSpell "Swamp Fever" ) Scripts: dinScript letteScript
Returns 1 if the calling object has the spell in their inventory, or 0 otherwise. This may work in a similar manner to AddSpell and RemoveSpell where if the spell is a normal one, it merely checks if the calling actor knows it. If the spell is a disease or curse, however, it may check if the calling actor is under the spell's effect.