<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.prime-wow.com/index.php?action=history&amp;feed=atom&amp;title=Category%3ASpells_Functions</id>
	<title>Category:Spells Functions - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.prime-wow.com/index.php?action=history&amp;feed=atom&amp;title=Category%3ASpells_Functions"/>
	<link rel="alternate" type="text/html" href="https://wiki.prime-wow.com/index.php?title=Category:Spells_Functions&amp;action=history"/>
	<updated>2026-06-07T09:17:29Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://wiki.prime-wow.com/index.php?title=Category:Spells_Functions&amp;diff=7471&amp;oldid=prev</id>
		<title>Xordac: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.prime-wow.com/index.php?title=Category:Spells_Functions&amp;diff=7471&amp;oldid=prev"/>
		<updated>2017-10-23T23:23:29Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Spells Function Category=&lt;br /&gt;
&lt;br /&gt;
Functions that deal with spells.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Functions====&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot;&lt;br /&gt;
! Name&lt;br /&gt;
! Brief Description&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[ActionCastSpellAtLocation | ActionCastSpellAtLocation ]]&lt;br /&gt;
| Cast a spell at a specific location.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[ActionCastSpellAtObject | ActionCastSpellAtObject ]]&lt;br /&gt;
| Cast a spell at an object.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[ArcaneArcherDamageDoneByBow | ArcaneArcherDamageDoneByBow ]]&lt;br /&gt;
| Returns how much should special archer arrows do for damage.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[ArcaneArcherCalculateBonus | ArcaneArcherCalculateBonus ]]&lt;br /&gt;
| Calculates the enhancement bonus for an Arcane Archer.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[CreateProtectionFromAlignmentLink | CreateProtectionFromAlignmentLink ]]&lt;br /&gt;
| Creates a protection from alignment effect.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[DecrementRemainingSpellUses | DecrementRemainingSpellUses ]]&lt;br /&gt;
| Decrease the number of spell uses of a particular spell for a given creature.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[doAura | doAura ]]&lt;br /&gt;
| Used in the alignment aura spells.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[DoCaltropEffect | DoCaltropEffect ]]&lt;br /&gt;
| Caltrops do 25 points of damage (1 point per target per round) and then are gone.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[DoCaltropsEffect | DoCaltropsEffect ]]&lt;br /&gt;
| Apply the caltrops effect to the specified target.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[DoCamoflage | DoCamoflage ]]&lt;br /&gt;
| Applies the &amp;#039;camoflage&amp;#039; magical effect to the target.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[DoDirgeEffect | DoDirgeEffect ]]&lt;br /&gt;
| Applies the ability score damage of the dirge effect.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[DoGrenade | DoGrenade ]]&lt;br /&gt;
| Does a damage type grenade (direct or splash on miss).&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[DoMagicFang | DoMagicFang ]]&lt;br /&gt;
| Improves an animal companion&amp;#039;s attack and damage and the ability to hit magically protected creatures.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[DoMissileStorm | DoMissileStorm ]]&lt;br /&gt;
| Fires a storm of missiles at targets in area.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[DoPetrification | DoPetrification ]]&lt;br /&gt;
| This is a wrapper for how Petrify will work in Expansion Pack 1.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[DoSpellBreach | DoSpellBreach ]]&lt;br /&gt;
| Performs a spell breach; up to nTotal spells are removed and nSR spell resistance is lowered.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[DoSpikeGrowthEffect | DoSpikeGrowthEffect ]]&lt;br /&gt;
| For spike growth area of effect object applies damage and slow effect.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[DoTrapSpike | DoTrapSpike ]]&lt;br /&gt;
| Apply effects of spike trap on entering object.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[DoWhirlwindAttack | DoWhirlwindAttack ]]&lt;br /&gt;
| Perform a whirlwind attack.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[EffectACDecrease | EffectACDecrease ]]&lt;br /&gt;
| Creates an AC decrease effect.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[EffectACIncrease | EffectACIncrease ]]&lt;br /&gt;
| Gives an AC bonus to an object.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[EffectAreaOfEffect | EffectAreaOfEffect ]]&lt;br /&gt;
| Returns a new effect object.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[EffectDispelMagicAll | EffectDispelMagicAll ]]&lt;br /&gt;
| Create a Dispel Magic All effect.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[EffectDispelMagicBest | EffectDispelMagicBest ]]&lt;br /&gt;
| Create a Dispel Magic Best effect.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[EffectPolymorph | EffectPolymorph ]]&lt;br /&gt;
| Create a Polymorph effect that changes the target into a different type of creature.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[EffectSpellImmunity | EffectSpellImmunity ]]&lt;br /&gt;
| Returns an effect of spell immunity.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[EffectSpellLevelAbsorption | EffectSpellLevelAbsorption ]]&lt;br /&gt;
| Returns a Spell Level Absorption effect&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[EffectTurnResistanceDecrease | EffectTurnResistanceDecrease ]]&lt;br /&gt;
| Create a Turn Resistance Decrease effect that can make creatures more susceptible to turning.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[EffectTurnResistanceIncrease | EffectTurnResistanceIncrease ]]&lt;br /&gt;
| Create a Turn Resistance Decrease effect that can make creatures more resistant to turning.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[EventSpellCastAt | EventSpellCastAt ]]&lt;br /&gt;
| Creates an event which triggers a &amp;quot;spell cast at&amp;quot; reaction.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[ExplodeObject | ExplodeObject ]]&lt;br /&gt;
| Blow up an object with the given spell.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetArcaneSpellFailure | GetArcaneSpellFailure ]]&lt;br /&gt;
| Gets a creature&amp;#039;s arcane spell failure factor&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetAttemptedSpellTarget | GetAttemptedSpellTarget ]]&lt;br /&gt;
| Determines the creature a spell was attempted to be cast at.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetCasterLevel | GetCasterLevel ]]&lt;br /&gt;
| Determines the level of caster for a creature or PC casting a spell.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetDefensiveCastingMode | GetDefensiveCastingMode ]]&lt;br /&gt;
| Retrieves the defensive casting mode status of a creature.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetEnteringObject | GetEnteringObject ]]&lt;br /&gt;
| Gets the object that last opened or entered the calling object.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetEpicSpellSaveDC | GetEpicSpellSaveDC ]]&lt;br /&gt;
| Determines the DC needed to save against any epic spell.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetExitingObject | GetExitingObject ]]&lt;br /&gt;
| Get the object that last left the calling object.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetHasSpell | GetHasSpell ]]&lt;br /&gt;
| Determines whether a creature has a spell available.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetIsMagicStatBonus | GetIsMagicStatBonus ]]&lt;br /&gt;
| Returns spellcasting ability modifier.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetLastSpell | GetLastSpell ]]&lt;br /&gt;
| Determines the spell that was last cast.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetLastSpellCastClass | GetLastSpellCastClass ]]&lt;br /&gt;
| Returns the class that the spellcaster cast the spell as&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetLastSpellCaster | GetLastSpellCaster ]]&lt;br /&gt;
| Determines who last cast a spell.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetLastSpellHarmful | GetLastSpellHarmful ]]&lt;br /&gt;
| Determines whether the last spell cast was harmful.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetMetaMagicFeat | GetMetaMagicFeat ]]&lt;br /&gt;
| Get the type of metamagic used on the last spell.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetScaledDuration | GetScaledDuration ]]&lt;br /&gt;
| Determines a scaled down duration based on the game difficulty setting.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetScaledEffect | GetScaledEffect ]]&lt;br /&gt;
| Creates a new effect based on the game difficulty.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetSizeModifier | GetSizeModifier ]]&lt;br /&gt;
| Gets the creature&amp;#039;s applicable size modifier.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetSpellBreachProtection | GetSpellBreachProtection ]]&lt;br /&gt;
| Returns the next protection spell from a list of seventeen.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetSpellCastItem | GetSpellCastItem ]]&lt;br /&gt;
| Determines the object that caused the spell script to be called.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetSpellEffectDelay | GetSpellEffectDelay ]]&lt;br /&gt;
| Determines the time an effect should be delayed.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetSpellId | GetSpellId ]]&lt;br /&gt;
| Determines the spell identifier for a spell which a script is currently processing.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetSpellResistance | GetSpellResistance ]]&lt;br /&gt;
| Returns the spell resistance of the specified creature&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetSpellSaveDC | GetSpellSaveDC ]]&lt;br /&gt;
| Determines the DC needed to save against the cast spell.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetSpellTargetLocation | GetSpellTargetLocation ]]&lt;br /&gt;
| Determines the location of a spell&amp;#039;s target location.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetSpellTargetObject | GetSpellTargetObject ]]&lt;br /&gt;
| Retrieves the target of the caller&amp;#039;s last spell.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GetTypeFromTalent | GetTypeFromTalent ]]&lt;br /&gt;
| Determines the primary category of the talent requested.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GZCanNotUseGazeAttackCheck | GZCanNotUseGazeAttackCheck ]]&lt;br /&gt;
| Returns TRUE if oCreature is blinded and thus cannot use a gaze attack.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[GZGetHighestSpellcastingClassLevel | GZGetHighestSpellcastingClassLevel ]]&lt;br /&gt;
| Returns the target creature&amp;#039;s levels in their highest spell casting class.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[HasSpell | HasSpell ]]&lt;br /&gt;
| Checks if caller has spell&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[IPGetIPConstCastSpellFromSpellID | IPGetIPConstCastSpellFromSpellID ]]&lt;br /&gt;
| Returns a spell&amp;#039;s corresponding itemproperty constant.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[IPGetItemSequencerProperty | IPGetItemSequencerProperty ]]&lt;br /&gt;
| Checks the sequencer property of an item.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[ItemPropertyCastSpell | ItemPropertyCastSpell ]]&lt;br /&gt;
| Sets a &amp;quot;cast spell&amp;quot; itemproperty.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[ItemPropertyOnHitCastSpell | ItemPropertyOnHitCastSpell ]]&lt;br /&gt;
| Sets an &amp;quot;on hit cast spell&amp;quot; item property.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[MaximizeOrEmpower | MaximizeOrEmpower ]]&lt;br /&gt;
| Checks the appropriate metamagic to see how the damage should be scaled.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[MyResistSpell | MyResistSpell ]]&lt;br /&gt;
| Determines and plays animation for resisting a spell when applicable.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[MySavingThrow | MySavingThrow ]]&lt;br /&gt;
| Checks for spell countering by a saving throw.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[RemoveAnySpellEffects | RemoveAnySpellEffects ]]&lt;br /&gt;
| Doesn&amp;#039;t care who the caster was; removes the effects of the specified spell.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[RemoveProtections | RemoveProtections ]]&lt;br /&gt;
| Removes all spell protections of a specific type.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[RemoveSpellEffects | RemoveSpellEffects ]]&lt;br /&gt;
| Removes the effects of a spell cast on a creature.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[RemoveSpellEffects2 | RemoveSpellEffects2 ]]&lt;br /&gt;
| Advanced version of RemoveSpellEffects to handle multiple spells.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[ResistSpell | ResistSpell ]]&lt;br /&gt;
| Performs a spell resistance check between the caster and the target.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[RunMelfAcidImpact | RunMelfAcidImpact ]]&lt;br /&gt;
| Handles the dealing of damage each round by the Melfâs Acid Arrow spell.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[ShadowBolt | ShadowBolt ]]&lt;br /&gt;
| Used with Greater Shadow Conjuration spell to cast a damaging bolt towards an NPC.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[spellApplyMindBlank | spellApplyMindBlank ]]&lt;br /&gt;
| Removes negative mind effects and provides mind protection.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[SpellDelay | SpellDelay ]]&lt;br /&gt;
| Incorporates a delay on applying special FX and damage FX until cone &amp;#039;reaches&amp;#039; the target.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[spellsDispelAoE | spellsDispelAoE ]]&lt;br /&gt;
| Handles dispel magic of area of effect spells.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[spellsDispelMagic | spellsDispelMagic ]]&lt;br /&gt;
| Dispel magic on one or multiple targets.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[spellsGenericAreaOfEffect | spellsGenericAreaOfEffect ]]&lt;br /&gt;
| Generic apply area of effect wrapper.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[spellsInflictTouchAttack | spellsInflictTouchAttack ]]&lt;br /&gt;
| Inflicts a spell touch attack.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[spellsIsFlying | spellsIsFlying ]]&lt;br /&gt;
| Returns TRUE if the target creature is flying.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[spellsIsImmuneToPetrification | spellsIsImmuneToPetrification ]]&lt;br /&gt;
| Returns TRUE if the target creature is immune to petrification.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[spellsIsMindless | spellsIsMindless ]]&lt;br /&gt;
| Returns TRUE if the target creature does not have a mind.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[spellsIsTarget | spellsIsTarget ]]&lt;br /&gt;
| Generic reputation wrapper.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[spellsStinkingCloud | spellsStinkingCloud ]]&lt;br /&gt;
| Does a stinking cloud.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[TalentAdvancedBuff | TalentAdvancedBuff ]]&lt;br /&gt;
| Causes the NPC/Creature to buff themselves using a priority aligned list of spells if they have them.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[TalentCureCondition | TalentCureCondition ]]&lt;br /&gt;
| Cure Disease, Poison, Curse and Blindness and Deafness of nearest friendly target.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[TalentSeeInvisible | TalentSeeInvisible ]]&lt;br /&gt;
| Determines if the NPC has the ability to see invisible creatures through feat or spell.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[TrimLevel | TrimLevel ]]&lt;br /&gt;
| Returns the valid upper limit for any arcane spell scroll.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[VersusAlignmentEffect | VersusAlignmentEffect ]]&lt;br /&gt;
| Set eEffect to be versus a specific alignment.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[VersusRacialTypeEffect | VersusRacialTypeEffect ]]&lt;br /&gt;
| Set eEffect to be versus nRacialType.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[X2CastOnItemWasAllowed | X2CastOnItemWasAllowed ]]&lt;br /&gt;
| This function return TRUE if the last casted spell can be cast to any item.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[X2GetSpellCastOnSequencerItem | X2GetSpellCastOnSequencerItem ]]&lt;br /&gt;
| Sequencer item property handling.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[X2PreSpellCastCode | X2PreSpellCastCode ]]&lt;br /&gt;
| 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.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[X2RunUserDefinedSpellScript | X2RunUserDefinedSpellScript ]]&lt;br /&gt;
| Runs a custom spellhook script if defined.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;font color=&amp;quot;gray&amp;quot;&amp;gt;author: NWN Lexicon Group, editor: Mistress&amp;lt;/font&amp;gt;&amp;lt;br /&amp;gt;  &amp;lt;br /&amp;gt;&lt;br /&gt;
[[Category:Functions]]&lt;br /&gt;
[[Category:Function_Categories]]&lt;/div&gt;</summary>
		<author><name>Xordac</name></author>
	</entry>
</feed>