Quantcast

Few fixes for the new filters...

ackis [11-14-08 - 08:32]
Few fixes for the new filters...
Filename
ARLFrame.lua
Documentation.lua
diff --git a/ARLFrame.lua b/ARLFrame.lua
index 4185eca..10498eb 100644
--- a/ARLFrame.lua
+++ b/ARLFrame.lua
@@ -476,7 +476,7 @@ function addon.numFilters()

 	-- IMPORTANT: If the number of filters we're maintaining changes, you'll need to change the FilterValueMap
 	-- at the end (of CreateFrame), as well as the following index value:
-	local MaxFilters = 84
+	local MaxFilters = 86

 	local total = 0
 	local active = 0
@@ -3953,12 +3953,12 @@ function addon:CreateFrame(
 				ARL_RepWarsongOffensiveCBText:SetFont(narrowFont, 11)
 			local ARL_RepAllianceVanguardCB = CreateFrame("CheckButton", "ARL_RepAllianceVanguardCB", addon.Fly_Rep_LK, "UICheckButtonTemplate")
 				addon:GenericMakeCB(ARL_RepAllianceVanguardCB, addon.Fly_Rep_LK,
-					string.format(L["SPECIFIC_REP_DESC"], BFAC["Alliance Vanguard"]), 83, 16, 1, 0)
+					string.format(L["SPECIFIC_REP_DESC"], BFAC["Alliance Vanguard"]), 85, 16, 1, 0)
 				ARL_RepAllianceVanguardCBText:SetText(BFAC["Alliance Vanguard"])
 				ARL_RepAllianceVanguardCBText:SetFont(narrowFont, 11)
 			local ARL_RepHordeExpeditionCB = CreateFrame("CheckButton", "ARL_RepHordeExpeditionCB", addon.Fly_Rep_LK, "UICheckButtonTemplate")
 				addon:GenericMakeCB(ARL_RepHordeExpeditionCB, addon.Fly_Rep_LK,
-					string.format(L["SPECIFIC_REP_DESC"], BFAC["Horde Expedition"]), 83, 17, 1, 0)
+					string.format(L["SPECIFIC_REP_DESC"], BFAC["Horde Expedition"]), 86, 17, 1, 0)
 				ARL_RepHordeExpeditionCBText:SetText(BFAC["Horde Expedition"])
 				ARL_RepHordeExpeditionCBText:SetFont(narrowFont, 11)

@@ -4060,8 +4060,8 @@ function addon:CreateFrame(
 			[81] = { cb = ARL_RepHandOfVengeanceCB,		svroot = filterdb.rep,			svval = "handofvengeance" },
 			[82] = { cb = ARL_RepTaunkaCB,				svroot = filterdb.rep,			svval = "taunka" },
 			[83] = { cb = ARL_RepWarsongOffensiveCB,	svroot = filterdb.rep,			svval = "warsongoffensive" },
-			[84] = { cb = ARL_RepAllianceVanguardCB,	svroot = filterdb.rep,			svval = "alliancevanguard" },
-			[85] = { cb = ARL_RepHordeExpeditionCB,		svroot = filterdb.rep,			svval = "hordeexpedition" },
+			[85] = { cb = ARL_RepAllianceVanguardCB,	svroot = filterdb.rep,			svval = "alliancevanguard" },
+			[86] = { cb = ARL_RepHordeExpeditionCB,		svroot = filterdb.rep,			svval = "hordeexpedition" },
 		}

 	end
diff --git a/Documentation.lua b/Documentation.lua
index be5fc58..012b620 100644
--- a/Documentation.lua
+++ b/Documentation.lua
@@ -186,6 +186,8 @@ addon.db.profile---->
 			handofvengeance		= true [ | false ]
 			taunka			= true [ | false ]
 			warsongoffensive		= true [ | false ]
+			alliancevanguard		= true [ | false ]
+			hordeexpedition		= true [ | false ]
 		}
 	}
 ************************************************************************
@@ -310,6 +312,7 @@ Item Flags
 			-- 128 = The Taunka
 			-- 129 = Warsong Offensive
 			-- 130 = Horde Expedition
+			-- 130 = Alliance Vanguard

 ************************************************************************
 --]]
@@ -348,6 +351,7 @@ Item Acquire methods (and associated database values)
 		2 = Honored
 		3 = Revered
 		4 = Exalted
+
 ************************************************************************
 --]]

@@ -372,7 +376,7 @@ Table Structures:

 	Rarity colours:
 		0 -		poor			#919191
-		1 -		common			#ffffff
+		1 -		common		#ffffff
 		2 -		uncommon		#00A900
 		3 -		rare			#0062C3
 		4 -		epic			#B343FF
@@ -439,7 +443,7 @@ Table Structures:

 --[[
 ************************************************************************
-Tooltip format: (acquire order : 5 7 3 4 1 2 6 )
+Tooltip format: (acquire order : 5 7 3 4 1 2 6 8)

 Recipe Name