From 616b726a7625f21bc1c11fedb6c0b582a8cca9f0 Mon Sep 17 00:00:00 2001 From: shagu Date: Wed, 20 Jan 2021 16:35:20 +0100 Subject: [PATCH] chat: adjust chat history colors --- modules/chat.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/chat.lua b/modules/chat.lua index 4ff96328..1a34c95e 100644 --- a/modules/chat.lua +++ b/modules/chat.lua @@ -31,7 +31,7 @@ pfUI:RegisterModule("chat", "vanilla:tbc", function () pfUI_cache["chathistory"][realm][player][id] = pfUI_cache["chathistory"][realm][player][id] or {} if r and g and b then - local color = rgbhex(r*.6, g*.6, b*.6) + local color = rgbhex(r*.5+.2, g*.5+.2, b*.5+.2) msg = string.gsub(msg, "^", color) msg = string.gsub(msg, "|r", "|r" .. color) end @@ -758,7 +758,7 @@ pfUI:RegisterModule("chat", "vanilla:tbc", function () local history = GetChatHistory(i) for j=30,0,-1 do if history[j] then - _G["ChatFrame"..i]:AddMessage(history[j], .6,.6,.6) + _G["ChatFrame"..i]:AddMessage(history[j], .7,.7,.7) end end end