- 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

@ -18,11 +18,6 @@ IceBarElement.prototype.CurrScale = 1
-- Constructor --
function IceBarElement.prototype:init(name)
IceBarElement.super.prototype.init(self, name)
if AceLibrary:HasInstance("LibDogTag-3.0") then
DogTag = AceLibrary("LibDogTag-3.0")
AceLibrary("LibDogTag-Unit-3.0")
end
end
@ -33,6 +28,11 @@ end
function IceBarElement.prototype:Enable()
IceBarElement.super.prototype.Enable(self)
if IceHUD.IceCore:ShouldUseDogTags() and AceLibrary:HasInstance("LibDogTag-3.0") then
DogTag = AceLibrary("LibDogTag-3.0")
AceLibrary("LibDogTag-Unit-3.0")
end
if self.moduleSettings.myTagVersion < IceHUD.CurrTagVersion then
local origDefaults = self:GetDefaultSettings()