- Even more configuration options

- SpellStatus lib for spell casting (shows rank now too)
This commit is contained in:
iceroth
2006-08-13 15:39:30 +00:00
parent f92e1fffd6
commit 212aa3c9f8
14 changed files with 580 additions and 249 deletions

View File

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