mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
Version 0.2
- Added basic pet support - Added configuration (via both console and Dewdrop) - Fixed indexing problem with non-English clients
This commit is contained in:
@ -2,11 +2,10 @@ local AceOO = AceLibrary("AceOO-2.0")
|
||||
|
||||
local TargetMana = AceOO.Class(IceUnitBar)
|
||||
|
||||
|
||||
-- Constructor --
|
||||
function TargetMana.prototype:init()
|
||||
TargetMana.super.prototype.init(self, "TargetMana", "target")
|
||||
self.side = IceCore.Side.Right
|
||||
self.offset = 2
|
||||
|
||||
self:SetColor("targetMana", 52, 64, 221)
|
||||
self:SetColor("targetRage", 235, 44, 26)
|
||||
@ -15,6 +14,14 @@ function TargetMana.prototype:init()
|
||||
end
|
||||
|
||||
|
||||
function TargetMana.prototype:GetDefaultSettings()
|
||||
local settings = TargetMana.super.prototype.GetDefaultSettings(self)
|
||||
settings["side"] = IceCore.Side.Right
|
||||
settings["offset"] = 2
|
||||
return settings
|
||||
end
|
||||
|
||||
|
||||
function TargetMana.prototype:Enable()
|
||||
TargetMana.super.prototype.Enable(self)
|
||||
|
||||
|
Reference in New Issue
Block a user