Quantcast

Changed AddRecipeVendor() to AddRecipeLimitedVendor() to some Jewelcrafting and Leatherworking recipes

mike [04-21-10 - 19:07]
Changed AddRecipeVendor() to AddRecipeLimitedVendor() to some Jewelcrafting and Leatherworking recipes
Filename
Database/Jewelcrafting.lua
Database/Leatherworking.lua
diff --git a/Database/Jewelcrafting.lua b/Database/Jewelcrafting.lua
index 5b2335a..dc64ae9 100644
--- a/Database/Jewelcrafting.lua
+++ b/Database/Jewelcrafting.lua
@@ -208,7 +208,7 @@ function addon:InitJewelcrafting()
 	-- Ruby Crown of Restoration -- 26878
 	AddRecipe(26878, 225, 20969, Q.COMMON, V.TBC, 225, 250, 265, 280)
 	self:AddRecipeFlags(26878, F.ALLIANCE, F.HORDE, F.VENDOR, F.IBOE, F.RBOE, F.HEALER, F.CASTER, F.CLOTH)
-	self:AddRecipeVendor(26878, 2810, 2821)
+	self:AddRecipeLimitedVendor(26878, 2810, 1, 2821, 1)

 	-- Thorium Setting -- 26880
 	AddRecipe(26880, 225, 21752, Q.COMMON, V.TBC, 225, 235, 245, 255)
diff --git a/Database/Leatherworking.lua b/Database/Leatherworking.lua
index 94a3864..0b8a97e 100644
--- a/Database/Leatherworking.lua
+++ b/Database/Leatherworking.lua
@@ -268,7 +268,7 @@ function addon:InitLeatherworking()
 	-- Raptor Hide Harness -- 4096
 	AddRecipe(4096, 165, 4455, Q.UNCOMMON, V.WOTLK, 165, 185, 195, 205)
 	self:AddRecipeFlags(4096, F.HORDE, F.VENDOR, F.IBOE, F.RBOE, F.DPS, F.LEATHER)
-	self:AddRecipeVendor(4096, 2819)
+	self:AddRecipeLimitedVendor(4096, 2819, 1)

 	-- Raptor Hide Belt -- 4097
 	AddRecipe(4097, 165, 4456, Q.UNCOMMON, V.ORIG, 165, 185, 195, 205)
@@ -352,12 +352,12 @@ function addon:InitLeatherworking()
 	-- Deviate Scale Cloak -- 7953
 	AddRecipe(7953, 90, 6466, Q.COMMON, V.ORIG, 90, 120, 135, 150)
 	self:AddRecipeFlags(7953, F.ALLIANCE, F.HORDE, F.VENDOR, F.IBOE, F.RBOE, F.DPS, F.CLOAK)
-	self:AddRecipeVendor(7953, 5783)
+	self:AddRecipeLimitedVendor(7953, 5783, 2)

 	-- Deviate Scale Gloves -- 7954
 	AddRecipe(7954, 105, 6467, Q.COMMON, V.ORIG, 105, 130, 142, 155)
 	self:AddRecipeFlags(7954, F.ALLIANCE, F.HORDE, F.VENDOR, F.IBOE, F.RBOE, F.DPS, F.LEATHER)
-	self:AddRecipeVendor(7954, 5783)
+	self:AddRecipeLimitedVendor(7954, 5783, 1)

 	-- Deviate Scale Belt -- 7955
 	AddRecipe(7955, 115, 6468, Q.UNCOMMON, V.ORIG, 115, 140, 152, 165)