Quantcast

teh new option

Darthpred [08-29-16 - 18:26]
teh new option
Filename
ElvUI_SLE/defaults/profile.lua
ElvUI_SLE/modules/quests/quests.lua
ElvUI_SLE/options/quests_c.lua
diff --git a/ElvUI_SLE/defaults/profile.lua b/ElvUI_SLE/defaults/profile.lua
index b38e9ba..3ed1a77 100644
--- a/ElvUI_SLE/defaults/profile.lua
+++ b/ElvUI_SLE/defaults/profile.lua
@@ -556,6 +556,7 @@ P["sle"] = {
 			["scenario"] = "FULL",
 			["rested"] = "FULL",
 			["garrison"] = "FULL",
+			["orderhall"] = "FULL",
 		},
 		["autoReward"] = false,
 	},
diff --git a/ElvUI_SLE/modules/quests/quests.lua b/ElvUI_SLE/modules/quests/quests.lua
index b87ef67..6b540ad 100644
--- a/ElvUI_SLE/modules/quests/quests.lua
+++ b/ElvUI_SLE/modules/quests/quests.lua
@@ -27,6 +27,8 @@ function Q:ChangeState(event)
 	if T.GetZoneText() == BL.Frostwall or T.GetZoneText() == BL.Lunarfall then
 		statedriver[Q.db.visibility.garrison](Q.frame)
 	--here be order halls
+	elseif T.GetRealZoneText() ~= _G["ORDER_HALL_"..E.myclass] then
+		statedriver[Q.db.visibility.orderhall](Q.frame)
 	elseif IsResting() then
 		statedriver[Q.db.visibility.rested](Q.frame)
 	else
diff --git a/ElvUI_SLE/options/quests_c.lua b/ElvUI_SLE/options/quests_c.lua
index c0207cc..020d785 100644
--- a/ElvUI_SLE/options/quests_c.lua
+++ b/ElvUI_SLE/options/quests_c.lua
@@ -53,32 +53,38 @@ local function configTable()
 						name = GARRISON_LOCATION_TOOLTIP,
 						values = settings,
 					},
-					bg = {
+					orderhall = {
 						order = 4,
 						type = "select",
+						name = L["Class Hall"],
+						values = settings,
+					},
+					bg = {
+						order = 5,
+						type = "select",
 						name = BATTLEGROUNDS,
 						values = settings,
 					},
 					arena = {
-						order = 5,
+						order = 6,
 						type = "select",
 						name = ARENA,
 						values = settings,
 					},
 					dungeon = {
-						order = 6,
+						order = 7,
 						type = "select",
 						name = DUNGEONS,
 						values = settings,
 					},
 					scenario = {
-						order = 7,
+						order = 8,
 						type = "select",
 						name = SCENARIOS,
 						values = settings,
 					},
 					raid = {
-						order = 8,
+						order = 9,
 						type = "select",
 						name = RAIDS,
 						values = settings,