diff --git a/modules/PlayerMana.lua b/modules/PlayerMana.lua index 11299f1..08440fb 100644 --- a/modules/PlayerMana.lua +++ b/modules/PlayerMana.lua @@ -19,6 +19,7 @@ function PlayerMana.prototype:init() if IceHUD.WowVer >= 70000 then self:SetDefaultColor("PlayerInsanity", 150, 50, 255) self:SetDefaultColor("PlayerFury", 255, 50, 255) + self:SetDefaultColor("PlayerMaelstrom", 62, 54, 152) end end @@ -298,6 +299,8 @@ function PlayerMana.prototype:Update(unit, powertype) color = "PlayerInsanity" elseif (IceHUD.WowVer >= 70000 and self.manaType == SPELL_POWER_FURY) then color = "PlayerFury" + elseif (IceHUD.WowVer >= 70000 and self.manaType == SPELL_POWER_MAELSTROM) then + color = "PlayerMaelstrom" end end diff --git a/modules/TargetMana.lua b/modules/TargetMana.lua index f865eed..f664bd0 100644 --- a/modules/TargetMana.lua +++ b/modules/TargetMana.lua @@ -21,6 +21,7 @@ function IceTargetMana.prototype:init(moduleName, unit) if IceHUD.WowVer >= 70000 then self:SetDefaultColor("TargetInsanity", 150, 50, 255) self:SetDefaultColor("TargetFury", 255, 50, 255) + self:SetDefaultColor("TargetMaelstrom", 52, 64, 221) end end @@ -109,10 +110,12 @@ function IceTargetMana.prototype:Update(unit) self.color = "TargetEnergy" elseif (manaType == SPELL_POWER_RUNIC_POWER) then self.color = "TargetRunicPower" - elseif (IceHUD.WowVer >= 70000 and self.manaType == SPELL_POWER_INSANITY) then + elseif (IceHUD.WowVer >= 70000 and manaType == SPELL_POWER_INSANITY) then self.color = "TargetInsanity" - elseif (IceHUD.WowVer >= 70000 and self.manaType == SPELL_POWER_FURY) then + elseif (IceHUD.WowVer >= 70000 and manaType == SPELL_POWER_FURY) then self.color = "TargetFury" + elseif (IceHUD.WowVer >= 70000 and manaType == SPELL_POWER_MAELSTROM) then + self.color = "TargetMaelstrom" end if (self.tapped) then