Spells Function Category

Functions that deal with spells.



Functions

NameBrief Description
ActionCastSpellAtLocationCast a spell at a specific location.
ActionCastSpellAtObjectCast a spell at an object.
CreateProtectionFromAlignmentLinkCreates a protection from alignment effect.
DecrementRemainingSpellUsesDecrease the number of spell uses of a particular spell for a given creature.
DoWhirlwindAttackPerform a whirlwind attack.
EffectACDecreaseCreates an AC decrease effect.
EffectACIncreaseGives an AC bonus to an object.
EffectAreaOfEffectReturns a new effect object.
EffectDispelMagicAllCreate a Dispel Magic All effect.
EffectDispelMagicBestCreate a Dispel Magic Best effect.
EffectPolymorphCreate a Polymorph effect that changes the target into a different type of creature.
EffectSpellImmunityReturns an effect of spell immunity.
EffectTurnResistanceDecreaseCreate a Turn Resistance Decrease effect that can make creatures more susceptible to turning.
EffectTurnResistanceIncreaseCreate a Turn Resistance Decrease effect that can make creatures more resistant to turning.
EventSpellCastAtCreates an event which triggers a "spell cast at" reaction.
GetArcaneSpellFailureGets a creature's arcane spell failure factor
GetAttemptedSpellTargetDetermines the creature a spell was attempted to be cast at.
GetCasterLevelDetermines the level of caster for a creature or PC casting a spell.
GetDefensiveCastingModeRetrieves the defensive casting mode status of a creature.
GetEnteringObjectGets the object that last opened or entered the calling object.
GetExitingObjectGet the object that last left the calling object.
GetHasSpellDetermines whether a creature has a spell available.
GetLastSpellDetermines the spell that was last cast.
GetLastSpellCastClassReturns the class that the spellcaster cast the spell as
GetLastSpellCasterDetermines who last cast a spell.
GetLastSpellHarmfulDetermines whether the last spell cast was harmful.
GetMetaMagicFeatGet the type of metamagic used on the last spell.
GetScaledDurationDetermines a scaled down duration based on the game difficulty setting.
GetScaledEffectCreates a new effect based on the game difficulty.
GetSpellBreachProtectionReturns the next protection spell from a list of seventeen.
GetSpellCastItemDetermines the object that caused the spell script to be called.
GetSpellEffectDelayDetermines the time an effect should be delayed.
GetSpellIdDetermines the spell identifier for a spell which a script is currently processing.
GetSpellResistanceReturns the spell resistance of the specified creature
GetSpellSaveDCDetermines the DC needed to save against the cast spell.
GetSpellTargetLocationDetermines the location of a spell's target location.
GetSpellTargetObjectRetrieves the target of the caller's last spell.
GetTypeFromTalentDetermines the primary category of the talent requested.
HasSpellChecks if caller has spell
IPGetIPConstCastSpellFromSpellIDReturns a spell's corresponding itemproperty constant.
IPGetItemSequencerPropertyChecks the sequencer property of an item.
ItemPropertyCastSpellSets a "cast spell" itemproperty.
ItemPropertyOnHitCastSpellSets an "on hit cast spell" item property.
MyResistSpellDetermines and plays animation for resisting a spell when applicable.
MySavingThrowChecks for spell countering by a saving throw.
RemoveProtectionsRemoves all spell protections of a specific type.
RemoveSpellEffectsRemoves the effects of a spell cast on a creature.
ResistSpellPerforms a spell resistance check between the caster and the target.
RunMelfAcidImpactHandles the dealing of damage each round by the Melf’s Acid Arrow spell.
ShadowBoltUsed with Greater Shadow Conjuration spell to cast a damaging bolt towards an NPC.
SpellDelayIncorporates a delay on applying special FX and damage FX until cone 'reaches' the target.
TalentAdvancedBuffCauses the NPC/Creature to buff themselves using a priority aligned list of spells if they have them.
TalentCureConditionCure Disease, Poison, curse and Blindness and Deafness of nearest friendly target.
TalentSeeInvisibleDetermines if the NPC has the ability to see invisible creatures through feat or spell.
TrimLevelReturns the valid upper limit for any arcane spell scroll.
VersusAlignmentEffectSet eEffect to be versus a specific alignment.
VersusRacialTypeEffectSet eEffect to be versus nRacialType.

See Also

Function Categories



 Send comments on this topic.