Class Spell [-] [+]

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

Inherits all methods from: none

Methods

Cancel

Cancels the Spell.

Cast

Casts the Spell.

Data

Returns a runtime-persistent cache tied to the Spell. This data will remain for as long as the Spell exists, or until a server restart.

Finish

Finishes the Spell.

GetCastTime

Returns the cast time of the Spell.

GetCaster

Returns the Unit that casted the Spell.

GetDuration

Returns the spell duration of the Spell.

GetEntry

Returns the entry ID of the Spell.

GetPowerCost

Returns the power cost of the Spell.

GetSpellInfo

Returns the target Spell's SpellInfo.

GetTarget

Returns the target Object of the Spell.

GetTargetDest

Returns the target destination coordinates of the Spell.

IsAutoRepeat

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

PreventHitDefaultEffect

Prevents default effect execution on current Spell hit target .

SetAutoRepeat

Sets the Spell to automatically repeat.

SetHitDamage

Sets the Spell hit damage.

SetHitHeal

Sets the Spell hit heal.

Generated on
© 2010 - 2024 Eluna Lua Engine