From 6133a59ef3f76d6d73791d30639d2571c76b4364 Mon Sep 17 00:00:00 2001 From: Parnic Date: Sun, 7 Aug 2016 16:44:13 -0500 Subject: [PATCH] Added Maelstrom to the list of powers to treat 0 as full for opacity purposes --- modules/PlayerMana.lua | 2 +- modules/TargetMana.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/PlayerMana.lua b/modules/PlayerMana.lua index b6d6b89..11299f1 100644 --- a/modules/PlayerMana.lua +++ b/modules/PlayerMana.lua @@ -245,7 +245,7 @@ end function PlayerMana.prototype:TreatEmptyAsFull() return self.manaType == SPELL_POWER_RAGE or self.manaType == SPELL_POWER_RUNIC_POWER or (IceHUD.WowVer >= 70000 and (self.manaType == SPELL_POWER_LUNAR_POWER or self.manaType == SPELL_POWER_INSANITY - or self.manaType == SPELL_POWER_FURY)) + or self.manaType == SPELL_POWER_FURY or self.manaType == SPELL_POWER_MAELSTROM)) end function PlayerMana.prototype:UpdateEvent(event, unit, powertype) diff --git a/modules/TargetMana.lua b/modules/TargetMana.lua index 89d59d9..f865eed 100644 --- a/modules/TargetMana.lua +++ b/modules/TargetMana.lua @@ -133,7 +133,7 @@ end function IceTargetMana.prototype:TreatEmptyAsFull(manaType) return manaType == SPELL_POWER_RAGE or manaType == SPELL_POWER_RUNIC_POWER or (IceHUD.WowVer >= 70000 and (manaType == SPELL_POWER_LUNAR_POWER or manaType == SPELL_POWER_INSANITY - or manaType == SPELL_POWER_FURY)) + or manaType == SPELL_POWER_FURY or self.manaType == SPELL_POWER_MAELSTROM)) end -- OVERRIDE