mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-27 09:56:03 +00:00
tooltip: exclude pet from mobhealth
This commit is contained in:
+1
-1
@@ -132,7 +132,7 @@ pfUI:RegisterModule("tooltip", 20400, function ()
|
||||
local level = UnitLevel("mouseover") or ""
|
||||
local index = name .. ":" .. level
|
||||
local ppp = MobHealth_PPP(index)
|
||||
if perc and ppp and ppp > 0 then
|
||||
if perc and ppp and ppp > 0 and not UnitIsUnit("mouseover", "pet") then
|
||||
hp = round(perc * ppp)
|
||||
hpm = round(100 * ppp)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user