diff --git a/IceHUD.toc b/IceHUD.toc index b129f1c..1eae5c5 100644 --- a/IceHUD.toc +++ b/IceHUD.toc @@ -1,4 +1,4 @@ -## Interface: 50001 +## Interface: 50100 ## Author: Parnic, originally created by Iceroth ## Name: IceHUD ## Title: IceHUD |cff7fff7f-Ace3-|r diff --git a/modules/HarmonyPower.lua b/modules/HarmonyPower.lua index 23b4eb8..1995f2e 100644 --- a/modules/HarmonyPower.lua +++ b/modules/HarmonyPower.lua @@ -17,7 +17,11 @@ function HarmonyPower.prototype:init() } self.numRunes = 4 self.numericColor = "HarmonyPowerNumeric" - self.unitPower = SPELL_POWER_LIGHT_FORCE + if IceHUD.WowVer >= 50100 then + self.unitPower = SPELL_POWER_CHI + else + self.unitPower = SPELL_POWER_LIGHT_FORCE + end self.minLevel = 0 self.bTreatEmptyAsFull = true self.unit = "player" @@ -31,7 +35,7 @@ function HarmonyPower.prototype:Enable(core) end function HarmonyPower.prototype:UpdateRunePower(event, arg1, arg2) - if event == "UNIT_POWER_FREQUENT" and (arg1 ~= self.unit or (arg2 ~= "LIGHT_FORCE" and arg2 ~= "DARK_FORCE")) then + if event == "UNIT_POWER_FREQUENT" and (arg1 ~= self.unit or (arg2 ~= "CHI" and arg2 ~= "LIGHT_FORCE" and arg2 ~= "DARK_FORCE")) then return end