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:
@ -33,16 +33,10 @@ function TargetMana.prototype:Enable()
|
||||
self:RegisterEvent("UNIT_MAXENERGY", "Update")
|
||||
self:RegisterEvent("UNIT_AURA", "Update")
|
||||
|
||||
self:RegisterEvent("PLAYER_TARGET_CHANGED", "TargetChanged")
|
||||
|
||||
self:Update("target")
|
||||
end
|
||||
|
||||
|
||||
function TargetMana.prototype:TargetChanged()
|
||||
self:Update("target")
|
||||
end
|
||||
|
||||
|
||||
function TargetMana.prototype:Update(unit)
|
||||
TargetMana.super.prototype.Update(self)
|
||||
|
Reference in New Issue
Block a user