Quantcast WoWInterface - View Single Post - UnitAura() - dispelType to return "Enrage"
View Single Post
11-21-11, 06:23 PM   #5
A Murloc Raider
oomp's Avatar
AddOn Author - Click to view addons
Join Date: May 2009
Posts: 7
Taken from ShadowedUnitFrames/modules/auras.lua:

-- Blizzard bug, Enrage is an empty string.
cureType = auraType == "" and "Enrage" or auraType

...where auraType is the 5th argument returned by UnitAura. I personally haven't tested if this solution works in all cases, but, if it does, it's a lot better than tooltip scanning.
  Reply With Quote