Events/Combat
From WoWWiki
| |||||||||||||||||||||
|
Combat related events |
"CHAT_MSG_COMBAT_CREATURE_VS_CREATURE_HITS"
| Category: Combat |
Fired when a creature hits another creature. Note that this can fire for players if the server is out of sync.
|
"CHAT_MSG_COMBAT_CREATURE_VS_CREATURE_MISSES"
| Category: Combat |
Fired when a creature misses another creature. Note that this can fire for players if the server is out of sync.
|
"CHAT_MSG_COMBAT_CREATURE_VS_PARTY_HITS"
| Category: Combat |
Fired when a creature hits a party member
|
"CHAT_MSG_COMBAT_CREATURE_VS_PARTY_MISSES"
| Category: Combat |
Fired when a creature misses a party member
|
"CHAT_MSG_COMBAT_CREATURE_VS_SELF_HITS"
| Category: Combat,Pet |
Fired when a creature hits you or your pet
|
"CHAT_MSG_COMBAT_CREATURE_VS_SELF_MISSES"
| Category: Combat,Pet |
Fired when a creature misses you or your pet
|
"CHAT_MSG_COMBAT_ERROR"
| Category: Combat |
|
"CHAT_MSG_COMBAT_FACTION_CHANGE"
| Category: Combat |
|
Fires when player's faction changes. ie: "Your reputation with Timbermaw Hold has very slightly increased." -- NEW 1.9
|
"CHAT_MSG_COMBAT_FRIENDLYPLAYER_HITS"
| Category: Combat |
|
"CHAT_MSG_COMBAT_FRIENDLYPLAYER_MISSES"
| Category: Combat |
|
"CHAT_MSG_COMBAT_FRIENDLY_DEATH"
| Category: Combat,Death |
Fired when a friendly player dies
|
"CHAT_MSG_COMBAT_HONOR_GAIN"
| Category: Honor,Combat |
|
Fired when the player gains any amount of honor, anything from an honorable kill to bonus honor awarded.
|
"CHAT_MSG_COMBAT_HOSTILEPLAYER_HITS"
| Category: Combat |
|
"CHAT_MSG_COMBAT_HOSTILEPLAYER_MISSES"
| Category: Combat |
|
"CHAT_MSG_COMBAT_HOSTILE_DEATH"
| Category: Combat,Death |
If you provide the killing blow, you may or may not get a 'unit dies' event but you will get a 'slain unit' event, the 'slain unit' event is fired before the 'unit dies' message is, if you do not provide the killing blow you will get a 'unit dies'. Fired when any hostile NPC or player dies near you.
|
"CHAT_MSG_COMBAT_PARTY_HITS"
| Category: Combat |
|
"CHAT_MSG_COMBAT_PARTY_MISSES"
| Category: Combat |
|
"CHAT_MSG_COMBAT_PET_HITS"
| Category: Combat,Pet |
|
"CHAT_MSG_COMBAT_PET_MISSES"
| Category: Combat,Pet |
|
"CHAT_MSG_COMBAT_SELF_HITS"
| Category: Combat |
Fired when a you hit a creature. Also called when you hurt yourself by falling, drowning or burning on a campfire.
|
"CHAT_MSG_COMBAT_SELF_MISSES"
| Category: Combat |
Fired when a you miss a creature
|
"CHAT_MSG_SPELL_CREATURE_VS_CREATURE_BUFF"
| Category: Buff,Combat,Spell |
Fired when a mob begins casting a beneficial spell and again when the casting is completed. arg1 is the full combat chat text. Examples: Mob begins to cast Heal. Mob's Heal heals Mob for 20.
|
"CHAT_MSG_SPELL_CREATURE_VS_CREATURE_DAMAGE"
| Category: Combat,Spell,Pet |
Fired when a creature begins to cast a damage spell or when a creature casts a damage spell on a raid member who is not in your group. Also triggered when a pet is damaged by a creature's spell. Ex: Ragnaros' Wrath of Ragnaros hits PlayerName for 1000.
|
"CHAT_MSG_SPELL_CREATURE_VS_PARTY_BUFF"
| Category: Combat,Spell |
|
"CHAT_MSG_SPELL_CREATURE_VS_PARTY_DAMAGE"
| Category: Combat,Spell |
|
"CHAT_MSG_SPELL_CREATURE_VS_SELF_BUFF"
| Category: Combat,Spell |
|
"CHAT_MSG_SPELL_CREATURE_VS_SELF_DAMAGE"
| Category: Combat,Spell |
Fired when a mob completes casting a harmful spell on you. (The message for the mob beginning to cast is given by CHAT_MSG_SPELL_CREATURE_VS_CREATURE_DAMAGE.)
Examples:
|
"CHAT_MSG_SPELL_DAMAGESHIELDS_ON_OTHERS"
| Category: Combat,Buff,Spell |
|
"CHAT_MSG_SPELL_DAMAGESHIELDS_ON_SELF"
| Category: Combat,Buff,Spell |
Fired when a buff (or possibly item) damages an opponent in response to an action... IE Thorns.
|
"CHAT_MSG_SPELL_FRIENDLYPLAYER_DAMAGE"
| Category: Combat,Spell |
|
"CHAT_MSG_SPELL_HOSTILEPLAYER_BUFF"
| Category: Combat,Spell |
Fired on multiple silly occasions.
Example:
|
"CHAT_MSG_SPELL_HOSTILEPLAYER_DAMAGE"
| Category: Combat,Spell |
|
"CHAT_MSG_SPELL_PARTY_DAMAGE"
| Category: Spell,Combat |
Discovered a bug with this event as of v1.8. You can use CHAT_MSG_FRIENDLYPLAYER_DAMAGE to check for "Bob begins to cast Firebolt." However, if Bob joins your party, it does not show up in CHAT_MSG_SPELL_PARTY_DAMAGE as one would expect. It shows up in CHAT_MSG_SPELL_HOSTILEPLAYER_DAMAGE. This seems to only be the case for "begins to cast". Other damage messages properly show up under CHAT_MSG_SPELL_PARTY_DAMAGE.
|
"CHAT_MSG_SPELL_PERIODIC_CREATURE_DAMAGE"
| Category: Spell,Combat |
Example:
Also records other people's DoT's, whether you are grouped or not, in combat or not.
|
"CHAT_MSG_SPELL_PERIODIC_FRIENDLYPLAYER_DAMAGE"
| Category: Spell,Combat |
|
"CHAT_MSG_SPELL_PERIODIC_HOSTILEPLAYER_BUFFS"
| Category: Spell,Combat |
For some weird reason, this event is fired when someone heals yourself or another player, eg "Priest's Flash Heal critically heals you for 2342" Haven't tested any other conditions as of yet.
|
"CHAT_MSG_SPELL_PERIODIC_HOSTILEPLAYER_DAMAGE"
| Category: Spell,Combat |
Indicates afflictions on players which are classified as hostile to the player. Covers ability types such as rend, polymorph, sap etc.
|
"CHAT_MSG_SPELL_PERIODIC_PARTY_DAMAGE"
| Category: Spell,Combat |
|
"CHAT_MSG_SPELL_PERIODIC_SELF_DAMAGE"
| Category: Spell,Combat |
Fired (possibly among other times) when you are debuffed - so Disarm, Silenced, etc. I know the name doesn't match, but if you want to verify, enable printing this in your chat log. Get into combat and get debuffed. After combat, scroll back up, and while the debuff message is onscreen, change the chat color of this message, and you will see it change... Very strange. I assume this is named after poisons or diseases, but I haven't actually tested if those trigger this. See CHAT_MSG_SPELL_AURA_GONE_SELF if you want to know when it wears off (both buffs and debuffs). This is accurate as of US Release 1.2.4 (4222), tested by hacking Scrolling Combat Text.
This is also fired during the Gnomish Death Ray's channel. This is indeed triggered by poison / disease. arg1 messages in the form of: "You suffer 3 damage from Scorpid's Poison" or "You are afflicted by Something" come from this event. --Syllani
|
"CHAT_MSG_SPELL_PET_DAMAGE"
| Category: Spell,Combat,Pet |
|
"CHAT_MSG_SPELL_SELF_DAMAGE"
| Category: Spell,Combat |
Fired whenever you cast a harmful spell, be it direct damage or debuff of any kind, be it Warrior's taunt or DoT. arg1 holds the exact same string that is posted to the Combat Log. (eg. "Your Fireball hits Snivvle for 842.") Also fired when your spell does not actually take effect; ie. if it is resisted, or if the target is immune. A "resist" message is "Your Banish was resisted by Felguard Elite." while an "immune" message is of the format "Your Fire Blast failed. Firelord is immune."
|
"COMBAT_LOG_EVENT"
| Category: Combat |
See API COMBAT LOG EVENT for more information. This event fires only if it matches current global combat log filter settings.
|
"COMBAT_LOG_EVENT_UNFILTERED"
| Category: Combat |
|
(New in 2.4.0) See API COMBAT LOG EVENT for more information. AddOns wanting to parse all events the moment they happen should register for this event. (See blue posting http://forums.worldofwarcraft.com/thread.html?topicId=2968233433&sid=1&pageNo=9#177 for more info)
|
"COMBAT_TEXT_UPDATE"
| Category: Combat |
|
(new with patch 1.12) Fired when the player takes or avoids damage, receives heals, gains mana/energy/rage, etc. This event is used by Blizzard's floating combat text addon.
arg3 does NOT return amount absorbed since at least patch 2.4
|
"DUEL_FINISHED"
| Category: Combat |
|
Fired when a duel is finished.
|
"DUEL_INBOUNDS"
| Category: Combat |
|
Fired when the player returns in bounds after being out of bounds during a duel.
|
"DUEL_OUTOFBOUNDS"
| Category: Combat |
|
Fired when the player leaves the bounds of the duel
|
"DUEL_REQUESTED"
| Category: Combat |
|
Fired when the player is challenged to a duel
|
"PET_ATTACK_START"
| Category: Combat,Pet |
|
Fired when the player's pet begins attacking.
|
"PET_ATTACK_STOP"
| Category: Combat,Pet |
|
Fired when the player's pet ceases attack
|
"PLAYER_COMBO_POINTS"
| Category: Player,Combat |
|
Fired when your combo points change.
Use the GetComboPoints() API to get the exact number of combo points you have. Note: This event fires for Warriors at seemingly random times.
|
"PLAYER_CONTROL_GAINED"
| Category: Player,Combat |
|
Fires after the PLAYER_CONTROL_LOST event, when control has been restored to the player.
|
"PLAYER_CONTROL_LOST"
| Category: Player,Combat |
|
Fires whenever the player is unable to control the character. Examples are when afflicted by fear or when using a taxi.
|
"PLAYER_ENTER_COMBAT"
| Category: Combat |
|
Fired when a player engages auto-attack. Note that firing a gun or a spell, or getting aggro, does NOT trigger this event. From a post by Dhrago on the WoW forums:
|
"PLAYER_FOCUS_CHANGED"
| Category: Combat,Unit Info |
|
This event is fired whenever the player's focus target (/focus) is changed, including when the focus target is lost or cleared.
|
"PLAYER_LEAVE_COMBAT"
| Category: Combat |
|
Fired when the player leaves combat through death, defeat of opponents, or an ability. Does not fire if a player flees from combat on foot.
|
"PLAYER_REGEN_DISABLED"
| Category: Player,Combat |
|
Fired whenever you enter combat, as normal regen rates are disabled during combat. This means that either you are in the hate list of a NPC or that you've been taking part in a pvp action (either as attacker or victim).
|
"PLAYER_REGEN_ENABLED"
| Category: Player,Combat |
|
Fired after ending combat, as regen rates return to normal. Useful for determining when a player has left combat. This occurs when you are not on the hate list of any NPC, or a few seconds after the latest pvp attack that you were involved with.
|
"PLAYER_TARGET_CHANGED"
| Category: Combat,Unit Info |
|
This event is fired whenever the player's target is changed, including when the target is lost. The arg1--arg9 values are undefined; they will be whatever they were in the previous event, i.e. if you click a unit portrait to change target, arg1 will be "LeftButton" - if you click a macro button, it will be the macro script, etc.
|
"UNIT_COMBAT"
| Category: Unit Info,Combat |
|
Fired when an npc or player participates in combat and takes damage
|
"UNIT_COMBO_POINTS"
| Category: Unit Info,Combat |
