Thread Tools Display Modes
04-01-10, 04:05 PM   #1
Haturod
A Murloc Raider
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 4
UnitAura() and Area Debuffs

I've been thinking and looking for the best way to deal with the following problem.

UnitAura works nice for most debuffs, but how can I be sure somethings is an Area debuff like Consecrate? UnitAura doesn't detect it. The way I approach it now is listen for the combat log event, SPELL_AURA_APPLIED and if the debuff isn't detected by UnitAura, it'll assume it's a Area Debuff.

Surely, there must be a better way I have not yet discovered Any ideas?
  Reply With Quote
04-01-10, 04:52 PM   #2
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,934
Hmm, you could try the environmental damage tests and see what comes up there. Technically where it isn't a targetted spell it may well be an environmental one. *shrugs* all I can think of though apart from what you are doing.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
  Reply With Quote
04-04-10, 01:23 AM   #3
Haturod
A Murloc Raider
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 4
KK, thanks for the reply!

I'll play around a bit with the Enviromental dmg see what I can do there
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » UnitAura() and Area Debuffs


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