Events/Spell


 * Note that this page is automatically generated; editing it is pointless. To edit event descriptions, edit the entries in the alphabetical pages, e.g. Events/A, Events/B, etc. Changes there will be copied over to here within a few hours.

Spell related events
Fired when the spell being cast is changed.

Fired when a new spell/ability is added to the spellbook. e.g. When training a new or a higher level spell/ability.


 * arg1: Spell ID
 * arg2: Number of the tab which the spell/ability is added to

Added in 4.0 for the Spell Alert overlay feature


 * arg1 : spellID (number)

Added in 4.0 for the Spell Alert overlay feature


 * arg1
 * spellID (number)


 * arg2
 * texture (string)


 * arg3
 * position (string)
 * Possible values include simple points such as "CENTER" or "LEFT", or complex positions such as "RIGHT (FLIPPED)" or "TOP + BOTTOM (FLIPPED)", which are defined in a local table in SpellActivationOverlay.lua.


 * arg4
 * scale (number)


 * arg5
 * r (number)


 * arg6
 * g (number)


 * arg7
 * b (number)

This event is fired every three seconds for no apparent reason (correct as of patch 3.3.3). When a spell that has a cooldown is triggered it gets fired twice in quick succession and then again a few milliseconds later.

This event is fired when a spell becomes useable or unusable. However the definition of useable and unusable is somewhat confusing. Firstly, range is not taken into account. Secondly if a spell requires a valid target and doesn't have one it gets marked as useable. If it requires mana or rage and there isn't enough then it gets marked as unusable. This results in the following behaviour:

Start) Feral druid in bear form out of combat, no target selected.

1) Target enemy. Event is fired as some spells that require rage become marked as unusable. On the action bar the spell is marked in red as unusable.

2) Use Enrage to gain rage. Event is fired as we now have enough rage. On the action bar the spell is marked unusable as out of range.

3) Move into range. Event is not fired. On the action bar the spell is marked usable.

4) Rage runs out. Event is fired as we no longer have enough rage.

5) Remove target. Event is fired and spell is marked as useable on action bar.

It appears that the definition of useable is a little inaccurate and relates more to how it is displayed on the action bar than whether you can use the spell. Also after being attacked the event started firing every two seconds and this continued until well after the attacker was dead. Targetting a fresh enemy seemed to stop it.

Added in 2.0. Fired when a unit begins channeling in the course of casting a spell. Received for party/raid members as well as the player.


 * arg1 : Unit casting the spell
 * arg2 : Spell name
 * arg3 : Spell rank (deprecated in 4.0)
 * arg4 : Spell lineID counter
 * arg5 : Spell ID (added in 4.0)

Added in 2.0. Fired when a unit stops channeling. Received for party/raid members as well as the player.


 * arg1: Unit casting the spell
 * arg2 : Spell name
 * arg3 : Spell rank (deprecated in 4.0)
 * arg4 : Spell lineID counter
 * arg5 : Spell ID (added in 4.0)

Added in 2.0. Received for party/raid members, as well as the player


 * arg1 : Unit casting the spell
 * arg2 : Spell name
 * arg3 : Spell rank (deprecated in 4.0)
 * arg4 : Spell lineID counter
 * arg5 : Spell ID (added in 4.0)

Added in 2.0. Fired when a unit's spellcast is delayed, including party/raid members or the player


 * arg1 : Unit casting the spell
 * arg2 : Spell name
 * arg3 : Spell rank (deprecated in 4.0)
 * arg4 : Spell lineID counter
 * arg5 : Spell ID (added in 4.0)

Added in 2.0. Fired when a unit's spellcast fails, including party/raid members or the player


 * arg1 : Unit casting the spell
 * arg2 : Spell name
 * arg3 : Spell rank (deprecated in 4.0)
 * arg4 : Spell lineID counter
 * arg5 : Spell ID (added in 4.0)


 * arg1 : Unit casting the spell
 * arg2 : Spell name
 * arg3 : Spell rank (deprecated in 4.0)
 * arg4 : Spell lineID counter
 * arg5 : Spell ID (added in 4.0)

Added in 2.0. Fired when a unit's spellcast is interrupted, including party/raid members or the player


 * arg1 : Unit casting the spell
 * arg2 : Spell name
 * arg3 : Spell rank (deprecated in 4.0)
 * arg4 : Spell lineID counter
 * arg5 : Spell ID (added in 4.0)

Added in 3.2 (Had to guess at the args)


 * arg1 : Unit casting the spell
 * arg2 : Spell name
 * arg3 : Spell rank

Added in 3.2 (guessing at the args)


 * arg1 : Unit casting the spell
 * arg2 : Spell name
 * arg3 : Spell rank

 Fired when an event is sent to the server. Other messages indicate when the server begins timing or considers the cast successful.


 * arg1 : Unit casting the spell
 * arg2 : Spell name
 * arg3 : Spell rank (deprecated in 4.0)
 * arg4 : Spell target

Added in 2.0. Fired when a unit begins casting, including party/raid members or the player


 * arg1 : Unit casting the spell
 * arg2 : Spell name
 * arg3 : Spell rank (deprecated in 4.0)
 * arg4 : Spell lineID counter
 * arg5 : Spell ID (added in 4.0)

Added in 2.0. Fired when a unit stops casting, including party/raid members or the player


 * arg1 : Unit casting the spell
 * arg2 : Spell name
 * arg3 : Spell rank (deprecated in 4.0)
 * arg4 : Spell lineID counter
 * arg5 : Spell ID (added in 4.0)

Added in 2.0. Fired when a spell is cast successfully. Event is received even if spell is resisted.


 * arg1 : Unit casting the spell
 * arg2 : Spell name
 * arg3 : Spell rank (deprecated in 4.0)
 * arg4 : Spell lineID counter
 * arg5 : Spell ID (added in 4.0)