mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- 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:
@ -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()
|
||||
|
||||
|
Reference in New Issue
Block a user