Fixed number of Chi not necessarily being correct on login

This commit is contained in:
Parnic
2016-05-28 02:18:06 -05:00
parent ab1ad06185
commit 9ed739fb1b

View File

@ -33,6 +33,8 @@ function HarmonyPower.prototype:init()
end
function HarmonyPower.prototype:Enable(core)
self.numRunes = UnitPowerMax(self.unit, self.unitPower)
HarmonyPower.super.prototype.Enable(self, core)
self:RegisterEvent("UNIT_POWER_FREQUENT", "UpdateRunePower")