Changed private.reputation_colors to pull from FACTION_BAR_COLORS instead of from QuestDifficultyColors, and added entries for "hated", "hostile", and "unfriendly".
James D. Callahan III [03-26-10 - 05:22]
Changed private.reputation_colors to pull from FACTION_BAR_COLORS instead of from QuestDifficultyColors, and added entries for "hated", "hostile", and "unfriendly".
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])),
}