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
| Name | Value | Brief Description |
NW_TALENT_ENHANCE | 2 | |
NW_TALENT_PROTECT | 1 | |
Functions
| Name | Brief Description |
| GetHasEffect | Determines whether a creature has an effect. |
| GetMatchCompatibility | Check if creature is able use a talent from a selected class in the requested method. |
| GetRemovalSpell | Internal function. Returns a potential removal spell that might be useful in this situation. |
| MatchAreaOfEffectSpell | If the passed in spell is an area of effect spell of any kind. |
| MatchCombatProtections | Returns if the talent is a protective combat spell. |
| MatchCrossbow | Returns TRUE if the item is a crossbow. |
| MatchDoIHaveAMindAffectingSpellOnMe | Do I have any effect on me that came from a mind affecting spell? |
| MatchDoubleHandedWeapon | Returns TRUE if the item is a double-handed weapon. |
| MatchElementalProtections | Returns TRUE if the talent is a protective spell. |
| MatchInflictTouchAttack | Returns TRUE if this spell is one of the Reverse Healing touch attacks. |
| MatchMeleeWeapon | Returns TRUE if the item is a melee weapon. |
| MatchMindAffectingSpells | Is this a mind affecting spell? |
| MatchNonliving | Returns TRUE if the creature is an elemental, undead, or golem. |
| MatchNormalBow | Returns TRUE if the item is a longbow or shortbow. |
| MatchPersonSpells | Is this a charm type spell? |
| MatchShield | Returns TRUE if the item is a shield. |
| MatchSingleHandedWeapon | Is this item a single-handed weapon? |
| MatchSpellProtections | Returns if the talent is a protective spell. |
| VerifyCombatMeleeTalent | Determines whether a combat talent could be used on an object. |
| VerifyDisarm | Determines whether a creature could possibly be disarmed. |
author: Mistress, contributor: Graewerld