mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- Even more configuration options
- SpellStatus lib for spell casting (shows rank now too)
This commit is contained in:
@ -54,8 +54,7 @@ function TargetHealth.prototype:Enable()
|
||||
|
||||
self:RegisterEvent("UNIT_HEALTH", "Update")
|
||||
self:RegisterEvent("UNIT_MAXHEALTH", "Update")
|
||||
self:RegisterEvent("PLAYER_TARGET_CHANGED", "TargetChanged")
|
||||
|
||||
|
||||
self:Update(self.unit)
|
||||
end
|
||||
|
||||
@ -65,10 +64,6 @@ function TargetHealth.prototype:Disable()
|
||||
end
|
||||
|
||||
|
||||
function TargetHealth.prototype:TargetChanged()
|
||||
self:Update(self.unit)
|
||||
end
|
||||
|
||||
|
||||
function TargetHealth.prototype:Update(unit)
|
||||
TargetHealth.super.prototype.Update(self)
|
||||
|
Reference in New Issue
Block a user