mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-21 11:50:49 +00:00
nameplates: use proper target glow detection
This commit is contained in:
@@ -463,14 +463,14 @@ pfUI:RegisterModule("nameplates", "vanilla:tbc", function ()
|
|||||||
end
|
end
|
||||||
|
|
||||||
-- target indicator
|
-- target indicator
|
||||||
if UnitExists("target") and healthbar:GetAlpha() == 1 and C.nameplates.targethighlight == "1" then
|
if UnitExists("target") and this:GetAlpha() == 1 and C.nameplates.targethighlight == "1" then
|
||||||
healthbar.bgtarget:Show()
|
healthbar.bgtarget:Show()
|
||||||
else
|
else
|
||||||
healthbar.bgtarget:Hide()
|
healthbar.bgtarget:Hide()
|
||||||
end
|
end
|
||||||
|
|
||||||
-- glow target indicator
|
-- glow target indicator
|
||||||
if UnitExists("target") and healthbar:GetAlpha() == 1 and C.nameplates.targetglow == "1" then
|
if UnitExists("target") and this:GetAlpha() == 1 and C.nameplates.targetglow == "1" then
|
||||||
healthbar.glowtarget:Show()
|
healthbar.glowtarget:Show()
|
||||||
else
|
else
|
||||||
healthbar.glowtarget:Hide()
|
healthbar.glowtarget:Hide()
|
||||||
|
|||||||
Reference in New Issue
Block a user