drop MobHealth3 / MobHealthFrame fallbacks

libhealth ships with pfUI and Nampower's GetUnitField (hard-dep) covers
the real-HP read; the MobHealth integration was a chained last-resort
fallback that could never actually win, and on the nameplate path it
also mixed percentage and real-value scales into the bar's SetMinMaxValues
since it overwrote hp/hpmax without hpmin.
This commit is contained in:
Brues
2026-06-27 16:08:39 -05:00
parent 0cbd9ecf98
commit f657a9e7e8
3 changed files with 0 additions and 16 deletions
-2
View File
@@ -2838,8 +2838,6 @@ function pfUI.uf:GetStatusValue(unit, pos)
-- Use libhealth for mob health estimation (overrides Nampower/Standard)
if pfUI.libhealth and pfUI.libhealth.enabled then
rhp, rhpmax = pfUI.libhealth:GetUnitHealth(unitstr)
elseif unit.label == "target" and (MobHealth3 or MobHealthFrame) and MobHealth_GetTargetCurHP() then
rhp, rhpmax = MobHealth_GetTargetCurHP(), MobHealth_GetTargetMaxHP()
end
if config == "unit" then