Balance druids with Nature's Wrath now treat 50-100 astral power as full for alpha purposes

This commit is contained in:
Parnic
2018-07-24 21:49:59 -05:00
parent 02ad6253d3
commit 0d146ab10f

View File

@ -296,6 +296,14 @@ function PlayerMana.prototype:TreatEmptyAsFull()
or self.manaType == SPELL_POWER_FURY or self.manaType == SPELL_POWER_PAIN or self.manaType == SPELL_POWER_MAELSTROM))
end
function PlayerMana.prototype:IsFull(scale)
if IceHUD.WowVer >= 80000 and self.manaType == SPELL_POWER_LUNAR_POWER and IsPlayerSpell(202430) then
return scale - 0.5 >= 0
end
return PlayerMana.super.prototype.IsFull(self, scale)
end
function PlayerMana.prototype:UpdateEvent(event, unit, powertype)
self:Update(unit, powertype)
end