Quantcast

Fixed some acquire data for recipes that come from limited supply vendors

mike [01-28-11 - 21:15]
Fixed some acquire data for recipes that come from limited supply vendors
Filename
Database/Blacksmithing.lua
Database/Engineering.lua
Database/Leatherworking.lua
diff --git a/Database/Blacksmithing.lua b/Database/Blacksmithing.lua
index 8b9125e..3c9ad4e 100644
--- a/Database/Blacksmithing.lua
+++ b/Database/Blacksmithing.lua
@@ -273,7 +273,7 @@ function addon:InitBlacksmithing()
 	-- Hardened Iron Shortsword -- 3492
 	AddRecipe(3492, 160, 3849, Q.COMMON, V.ORIG, 160, 185, 197, 210)
 	self:AddRecipeFlags(3492, F.ALLIANCE, F.HORDE, F.VENDOR, F.IBOE, F.RBOE, F.DPS, F.ONE_HAND, F.SWORD)
-	self:AddRecipeVendor(3492, 2843, 5512)
+	self:AddRecipeLimitedVendor(3492, 2843, 1, 5512, 1)

 	-- Jade Serpentblade -- 3493
 	AddRecipe(3493, 175, 3850, Q.UNCOMMON, V.ORIG, 175, 200, 212, 225)
@@ -293,7 +293,7 @@ function addon:InitBlacksmithing()
 	-- Moonsteel Broadsword -- 3496
 	AddRecipe(3496, 180, 3853, Q.COMMON, V.ORIG, 180, 205, 217, 230)
 	self:AddRecipeFlags(3496, F.ALLIANCE, F.HORDE, F.VENDOR, F.IBOE, F.RBOE, F.TWO_HAND, F.SWORD)
-	self:AddRecipeVendor(3496, 2482)
+	self:AddRecipeLimitedVendor(3496, 2482, 1)

 	-- Frost Tiger Blade -- 3497
 	AddRecipe(3497, 200, 3854, Q.UNCOMMON, V.ORIG, 200, 210, 215, 220)
@@ -303,7 +303,7 @@ function addon:InitBlacksmithing()
 	-- Massive Iron Axe -- 3498
 	AddRecipe(3498, 185, 3855, Q.COMMON, V.ORIG, 185, 210, 222, 235)
 	self:AddRecipeFlags(3498, F.ALLIANCE, F.HORDE, F.VENDOR, F.IBOE, F.RBOE, F.DPS, F.TWO_HAND, F.AXE)
-	self:AddRecipeVendor(3498, 2483, 1146)
+	self:AddRecipeLimitedVendor(3498, 2483, 1, 1146, 1)

 	-- Shadow Crescent Axe -- 3500
 	AddRecipe(3500, 200, 3856, Q.UNCOMMON, V.ORIG, 200, 225, 237, 250)
diff --git a/Database/Engineering.lua b/Database/Engineering.lua
index 46bf66c..7f0e757 100644
--- a/Database/Engineering.lua
+++ b/Database/Engineering.lua
@@ -258,7 +258,7 @@ function addon:InitEngineering()
 	-- Mechanical Dragonling -- 3969
 	AddRecipe(3969, 200, 4396, Q.COMMON, V.ORIG, 200, 220, 230, 240)
 	self:AddRecipeFlags(3969, F.ALLIANCE, F.HORDE, F.VENDOR, F.IBOE, F.RBOE, F.TRINKET)
-	self:AddRecipeVendor(3969, 2687)
+	self:AddRecipeLimitedVendor(3969, 2687, 1)

 	-- Gnomish Cloaking Device -- 3971
 	AddRecipe(3971, 200, 4397, Q.COMMON, V.ORIG, 200, 220, 230, 240)
@@ -289,7 +289,7 @@ function addon:InitEngineering()
 	-- Accurate Scope -- 3979
 	AddRecipe(3979, 180, 4407, Q.COMMON, V.ORIG, 180, 200, 210, 220)
 	self:AddRecipeFlags(3979, F.ALLIANCE, F.HORDE, F.VENDOR, F.IBOE, F.RBOE)
