Spells Function Category
Functions that deal with spells.
Functions
| Name | Brief Description |
|---|---|
| ActionCastSpellAtLocation | Cast a spell at a specific location. |
| ActionCastSpellAtObject | Cast a spell at an object. |
| CreateProtectionFromAlignmentLink | Creates a protection from alignment effect. |
| DecrementRemainingSpellUses | Decrease the number of spell uses of a particular spell for a given creature. |
| DoWhirlwindAttack | Perform a whirlwind attack. |
| EffectACDecrease | Creates an AC decrease effect. |
| EffectACIncrease | Gives an AC bonus to an object. |
| EffectAreaOfEffect | Returns a new effect object. |
| EffectDispelMagicAll | Create a Dispel Magic All effect. |
| EffectDispelMagicBest | Create a Dispel Magic Best effect. |
| EffectPolymorph | Create a Polymorph effect that changes the target into a different type of creature. |
| EffectSpellImmunity | Returns an effect of spell immunity. |
| EffectSpellLevelAbsorption | Returns a Spell Level Absorption effect |
| EffectTurnResistanceDecrease | Create a Turn Resistance Decrease effect that can make creatures more susceptible to turning. |
| EffectTurnResistanceIncrease | Create a Turn Resistance Decrease effect that can make creatures more resistant to turning. |
| EventSpellCastAt | Creates an event which triggers a "spell cast at" reaction. |
| GetArcaneSpellFailure | Gets a creature's arcane spell failure factor |
| GetAttemptedSpellTarget | Determines the creature a spell was attempted to be cast at. |
| GetCasterLevel | Determines the level of caster for a creature or PC casting a spell. |
| GetDefensiveCastingMode | Retrieves the defensive casting mode status of a creature. |
| GetEnteringObject | Gets the object that last opened or entered the calling object. |
| GetExitingObject | Get the object that last left the calling object. |
| GetHasSpell | Determines whether a creature has a spell available. |
| GetLastSpell | Determines the spell that was last cast. |
| GetLastSpellCastClass | Returns the class that the spellcaster cast the spell as |
| GetLastSpellCaster | Determines who last cast a spell. |
| GetLastSpellHarmful | Determines whether the last spell cast was harmful. |
| GetMetaMagicFeat | Get the type of metamagic used on the last spell. |
| GetScaledDuration | Determines a scaled down duration based on the game difficulty setting. |
| GetScaledEffect | Creates a new effect based on the game difficulty. |
| GetSpellBreachProtection | Returns the next protection spell from a list of seventeen. |
| GetSpellCastItem | Determines the object that caused the spell script to be called. |
| GetSpellEffectDelay | Determines the time an effect should be delayed. |
| GetSpellId | Determines the spell identifier for a spell which a script is currently processing. |
| GetSpellResistance | Returns the spell resistance of the specified creature |
| GetSpellSaveDC | Determines the DC needed to save against the cast spell. |
| GetSpellTargetLocation | Determines the location of a spell's target location. |
| GetSpellTargetObject | Retrieves the target of the caller's last spell. |
| GetTypeFromTalent | Determines the primary category of the talent requested. |
| HasSpell | Checks if caller has spell |
| IPGetIPConstCastSpellFromSpellID | Returns a spell's corresponding itemproperty constant. |
| IPGetItemSequencerProperty | Checks the sequencer property of an item. |
| ItemPropertyCastSpell | Sets a "cast spell" itemproperty. |
| ItemPropertyOnHitCastSpell | Sets an "on hit cast spell" item property. |
| MyResistSpell | Determines and plays animation for resisting a spell when applicable. |
| MySavingThrow | Checks for spell countering by a saving throw. |
| RemoveProtections | Removes all spell protections of a specific type. |
| RemoveSpellEffects | Removes the effects of a spell cast on a creature. |
| ResistSpell | Performs a spell resistance check between the caster and the target. |
| RunMelfAcidImpact | Handles the dealing of damage each round by the Melf’s Acid Arrow spell. |
| ShadowBolt | Used with Greater Shadow Conjuration spell to cast a damaging bolt towards an NPC. |
| SpellDelay | Incorporates a delay on applying special FX and damage FX until cone 'reaches' the target. |
| TalentAdvancedBuff | Causes the NPC/Creature to buff themselves using a priority aligned list of spells if they have them. |
| TalentCureCondition | Cure Disease, Poison, curse and Blindness and Deafness of nearest friendly target. |
| TalentSeeInvisible | Determines if the NPC has the ability to see invisible creatures through feat or spell. |
| TrimLevel | Returns the valid upper limit for any arcane spell scroll. |
| VersusAlignmentEffect | Set eEffect to be versus a specific alignment. |
| VersusRacialTypeEffect | Set eEffect to be versus nRacialType. |
See Also
Send comments on this topic.