Events/Spelledit

From WoWWiki

Main Menu



"I" iconNote 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

"CURRENT_SPELL_CAST_CHANGED"
Category: Spell
 

Fired when the spell being cast is changed.


"LEARNED_SPELL_IN_TAB"
Category: Spell
 

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

arg1
Number of the tab which the spell/ability is added to


"PLAYER_FARSIGHT_FOCUS_CHANGED"
Category: Player,Spell
 



"SPELLS_CHANGED"
Category: Spell
 



"SPELL_UPDATE_COOLDOWN"
Category: Spell
 

Fired when spell cooldown starts.

arg1 
if the spell is triggered by keypress, returns the GetTime() output in string format. Otherwise, it will return "LeftButton" or "RightButton"


"SPELL_UPDATE_USABLE"
Category: Spell
 

Fires when you enter combat or die.


"START_AUTOREPEAT_SPELL"
Category: Spell
 



"STOP_AUTOREPEAT_SPELL"
Category: Spell
 



"UNIT_SPELLCAST_CHANNEL_START"
Category: Unit Info,Spell
 

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


"UNIT_SPELLCAST_CHANNEL_STOP"
Category: Unit Info,Spell
 

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


"UNIT_SPELLCAST_CHANNEL_UPDATE"
Category: Unit Info,Spell
 

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


"UNIT_SPELLCAST_DELAYED"
Category: Unit Info,Spell
 

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


"UNIT_SPELLCAST_FAILED"
Category: Unit Info,Spell
 

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


"UNIT_SPELLCAST_FAILED_QUIET"
Category: Unit Info,Spell
 
arg1 
Unit casting the spell
arg2 
Spell name
arg3 
Spell rank


"UNIT_SPELLCAST_INTERRUPTED"
Category: Unit Info,Spell
 

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


"UNIT_SPELLCAST_INTERRUPTIBLE"
Category: Unit Info,Spell
 

Added in 3.2 (Had to guess at the args)

arg1 
Unit casting the spell
arg2 
Spell name


"UNIT_SPELLCAST_NOT_INTERRUPTIBLE"
Category: Unit Info,Spell
 

Added in 3.2 (guessing at the args)

arg1 
Unit casting the spell
arg2 
Spell name


"UNIT_SPELLCAST_SENT"
Category: Unit Info,Spell
 

Added in 2.0. 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
arg4 
Spell target


"UNIT_SPELLCAST_START"
Category: Unit Info,Spell
 

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


"UNIT_SPELLCAST_STOP"
Category: Unit Info,Spell
 

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


"UNIT_SPELLCAST_SUCCEEDED"
Category: Unit Info,Spell
 

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


"UNIT_SPELLMISS"
Category: Unit Info,Spell
 

Fired when a spell misses

arg1 
Unit Name - can be 'target' 'mouseover' 'player' or 'party1..4' possibly also 'raid1..40'
arg2 
Action - can be 'RESISTED' 'DODGED' 'PARRIED' or 'BLOCKED'