x0_i0_match

Library for 'matching' functions. These functions check to see whether a given value matches one of a long set of constants, so they're simple but big and ugly.

Constants

NameValueBrief Description
NW_TALENT_ENHANCE2
NW_TALENT_PROTECT1

Functions

NameBrief Description
GetHasEffectDetermines whether a creature has an effect.
GetMatchCompatibilityCheck if creature is able use a talent from a selected class in the requested method.
GetRemovalSpellInternal function. Returns a potential removal spell that might be useful in this situation.
MatchAreaOfEffectSpellIf the passed in spell is an area of effect spell of any kind.
MatchCombatProtectionsReturns if the talent is a protective combat spell.
MatchCrossbowReturns TRUE if the item is a crossbow.
MatchDoIHaveAMindAffectingSpellOnMeDo I have any effect on me that came from a mind affecting spell?
MatchDoubleHandedWeaponReturns TRUE if the item is a double-handed weapon.
MatchElementalProtectionsReturns TRUE if the talent is a protective spell.
MatchInflictTouchAttackReturns TRUE if this spell is one of the Reverse Healing touch attacks.
MatchMeleeWeaponReturns TRUE if the item is a melee weapon.
MatchMindAffectingSpellsIs this a mind affecting spell?
MatchNonlivingReturns TRUE if the creature is an elemental, undead, or golem.
MatchNormalBowReturns TRUE if the item is a longbow or shortbow.
MatchPersonSpellsIs this a charm type spell?
MatchShieldReturns TRUE if the item is a shield.
MatchSingleHandedWeaponIs this item a single-handed weapon?
MatchSpellProtectionsReturns if the talent is a protective spell.
VerifyCombatMeleeTalentDetermines whether a combat talent could be used on an object.
VerifyDisarmDetermines whether a creature could possibly be disarmed.


  author: Mistress, contributor: Graewerld