Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
WoW
Talk
English
Views
Read
Edit
History
More
Search
Navigation
Home
Random page
Help using wiki
Editions
for WoW
for WildStar
for Solar2D
Documentation
for WoW
for WildStar
Reference
WoW
⦁ FrameXML
⦁ AddOns
⦁ API
⦁ WoW Lua
WildStar
⦁ AddOns
⦁ API
⦁ WildStar Lua
Engine
Tools
What links here
Related changes
Special pages
Page information
Site
Recent Changes
Editing
WoW:API COMBAT LOG EVENT
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Events == How to get full event strings: Read prefix to suffix in order and use the parameter table as specified. Unused entries are nil. A Blank cell means that there are no additional arguments for this pre- or suffix. === Prefixes === The Parameters listed with prefixes are numbered in the order they come after the base 8 parameters. {| class="darktable zebra" |- ! Prefix !2nd Parameter !3rd Parameter !4th Parameter ! ! ! |- |SWING |- |RANGE||spellId||spellName||spellSchool |- |SPELL||spellId||spellName||spellSchool |- |SPELL_PERIODIC||spellId||spellName||spellSchool |- |SPELL_BUILDING||spellId||spellName||spellSchool |- |SPELL_ABSORBED*||absorbSourceGUID||absorbSourceName||absorbSourceFlags||absorbSourceRaidFlags||spellId||spellName||spellSchool |- |SPELL_ABSORBED||absorbSpellId||absorbSpellName||absorbSpellSchool||absorbSourceGUID||absorbSourceName||absorbSourceFlags||absorbSourceRaidFlags||spellId||spellName||spellSchool |- |ENVIRONMENTAL||environmentalType |} SPELL_ABSORBED* - When absorbed damage originated from a spell, will have additional 3 columns with spell info. === Suffixes === The Parameters listed with suffixes are numbered in the order they come after the prefix parameters. {| class="darktable zebra" |- !Suffix!!1st Param (13th)!!2nd Param (14th)!!3rd Param (15th)!!4th Param (16th)!!5th Param (17th)!!6th Param (18th)!!7th Param (19th)!!8th Param (20th)!!9th Param (21th) |- |_DAMAGE||amount||overkill||school||resisted||blocked||absorbed||critical (1 or nil)||glancing (1 or nil)||crushing (1 or nil) |- |_MISSED||missType||isOffHand||amountMissed* |- |_HEAL||amount||overhealing||absorbed||critical |- |_ENERGIZE||amount||powerType |- |_DRAIN||amount||powerType||extraAmount |- |_LEECH||amount||powerType||extraAmount |- |_INTERRUPT||extraSpellID||extraSpellName||extraSchool |- |_DISPEL||extraSpellID||extraSpellName||extraSchool||auraType |- |_DISPEL_FAILED||extraSpellID||extraSpellName||extraSchool |- |_STOLEN||extraSpellID||extraSpellName||extraSchool||auraType |- |_EXTRA_ATTACKS||amount |- |_AURA_APPLIED||auraType |- |_AURA_REMOVED||auraType |- |_AURA_APPLIED_DOSE||auraType||amount |- |_AURA_REMOVED_DOSE||auraType||amount |- |_AURA_REFRESH||auraType |- |_AURA_BROKEN||auraType |- |_AURA_BROKEN_SPELL||extraSpellID||extraSpellName||extraSchool||auraType |- |_CAST_START |- |_CAST_SUCCESS |- |_CAST_FAILED||failedType |- |_INSTAKILL |- |_DURABILITY_DAMAGE |- |_DURABILITY_DAMAGE_ALL |- |_CREATE |- |_SUMMON |- |_RESURRECT |} <nowiki>*</nowiki> Its possible that this value does not exists. (For instance MISS or IMMUNE) === Special Events === {| class="darktable zebra" !Event!!Prefix to use!!Suffix to use |- |DAMAGE_SHIELD||SPELL||_DAMAGE |- |DAMAGE_SPLIT||SPELL||_DAMAGE |- |DAMAGE_SHIELD_MISSED||SPELL||_MISSED |} {| class="darktable zebra" !Event!!1st Param!!2nd Param!!3rd Param |- |ENCHANT_APPLIED †||spellName||itemID||itemName |- |ENCHANT_REMOVED †||spellName||itemID||itemName |- |PARTY_KILL |- |UNIT_DIED |- |UNIT_DESTROYED |} † These events are pretty much useless. They are triggered when a weapon's enchant changes, but before the API information is updated to reflect the change. It is possible for main-hand and off-hand wielded weapons to have the same itemID. So we might not even know for sure which wea<includeonly></includeonly>pon the enchant changed on. When an enchant is reapplied the original is removed first, triggering an ENCHANT_REMOVED event before a ENCHANT_APPLIED event is triggered. A much better way of tracking temporary weapon enchants is to use the UNIT_INVENTORY_CHANGED event (a true event, not part of a COMBAT_LOG_EVENT_UNFILTERED) which is triggered every time an enchant changes. What's more, the information on the temporary enchants available through the API has been updated at the point this event is triggered. Sometimes the event is triggered twice however. {{C-inline}} The <tt>UNIT_DESTROYED</tt> event will fire for deaths of totems and certain {{Wowhead tooltip|npc|46391|NPCs}} instead of <tt>UNIT_DIED</tt>
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)