Class Spell [-] [+]

An instance of a spell, created when the spell is cast by a Unit.

Inherits all methods from: none

Methods

CalculateDamage

Calculates the damage for the given effect index of the Spell.

Cancel

Cancels the Spell.

Cast

Casts the Spell.

CleanupTargetList

Cleans up the target list of the Spell.

Finish

Finishes the Spell.

GetCastTime

Returns the cast time of the Spell.

GetCaster

Returns the Unit that casted the Spell.

GetDelayMoment

Returns the delay moment of the Spell.

GetDelayStart

Returns the delay start time of the Spell.

GetDuration

Returns the spell duration of the Spell.

GetEntry

Returns the entry ID of the Spell.

GetGameObjectTargetCountForEffect

Returns the number of GameObject targets for the given effect index of the Spell.

GetItemTargetCountForEffect

Returns the number of item targets for the given effect index of the Spell.

GetOriginalCaster

Returns the original caster Unit of the Spell.

GetPowerCost

Returns the power cost of the Spell.

GetRuneState

Returns the rune state of the Spell.

GetSpellInfo

Returns the SpellInfo of the spell that created this Spell.

GetState

Returns the current state of the Spell.

GetTarget

Returns the target Object of the Spell.

GetTargetDest

Returns the target destination coordinates of the Spell.

GetUnitTargetCountForEffect

Returns the number of unit targets for the given effect index of the Spell.

IsAutoActionResetSpell

Returns true if the Spell is an auto action reset spell, false otherwise.

IsAutoRepeat

Returns true if the Spell is automatically repeating, false otherwise.

IsChannelActive

Returns true if the Spell channel is active, false otherwise.

IsDeletable

Returns true if the Spell is deletable, false otherwise.

IsIgnoringCooldowns

Returns true if the Spell is ignoring cooldowns, false otherwise.

IsInterruptable

Returns true if the Spell is interruptable, false otherwise.

IsNeedSendToClient

Returns true if the Spell needs to be sent to the client, false otherwise.

IsPositive

Returns true if the Spell is positive, false otherwise.

IsProcDisabled

Returns true if the Spell proc is disabled, false otherwise.

IsTriggered

Returns true if the Spell is triggered, false otherwise.

IsTriggeredByAura

Returns true if the Spell was triggered by the given SpellInfo, false otherwise.

SetAutoRepeat

Sets the Spell to automatically repeat.

SetDelayStart

Sets the delay start time of the Spell.

SetExecutedCurrently

Sets whether the Spell is currently being executed.

SetReferencedFromCurrent

Sets whether the Spell is referenced from the current spell.

SetRuneState

Sets the rune state of the Spell.

SetSpellValue

Sets a spell value modifier on the Spell.

SetState

Sets the state of the Spell.

UpdatePointers

Updates the Spell's pointers. Must be used after time delays on non-triggered spell casts.

Generated on
© 2010 - 2024 Eluna Lua Engine