MatchCombatProtections

From NWN Lexicon



Contents

[edit] MatchCombatProtections(talent)

Returns if the talent is a protective combat spell.

int MatchCombatProtections(
    talent tUse
);

[edit] Parameters

tUse

Talent to check.


[edit] Description

Returns TRUE if the talent fed to the function is one of 7 protective combat spells (Death Armor, Elemental Shield, Epic Warding, Ethereal Visage, Ghostly Visage, Greater Stoneskin, Mestil's Acid Sheath, Premonition, Shadow Shield, and Stoneskin). Otherwise, it returns FALSE.



[edit] Remarks

Found in x0_i0_match.nss line 164.

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: Michael Nork, editors: Lilac Soul, Mistress, additional contributor: Lilac Soul
 

Personal tools
Categories