- added a global toggle for DogTags so they can be enabled or disabled for the mod

- added an optional rare/elite/rare-elite indicator to the target health bar (off by default)
- made configuration mode show target raid icons (and the new elite indicator as well)
This commit is contained in:
Parnic
2008-10-26 23:02:13 +00:00
parent f9de9f8c92
commit 49a590e879
16 changed files with 207 additions and 28 deletions

View File

@ -33,11 +33,6 @@ function TargetInfo.prototype:init()
TargetInfo.super.prototype.init(self, "TargetInfo")
self.scalingEnabled = true
if AceLibrary:HasInstance("LibDogTag-3.0") then
DogTag = AceLibrary("LibDogTag-3.0")
AceLibrary("LibDogTag-Unit-3.0")
end
end
@ -48,6 +43,11 @@ end
function TargetInfo.prototype:Enable(core)
TargetInfo.super.prototype.Enable(self, core)
if IceHUD.IceCore:ShouldUseDogTags() then
DogTag = AceLibrary("LibDogTag-3.0")
AceLibrary("LibDogTag-Unit-3.0")
end
self:RegisterEvent("UNIT_AURA", "AuraChanged")
self:RegisterEvent("UNIT_NAME_UPDATE", "TargetName")