This commit is contained in:
Pinya
2018-07-18 15:06:20 +03:00
parent de74893739
commit c60324af12
52 changed files with 48 additions and 190 deletions
-2
View File
@@ -158,14 +158,12 @@ function TT:UPDATE_MOUSEOVER_UNIT(_, unit)
TT:RemoveTrashLines(GameTooltip)
local level = UnitLevel(unit)
local isShiftKeyDown = IsShiftKeyDown()
local color
if UnitIsPlayer(unit) then
local localeClass, class = UnitClass(unit)
local name = UnitName(unit)
local guildName, guildRankName = GetGuildInfo(unit)
local pvpName = UnitPVPName(unit)
if not localeClass or not class then return end
color = CUSTOM_CLASS_COLORS and CUSTOM_CLASS_COLORS[class] or RAID_CLASS_COLORS[class]