VerifyCombatMeleeTalent

From NWN Lexicon



Contents

[edit] VerifyCombatMeleeTalent(talent, object)

Determines whether a combat talent could be used on an object.

int VerifyCombatMeleeTalent(
    talent tUse,
    object oTarget
);

[edit] Parameters

tUse

The talent to check if it could be used.

oTarget

The target of the talent.


[edit] Description

Returns TRUE if tUse can be used on oTarget, otherwise FALSE.



[edit] Remarks

This is a utility function that makes sure that certain talents are not used on Elementals, Undead or Constructs. Specifically it examines the feat sap or stunning fist aren't used on creatures that are not succeptible to those attacks.


[edit] Requirements

#include " x0_i0_match "

[edit] Version

1.29

[edit] See Also



 author: Tom Cassiotis, editors: Jody Fletcher, Mistress
 

Personal tools
Categories