トップ 新規 差分 一覧 ソース 検索 ヘルプ PDF RSS ログイン

categoryfunction.spells

掲示板(停止中) | About | Reference | Lyceum(スクリプト入門) | Resources | Contributors | LexiconJP-OLD | NWN Builders

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.
GetArcaneSpellFailure?Gets 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.
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.
GetSpellCastItemDetermines 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.
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.
GetSpellTargetObject?Retrieves 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.
RemoveProtections?Removes all spell protections of a specific type.
RemoveSpellEffects?Removes 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 DiseasePoisoncurse and Blindness and Deafness of nearest friendly target.
TalentSeeInvisibleDetermines 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.
VersusAlignmentEffectSet eEffect to be versus a specific alignment.
VersusRacialTypeEffectSet eEffect to be versus nRacialType.

See Also

Function Categories