X0 i0 spells
From NWN Lexicon
Contents |
[edit] x0_i0_spells
Expansion 1 and above include file for spells.
NOTE: This file includes x2_inc_switches .
[edit] Constants
| Name | Value | Brief Description |
|---|---|---|
| SAVING_THROW_NONE | 4 | |
| SPELL_TARGET_ALLALLIES | 1 | Will affect all allies, even those in my faction who don't like me. |
| SPELL_TARGET_SELECTIVEHOSTILE | 3 | Will only ever hurt enemies. |
| SPELL_TARGET_STANDARDHOSTILE | 2 | 90% of offensive area spells will work this way. - They will never hurt NEUTRAL or FRIENDLY NPCs. - They will never hurt FRIENDLY PCs. - They WILL hurt NEUTRAL PCs. |
[edit] Functions
| Name | Brief Description |
|---|---|
| Returns how much should special archer arrows do for damage. | |
| Calculates the enhancement bonus for an Arcane Archer. | |
| Returns TRUE if the target creature is allowed to die. | |
| Internal function. Used in the alignment aura spells. | |
| Caltrops do 25 points of damage (1 point per target per round) and then are gone. | |
| Applies the 'camoflage' magical effect to the target. | |
| Applies the ability score damage of the dirge effect. | |
| Does a damage type grenade (direct or splash on miss). | |
| Improves an animal companion's attack and damage and the ability to hit magically protected creatures. | |
| Fires a storm of missiles at targets in area. | |
| This is a wrapper for how Petrify will work in Expansion Pack 1. | |
| For spike growth area of effect object applies damage and slow effect. | |
| Apply effects of spike trap on entering object. | |
| Returns the modifier from the ability score that matters for this caster. | |
| Gets the creature's applicable size modifier. | |
| Internal function. Returns TRUE if oCreature is blinded and thus cannot use a gaze attack. | |
| Returns the target creature's levels in their highest spell casting class. | |
| Checks the appropriate metamagic to see how the damage should be scaled. | |
| Internal function. Doesn't care who the caster was; removes the effects of the specified spell. | |
| Internal function. Advanced version of RemoveSpellEffects to handle multiple spells. | |
| Removes negative mind effects and provides mind protection. | |
| Handles dispel magic of area of effect spells. | |
| Dispel magic on one or multiple targets. | |
| Generic apply area of effect wrapper. | |
| Inflicts a spell touch attack. | |
| Returns TRUE if the target creature is flying. | |
| Returns TRUE if the target creature is immune to petrification. | |
| Returns TRUE if the target creature does not have a mind. | |
| Generic reputation wrapper. | |
| Does a stinking cloud. |
[edit] See Also
| events: | |
| includes: |
author: Mistress, editor: Kolyana