WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Wish List (https://www.wowinterface.com/forums/forumdisplay.php?f=15)
-   -   Aura duration in COMBAT_LOG_EVENT (https://www.wowinterface.com/forums/showthread.php?t=32516)

dr_AllCOM3 05-14-10 09:46 PM

Aura duration in COMBAT_LOG_EVENT
 
There's no way to get an aura duration from COMBAT_LOG_EVENT.
I wish that SPELL_AURA_APPLIED and SPELL_AURA_REFRESH would provide the expiration time as an additional parameter.

hipjipp 05-24-10 06:49 AM

Quote:

Originally Posted by dr_AllCOM3 (Post 188041)
There's no way to get an aura duration from COMBAT_LOG_EVENT.
I wish that SPELL_AURA_APPLIED and SPELL_AURA_REFRESH would provide the expiration time as an additional parameter.

I'm just guessing, but couldn't you just fetch the spell and get the duration from there? sure, it might be a way around, but doesn't it work?

Verissi 05-25-10 09:07 AM

Quote:

Originally Posted by hipjipp (Post 189235)
I'm just guessing, but couldn't you just fetch the spell and get the duration from there? sure, it might be a way around, but doesn't it work?

You could get it from the aura itself (it does work), but I agree that it would be really nice to have it provided in SPELL_AURA_REFRESH or SPELL_AURA_APPLIED combat log entries rather than having to go through any extra steps.

acapela 05-25-10 12:50 PM

a quick brain dump, based on what i know.

with a target unit id, you can use UnitAura(), and obtain the actual remaining duration of the aura(s) active on the target (presumably taking into account the caster's talents, etc). as far as i know, that is the "only way".

as far as i know, there is nothing simple/direct in the combat log, and even with a spell id from the combat log, querying via GetSpellInfo(), there is nothing that can give you anything on aura effect duration.

i suppose you could try tracking matching sets of _AURA_APPLIED/_AURA_REMOVED events (match them up based on target GUID?), do arithmetic on the timestamps, and save the result per spell id for "future reference".


All times are GMT -6. The time now is 05:30 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI