- switched UnitMana* calls to UnitPower* calls as that seems to be the replacement Blizzard is using in cataclysm

This commit is contained in:
Parnic
2010-07-02 16:23:35 +00:00
parent 242bc75ea1
commit f1ce0700e3
2 changed files with 4 additions and 4 deletions

View File

@ -202,8 +202,8 @@ function IceUnitBar.prototype:Update()
self.maxHealth = UnitHealthMax(self.unit)
self.healthPercentage = self.maxHealth ~= 0 and (self.health/self.maxHealth) or 0
self.mana = UnitMana(self.unit)
self.maxMana = UnitManaMax(self.unit)
self.mana = UnitPower(self.unit)
self.maxMana = UnitPowerMax(self.unit)
self.manaPercentage = self.maxMana ~= 0 and (self.mana/self.maxMana) or 0
_, self.unitClass = UnitClass(self.unit)