From 9ed739fb1b57dceb1d40f902781f9d047dbba12f Mon Sep 17 00:00:00 2001 From: Parnic Date: Sat, 28 May 2016 02:18:06 -0500 Subject: [PATCH] Fixed number of Chi not necessarily being correct on login --- modules/HarmonyPower.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/HarmonyPower.lua b/modules/HarmonyPower.lua index 0b71929..1a1e75a 100644 --- a/modules/HarmonyPower.lua +++ b/modules/HarmonyPower.lua @@ -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")