Quantcast

:SetRequiredFaction() on "Enchanted Lantern" and "Magic Lamp" .. Only load the one for your faction

mike [06-01-11 - 16:51]
:SetRequiredFaction() on "Enchanted Lantern" and "Magic Lamp" .. Only load the one for your faction
Filename
Database/Recipes/Enchanting.lua
diff --git a/Database/Recipes/Enchanting.lua b/Database/Recipes/Enchanting.lua
index b7f9828..b4437ce 100644
--- a/Database/Recipes/Enchanting.lua
+++ b/Database/Recipes/Enchanting.lua
@@ -2343,6 +2343,7 @@ function addon:InitEnchanting()
 	recipe = AddRecipe(93841, V.CATA, Q.RARE)
 	recipe:SetCraftedItemID(67308)
 	recipe:SetSkillLevels(525, 525, 525, 525, 525)
+	recipe:SetRequiredFaction("Horde")
 	recipe:AddFilters(F.HORDE, F.VENDOR, F.IBOE, F.RBOP)
 	recipe:AddVendor(50146)

@@ -2350,6 +2351,7 @@ function addon:InitEnchanting()
 	recipe = AddRecipe(93843, V.CATA, Q.RARE)
 	recipe:SetCraftedItemID(67312)
 	recipe:SetSkillLevels(525, 525, 525, 525, 525)
+	recipe:SetRequiredFaction("Alliance")
 	recipe:AddFilters(F.ALLIANCE, F.VENDOR, F.IBOE, F.RBOP)
 	recipe:AddVendor(50134)