Thread Tools Display Modes
06-20-17, 02:01 AM   #1
galvin
A Frostmaul Preserver
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 265
Combatlog: Where is the _ABSORBED suffix?

I don't see it on http://wow.gamepedia.com/COMBAT_LOG_EVENT

Is there a more updated combatlogunfiltered info?
  Reply With Quote
06-20-17, 02:55 AM   #2
Kakjens
A Cliff Giant
Join Date: Apr 2017
Posts: 75
On that page it's written that ABSORB is part of _MISSED.
  Reply With Quote
06-20-17, 11:33 AM   #3
galvin
A Frostmaul Preserver
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 265
This comes from the combat log events, its not a parm.
The one I want to use is SPELL_ABSORBED, This is created from prefix and suffix.

The _ABSORBED is not on the list.

I need documentation for this one
  Reply With Quote
06-20-17, 12:41 PM   #4
Resike
A Pyroguard Emberseer
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,290
Originally Posted by galvin View Post
This comes from the combat log events, its not a parm.
The one I want to use is SPELL_ABSORBED, This is created from prefix and suffix.

The _ABSORBED is not on the list.

I need documentation for this one
There is no _ABSORBED suffix, you need the _MISSED one and then filter the missType parameter to "ABSORB".
  Reply With Quote
06-20-17, 12:50 PM   #5
galvin
A Frostmaul Preserver
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 265
There is otherwise how does this code work?
https://wago.io/NormalStagger

This comes from the trigger1
The code is looking at the combatlog events, and looking for SPELL_ABSORBED
I also googled this and found some mods came across this event and they had to fix their mods.
But there's no documentation anywhere.

Code:
 local time = select(1,...)
    local type = select(2,...)
    local destGUID = select(8,...)
    
    
    if destGUID==aura_env.player then --grab only things that target me
        local offset = 12
        
        
        if type=="SPELL_ABSORBED" then --stagger's mitigation is all in absorb
            
            
            if GetSpellInfo((select(offset, ...)))==(select(offset + 1, ...)) then
  Reply With Quote
06-20-17, 01:32 PM   #6
Resike
A Pyroguard Emberseer
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,290
Originally Posted by galvin View Post
There is otherwise how does this code work?
https://wago.io/NormalStagger

This comes from the trigger1
The code is looking at the combatlog events, and looking for SPELL_ABSORBED
I also googled this and found some mods came across this event and they had to fix their mods.
But there's no documentation anywhere.

Code:
 local time = select(1,...)
    local type = select(2,...)
    local destGUID = select(8,...)
    
    
    if destGUID==aura_env.player then --grab only things that target me
        local offset = 12
        
        
        if type=="SPELL_ABSORBED" then --stagger's mitigation is all in absorb
            
            
            if GetSpellInfo((select(offset, ...)))==(select(offset + 1, ...)) then
I guess than they did changed it:

Lua Code:
  1. local function SPELL_ABSORBED(...)
  2.     local _, _, _, _, _, _, _, _, arg9 = ...
  3.     if type(arg9) == "number" then
  4.         -- Spell
  5.         local timestamp, eventtype, srcGUID, srcName, srcFlags, dstGUID, dstName, dstFlags, srcSpellId, srcSpellName, srcSpellSchool, casterGUID, casterName, casterFlags, casterRaidFlags, spellId, spellName, spellSchool, absorbed = ...
  6.     else
  7.         -- Melee/Ranged
  8.         local timestamp, eventtype, srcGUID, srcName, srcFlags, dstGUID, dstName, dstFlags, casterGUID, casterName, casterFlags, casterRaidFlags, spellId, spellName, spellSchool, absorbed = ...
  9.     end
  10. end

If the 9th parameter is a number then it's a spell, it not then it's from melee/ranged attacks.

Last edited by Resike : 06-20-17 at 01:35 PM.
  Reply With Quote
06-20-17, 01:43 PM   #7
galvin
A Frostmaul Preserver
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 265
Thanks for the info
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Combatlog: Where is the _ABSORBED suffix?


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off