From ce38d07f452d1729fe0d846a95b38d397aa2b6aa Mon Sep 17 00:00:00 2001 From: Scott Sibley Date: Sat, 11 Dec 2010 06:04:27 +0000 Subject: [PATCH] Color tagged mobs grey --- Modules/UnitTooltip/UnitTooltip.lua | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Modules/UnitTooltip/UnitTooltip.lua b/Modules/UnitTooltip/UnitTooltip.lua index 2286a34..28958c1 100644 --- a/Modules/UnitTooltip/UnitTooltip.lua +++ b/Modules/UnitTooltip/UnitTooltip.lua @@ -76,7 +76,11 @@ local r, g, b if UnitIsPlayer(unit) then r, g, b = ClassColor(unit) else - r, g, b = UnitSelectionColor(unit) + if UnitIsTapped(unit) and not UnitIsTappedByPlayer(unit) then + r, g, b = .5, .5, .5 + else + r, g, b = UnitSelectionColor(unit) + end end local afk = AFK(unit) if afk then @@ -440,12 +444,13 @@ return select(2, GetRole(unit)) [22] = { name = "Zone", left = [[ +-- This doesn't work. Leaving it here for now. return "Zone:" ]], right = [[ return select(6, UnitGuildInfo(unit)) ]], - enabled = true + enabled = false }, [23] = { name = "Location", -- 1.7.9.5