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:
iceroth
2006-07-21 09:11:03 +00:00
parent 772fe5a179
commit 0106530c98
17 changed files with 948 additions and 136 deletions

View File

@ -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)