Thread Tools Display Modes
05-14-10, 09:46 PM   #1
dr_AllCOM3
A Cyclonian
 
dr_AllCOM3's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 40
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.
  Reply With Quote
05-24-10, 06:49 AM   #2
hipjipp
A Cliff Giant
 
hipjipp's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 79
Originally Posted by dr_AllCOM3 View Post
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?
  Reply With Quote
05-25-10, 09:07 AM   #3
Verissi
Premium Member
 
Verissi's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2006
Posts: 99
Originally Posted by hipjipp View Post
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.
__________________
"I can calculate the motions of the heavenly bodies, but not the madness of people." - Sir Isaac Newton
"Half of twice as intimidating as Saurfang is still one whole Saurfang worth of intimidation." - Anticlaus, Gorefiend server
  Reply With Quote
05-25-10, 12:50 PM   #4
acapela
A Cobalt Mageweaver
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 241
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".
__________________
Retired author/maintainer of Aloft (the nameplate addon)
http://www.wowinterface.com/download...AloftBeta.html
-----
Zippy said it best: "All life is a BLUR of Republicans and Meat!"
  Reply With Quote

WoWInterface » Developer Discussions » Wish List » Aura duration in COMBAT_LOG_EVENT

Thread Tools
Display Modes

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