Version 0.7

- Added an option to change the bar colors
- Using scheduled events now instead of Metrognome
- Some small bug fixes
This commit is contained in:
iceroth
2006-09-24 14:41:55 +00:00
parent 4a0991adac
commit fdbb8843ee
19 changed files with 178 additions and 112 deletions

View File

@ -6,7 +6,7 @@ local PetHealth = AceOO.Class(IceUnitBar)
function PetHealth.prototype:init()
PetHealth.super.prototype.init(self, "PetHealth", "pet")
self:SetColor("petHealth", 37, 164, 30)
self:SetDefaultColor("PetHealth", 37, 164, 30)
self.scalingEnabled = true
end
@ -69,9 +69,9 @@ function PetHealth.prototype:Update(unit)
return
end
local color = "petHealth"
local color = "PetHealth"
if not (self.alive) then
color = "dead"
color = "Dead"
end