From ca87f7148f94f6d9b894b696426004fa93749c04 Mon Sep 17 00:00:00 2001 From: shagu Date: Fri, 8 Nov 2024 08:55:00 +0100 Subject: [PATCH] nameplates: show unit tapping state with superwow --- modules/nameplates.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/nameplates.lua b/modules/nameplates.lua index eac617b1..0064c63d 100644 --- a/modules/nameplates.lua +++ b/modules/nameplates.lua @@ -704,6 +704,10 @@ pfUI:RegisterModule("nameplates", "vanilla:tbc", function () r, g, b, a = RAID_CLASS_COLORS[class].r, RAID_CLASS_COLORS[class].g, RAID_CLASS_COLORS[class].b, 1 end + if superwow_active and unitstr and UnitIsTapped(unitstr) and not UnitIsTappedByPlayer(unitstr) then + r, g, b, a = .5, .5, .5, .8 + end + if r ~= plate.cache.r or g ~= plate.cache.g or b ~= plate.cache.b then plate.health:SetStatusBarColor(r, g, b, a) plate.cache.r, plate.cache.g, plate.cache.b = r, g, b