mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 22:51:53 -05:00
Added Maelstrom to the list of powers to treat 0 as full for opacity purposes
This commit is contained in:
@ -245,7 +245,7 @@ end
|
|||||||
function PlayerMana.prototype:TreatEmptyAsFull()
|
function PlayerMana.prototype:TreatEmptyAsFull()
|
||||||
return self.manaType == SPELL_POWER_RAGE or self.manaType == SPELL_POWER_RUNIC_POWER
|
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 (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
|
end
|
||||||
|
|
||||||
function PlayerMana.prototype:UpdateEvent(event, unit, powertype)
|
function PlayerMana.prototype:UpdateEvent(event, unit, powertype)
|
||||||
|
@ -133,7 +133,7 @@ end
|
|||||||
function IceTargetMana.prototype:TreatEmptyAsFull(manaType)
|
function IceTargetMana.prototype:TreatEmptyAsFull(manaType)
|
||||||
return manaType == SPELL_POWER_RAGE or manaType == SPELL_POWER_RUNIC_POWER
|
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 (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
|
end
|
||||||
|
|
||||||
-- OVERRIDE
|
-- OVERRIDE
|
||||||
|
Reference in New Issue
Block a user