From 104ed7c806460ed5230bf32c88ae00f6ca0b8f1a Mon Sep 17 00:00:00 2001 From: "James D. Callahan III" Date: Fri, 26 Mar 2010 01:22:37 -0400 Subject: [PATCH] Changed private.reputation_colors to pull from FACTION_BAR_COLORS instead of from QuestDifficultyColors, and added entries for "hated", "hostile", and "unfriendly". --- Constants.lua | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/Constants.lua b/Constants.lua index 299f8c5..b0ec860 100644 --- a/Constants.lua +++ b/Constants.lua @@ -273,9 +273,12 @@ local function GetColorsFromTable(dict) end private.reputation_colors = { - ["exalted"] = RGBtoHEX(GetColorsFromTable(_G.QuestDifficultyColors["impossible"])), - ["revered"] = RGBtoHEX(GetColorsFromTable(_G.QuestDifficultyColors["verydifficult"])), - ["honored"] = RGBtoHEX(GetColorsFromTable(_G.QuestDifficultyColors["difficult"])), - ["friendly"] = RGBtoHEX(GetColorsFromTable(_G.QuestDifficultyColors["standard"])), - ["neutral"] = RGBtoHEX(GetColorsFromTable(_G.QuestDifficultyColors["trivial"])), + ["exalted"] = RGBtoHEX(GetColorsFromTable(_G.FACTION_BAR_COLORS[8])), + ["revered"] = RGBtoHEX(GetColorsFromTable(_G.FACTION_BAR_COLORS[7])), + ["honored"] = RGBtoHEX(GetColorsFromTable(_G.FACTION_BAR_COLORS[6])), + ["friendly"] = RGBtoHEX(GetColorsFromTable(_G.FACTION_BAR_COLORS[5])), + ["neutral"] = RGBtoHEX(GetColorsFromTable(_G.FACTION_BAR_COLORS[4])), + ["unfriendly"] = RGBtoHEX(GetColorsFromTable(_G.FACTION_BAR_COLORS[3])), + ["hostile"] = RGBtoHEX(GetColorsFromTable(_G.FACTION_BAR_COLORS[2])), + ["hated"] = RGBtoHEX(GetColorsFromTable(_G.FACTION_BAR_COLORS[1])), } -- 1.7.9.5