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

@ -1,5 +1,6 @@
v1.12.13:
- Fixed various class power indicators using the wrong alpha visibility if the player teleported (like with a Hearthstone) when they had a target selected.
- Show Hunter Focus top text as the raw Focus amount instead of a 0-100 scale with DogTags off.
v1.12.12:
- (Classic) Fixed an error when certain spell events fire (like turning in Arathi Basin tokens) with LibClassicCasterino installed.

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)