Thread Tools Display Modes
Prev Previous Post   Next Post Next
04-25-22, 01:45 PM   #1
Ledii
A Deviate Faerie Dragon
 
Ledii's Avatar
Join Date: Apr 2013
Posts: 10
Unhappy Help retreiving COMBAT_LOG info

Hi. Whenever I receive an event from COMBAT_LOG_EVENT I would like to obtain the level of the sourceGUID / sourceName.
I know I can obtain this information from my current target. But I need it to work without manual targeting involved.
I'm collecting statistics on how much damage each individual enemy dealt to you during the fight.
Is this possible in any way what so ever?

The most intuitive way I could think of doing this would ofc. be UnitLevel(sourceGUID / sourceName).
But from what I found through my research that is not allowed for what ever messed up reason.

If I cast spells myself, I could always cache my target and assume my next hit on the same GUID is the target info I just had. But if a random extra enemy enters mid-fight, I want to be able to get at least the name and level from that enemy. But preferably things like UnitCreatureType as well for aesthetic reasons.

Any suggestions here?
__________________
Take it as it comes...

Last edited by Ledii : 04-25-22 at 01:53 PM.
  Reply With Quote
 

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Help retreiving COMBAT_LOG info


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