MatchSpellProtections

From NWN Lexicon



Contents

[edit] MatchSpellProtections(talent)

Returns if the talent is a protective spell.

int MatchSpellProtections(
    talent tUse
);

[edit] Parameters

tUse

Talent to check.


[edit] Description

Returns TRUE if the talent fed to the function is one of 11 protective spells (Ethereal Visage, Ghostly Visage, Globe of Invulnerability, Greater Spell Mantle, Lesser Spell Mantle, Minor Globe of Invulnerability, Negative Energy Protection, Protection from Spells, Shadow Shield, Spell Mantle, and Spell Resistance). Otherwise, it returns FALSE.



[edit] Remarks

Found in x0_i0_match.nss line 186.

In the core AI function GetMatchCompatibility should return true or false.


[edit] Requirements

#include " x0_i0_match "

[edit] Version

1.28

[edit] See Also

functions: 

GetMatchCompatibility



 author: Lilac Soul, editor: Mistress, additional contributor: Lilac Soul
 

Personal tools
Categories