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