Added Maelstrom to the list of powers to treat 0 as full for opacity purposes

This commit is contained in:
Parnic
2016-08-07 16:44:13 -05:00
parent a201aa5149
commit 6133a59ef3
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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