From 4ff21b578e6c056ad11da998ce5034753dcc236e Mon Sep 17 00:00:00 2001 From: shagu Date: Fri, 17 Apr 2020 20:42:19 +0200 Subject: [PATCH] nameplates: only show boss level for npcs --- modules/nameplates.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/nameplates.lua b/modules/nameplates.lua index e77bc2ad..f5f5e73d 100644 --- a/modules/nameplates.lua +++ b/modules/nameplates.lua @@ -349,7 +349,7 @@ pfUI:RegisterModule("nameplates", "vanilla:tbc", function () local red, green, blue = plate.parent.healthbar:GetStatusBarColor() local unittype = GetUnitType(red, green, blue) if player and unittype == "ENEMY_NPC" then unittype = "ENEMY_PLAYER" end - elite = plate.parent.levelicon:IsShown() and "boss" or elite + elite = plate.parent.levelicon:IsShown() and not player and "boss" or elite if not class then plate.wait_for_scan = true end if (MobHealth3 or MobHealthFrame) and target and name == UnitName('target') and MobHealth_GetTargetCurHP() then