Show focus raw value as top number when DogTags are disabled

This commit is contained in:
Parnic
2020-06-19 14:07:38 -05:00
parent db7d797eb2
commit 36c8f02fc2
2 changed files with 2 additions and 1 deletions

View File

@ -387,7 +387,7 @@ function PlayerMana.prototype:Update(unit, powertype)
if not IceHUD.IceCore:ShouldUseDogTags() then
-- extra hack for whiny rogues (are there other kind?)
local displayPercentage = self.manaPercentage
if (self.manaType == SPELL_POWER_ENERGY) then
if self.manaType == SPELL_POWER_ENERGY or self.manaType == SPELL_POWER_FOCUS then
displayPercentage = self.mana
else
displayPercentage = math.floor(displayPercentage * 100)