- added generic custom health and mana bars so that users can monitor any unit they want complete with click-targeting/-casting

This commit is contained in:
Parnic
2010-07-26 03:13:03 +00:00
parent b2bedc381b
commit 863e150a34
8 changed files with 440 additions and 8 deletions

View File

@ -68,8 +68,8 @@ function IceTargetMana.prototype:Update(unit)
if (unit and (unit ~= self.unit)) then
return
end
if ((not UnitExists(unit)) or (self.maxMana == 0)) then
if ((not UnitExists(self.unit)) or (self.maxMana == 0)) then
self:Show(false)
return
else