Quantcast

In GenerateTooltipContent(): For MOB_DROP, color the mob name by the "hostile" color.

James D. Callahan III [03-26-10 - 06:06]
In GenerateTooltipContent(): For MOB_DROP, color the mob name by the "hostile" color.
Filename
Frame.lua
diff --git a/Frame.lua b/Frame.lua
index 4bfaedf..232b3cb 100644
--- a/Frame.lua
+++ b/Frame.lua
@@ -753,7 +753,7 @@ do
 						coord_text = "(" .. mob.coord_x .. ", " .. mob.coord_y .. ")"
 					end
 					color_1 = addon:hexcolor("MOBDROP")
-					color_2 = addon:hexcolor("HORDE")
+					color_2 = "|cff"..private.reputation_colors["hostile"]

 					ttAdd(0, -1, false, L["Mob Drop"], color_1, mob.name, color_2)