diff --git a/api/unitframes.lua b/api/unitframes.lua index 598fad44..94c883e0 100644 --- a/api/unitframes.lua +++ b/api/unitframes.lua @@ -2179,7 +2179,8 @@ function pfUI.uf:GetStatusValue(unit, pos) return unit:GetColor("power") .. pfUI.api.Abbreviate(power) end elseif config == "powerdyn" then - if mp ~= mpmax then + -- show percentage when only mana is less than 100% + if mp ~= mpmax and UnitPowerType(unitstr) == 0 then return unit:GetColor("power") .. pfUI.api.Abbreviate(mp) .. " - " .. ceil(mp / mpmax * 100) .. "%" else return unit:GetColor("power") .. pfUI.api.Abbreviate(mp)