Category:Spells Functions
From NWN Lexicon
[edit] Spells Function Category
Functions that deal with spells.
[edit] Functions
| Name | Brief Description |
|---|---|
| Cast a spell at a specific location. | |
| Cast a spell at an object. | |
| Returns how much should special archer arrows do for damage. | |
| Calculates the enhancement bonus for an Arcane Archer. | |
| Creates a protection from alignment effect. | |
| Decrease the number of spell uses of a particular spell for a given creature. | |
| Used in the alignment aura spells. | |
| Caltrops do 25 points of damage (1 point per target per round) and then are gone. | |
| Apply the caltrops effect to the specified target. | |
| 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. | |
| Performs a spell breach; up to nTotal spells are removed and nSR spell resistance is lowered. | |
| For spike growth area of effect object applies damage and slow effect. | |
| Apply effects of spike trap on entering object. | |
| Perform a whirlwind attack. | |
| Creates an AC decrease effect. | |
| Gives an AC bonus to an object. | |
| Returns a new effect object. | |
| Create a Dispel Magic All effect. | |
| Create a Dispel Magic Best effect. | |
| Create a Polymorph effect that changes the target into a different type of creature. | |
| Returns an effect of spell immunity. | |
| Returns a Spell Level Absorption effect | |
| Create a Turn Resistance Decrease effect that can make creatures more susceptible to turning. | |
| Create a Turn Resistance Decrease effect that can make creatures more resistant to turning. | |
| Creates an event which triggers a "spell cast at" reaction. | |
| Blow up an object with the given spell. | |
| Gets a creature's arcane spell failure factor | |
| Determines the creature a spell was attempted to be cast at. | |
| Determines the level of caster for a creature or PC casting a spell. | |
| Retrieves the defensive casting mode status of a creature. | |
| Gets the object that last opened or entered the calling object. | |
| Determines the DC needed to save against any epic spell. | |
| Get the object that last left the calling object. | |
| Determines whether a creature has a spell available. | |
| Returns spellcasting ability modifier. | |
| Determines the spell that was last cast. | |
| Returns the class that the spellcaster cast the spell as | |
| Determines who last cast a spell. | |
| Determines whether the last spell cast was harmful. | |
| Get the type of metamagic used on the last spell. | |
| Determines a scaled down duration based on the game difficulty setting. | |
| Creates a new effect based on the game difficulty. | |
| Gets the creature's applicable size modifier. | |
| Returns the next protection spell from a list of seventeen. | |
| Determines the object that caused the spell script to be called. | |
| Determines the time an effect should be delayed. | |
| Determines the spell identifier for a spell which a script is currently processing. | |
| Returns the spell resistance of the specified creature | |
| Determines the DC needed to save against the cast spell. | |
| Determines the location of a spell's target location. | |
| Retrieves the target of the caller's last spell. | |
| Determines the primary category of the talent requested. | |
| 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 if caller has spell | |
| Returns a spell's corresponding itemproperty constant. | |
| Checks the sequencer property of an item. | |
| Sets a "cast spell" itemproperty. | |
| Sets an "on hit cast spell" item property. | |
| Checks the appropriate metamagic to see how the damage should be scaled. | |
| Determines and plays animation for resisting a spell when applicable. | |
| Checks for spell countering by a saving throw. | |
| Doesn't care who the caster was; removes the effects of the specified spell. | |
| Removes all spell protections of a specific type. | |
| Removes the effects of a spell cast on a creature. | |
| Advanced version of RemoveSpellEffects to handle multiple spells. | |
| Performs a spell resistance check between the caster and the target. | |
| Handles the dealing of damage each round by the Melfâs Acid Arrow spell. | |
| Used with Greater Shadow Conjuration spell to cast a damaging bolt towards an NPC. | |
| Removes negative mind effects and provides mind protection. | |
| Incorporates a delay on applying special FX and damage FX until cone 'reaches' the target. | |
| 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. | |
| Causes the NPC/Creature to buff themselves using a priority aligned list of spells if they have them. | |
| Cure Disease, Poison, Curse and Blindness and Deafness of nearest friendly target. | |
| Determines if the NPC has the ability to see invisible creatures through feat or spell. | |
| Returns the valid upper limit for any arcane spell scroll. | |
| Set eEffect to be versus a specific alignment. | |
| Set eEffect to be versus nRacialType. | |
| This function return TRUE if the last casted spell can be cast to any item. | |
| Sequencer item property handling. | |
| This function hooks all default spell scripts and is used for procedures related to all spells or for block the spell code to be executed. | |
| Runs a custom spellhook script if defined. |
author: NWN Lexicon Group, editor: Mistress
Pages in category "Spells Functions"
The following 95 pages are in this category, out of 95 total.