|
发表于 2024-1-22 22:19:43
|
显示全部楼层
似乎你发的是你修改过的,建议在原版上改,然后看下第243行,试试看这样改行不行
if target then
if UnitName(unit .. "target")==UnitName("player") then
GameTooltip:AddLine("YOU", 1, 0, 0)
elseif UnitIsPlayer(unit .. "target") and targetClass then
local color = RAID_CLASS_COLORS[targetClass]
GameTooltip:AddLine(target, color.r, color.g, color.b)
elseif targetReaction then
local color = UnitReactionColor[targetReaction]
if color then
GameTooltip:AddLine(target, color.r, color.g, color.b)
else
GameTooltip:AddLine(target, .5, .5, .5)
end
end
|
|