-	self:AddRecipeVendor(3979, 2685)
+	self:AddRecipeLimitedVendor(3979, 2685, 1)

 	-- Ornate Spyglass -- 6458
 	AddRecipe(6458, 135, 5507, Q.COMMON, V.ORIG, 135, 160, 172, 185)
@@ -386,7 +386,7 @@ function addon:InitEngineering()
 	-- Deadly Scope -- 12597
 	AddRecipe(12597, 210, 10546, Q.COMMON, V.ORIG, 210, 230, 240, 250)
 	self:AddRecipeFlags(12597, F.ALLIANCE, F.HORDE, F.VENDOR, F.IBOE, F.RBOE)
-	self:AddRecipeVendor(12597, 8679, 9544)
+	self:AddRecipeLimitedVendor(12597, 8679, 1, 9544, 1)

 	-- Mithril Casing -- 12599
 	AddRecipe(12599, 215, 10561, Q.COMMON, V.ORIG, 215, 215, 235, 255)
@@ -681,7 +681,7 @@ function addon:InitEngineering()
 	-- Green Firework -- 23068
 	AddRecipe(23068, 150, 9313, Q.COMMON, V.ORIG, 150, 150, 162, 175)
 	self:AddRecipeFlags(23068, F.ALLIANCE, F.HORDE, F.VENDOR, F.IBOE, F.RBOE)
-	self:AddRecipeVendor(23068, 2838, 3495)
+	self:AddRecipeLimitedVendor(23068, 2838, 1, 3495, 1)

 	-- EZ-Thro Dynamite II -- 23069
 	AddRecipe(23069, 200, 18588, Q.COMMON, V.ORIG, 200, 200, 210, 220)
diff --git a/Database/Leatherworking.lua b/Database/Leatherworking.lua
index 395d118..fa67bb6 100644
--- a/Database/Leatherworking.lua
+++ b/Database/Leatherworking.lua
@@ -238,7 +238,7 @@ function addon:InitLeatherworking()
 	-- Gem-studded Leather Belt -- 3778
 	AddRecipe(3778, 185, 4262, Q.COMMON, V.ORIG, 185, 205, 215, 225)
 	self:AddRecipeFlags(3778, F.ALLIANCE, F.HORDE, F.VENDOR, F.IBOE, F.RBOE, F.LEATHER)
-	self:AddRecipeVendor(3778, 2699)
+	self:AddRecipeLimitedVendor(3778, 2699, 1)

 	-- Barbaric Belt -- 3779
 	AddRecipe(3779, 200, 4264, Q.RARE, V.ORIG, 200, 220, 230, 240)
@@ -307,7 +307,7 @@ function addon:InitLeatherworking()
 	AddRecipe(6705, 190, 5783, Q.UNCOMMON, V.ORIG, 190, 210, 220, 230)
 	self:AddRecipeFlags(6705, F.ALLIANCE, F.HORDE, F.VENDOR, F.MOB_DROP, F.IBOE, F.RBOE, F.DPS, F.LEATHER)
 	self:AddRecipeMobDrop(6705, 2636, 1561)
-	self:AddRecipeVendor(6705, 4897)
+	self:AddRecipeLimitedVendor(6705, 4897, 1)

 	-- Handstitched Leather Vest -- 7126
 	AddRecipe(7126, 1, 5957, Q.COMMON, V.ORIG, 1, 40, 55, 70)
@@ -974,7 +974,7 @@ function addon:InitLeatherworking()
 	-- Shadowskin Gloves -- 22711
 	AddRecipe(22711, 200, 18238, Q.COMMON, V.ORIG, 200, 210, 220, 230)
 	self:AddRecipeFlags(22711, F.ALLIANCE, F.HORDE, F.VENDOR, F.IBOE, F.RBOE, F.LEATHER)
-	self:AddRecipeVendor(22711, 2699)
+	self:AddRecipeLimitedVendor(22711, 2699, 1)

 	-- Core Armor Kit -- 22727
 	AddRecipe(22727, 300, 18251, Q.RARE, V.ORIG, 300, 320, 330, 340)