From f823978e92ff9dba8b7bece4c851be81d51cc87d Mon Sep 17 00:00:00 2001 From: pompachomp Date: Tue, 23 Feb 2010 10:04:07 +0000 Subject: [PATCH] add some itemid's to some enchanting recipes --- Database/Enchanting.lua | 6 +++--- Datamine.lua | 9 ++++----- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/Database/Enchanting.lua b/Database/Enchanting.lua index c438740..4553777 100644 --- a/Database/Enchanting.lua +++ b/Database/Enchanting.lua @@ -1284,7 +1284,7 @@ function addon:InitEnchanting(RecipeDB) self:addTradeAcquire(RecipeDB, 44593, A.TRAINER, 26906, A.TRAINER, 26954, A.TRAINER, 26980, A.TRAINER, 26990, A.TRAINER, 28693, A.TRAINER, 33583) -- Enchant 2H Weapon - Scourgebane -- 44595 - AddRecipe(44595, 430, nil, R_RARE, GAME_WOTLK, 430, 440, 450, 460) + AddRecipe(44595, 430, 44473, R_RARE, GAME_WOTLK, 430, 440, 450, 460) self:addTradeFlags(RecipeDB, 44595, F.ALLIANCE, F.HORDE, F.VENDOR, F.IBOE, F.RBOP, F.DPS, F.ONE_HAND, F.TWO_HAND) self:addTradeAcquire(RecipeDB, 44595, A.VENDOR, 32514) @@ -1494,12 +1494,12 @@ function addon:InitEnchanting(RecipeDB) self:addTradeAcquire(RecipeDB, 60763, A.VENDOR, 32514) -- Enchant Bracers - Superior Spellpower -- 60767 - AddRecipe(60767, 440, nil, R_UNCOMMON, GAME_WOTLK, 440, 450, 460, 470) + AddRecipe(60767, 440, 44498, R_UNCOMMON, GAME_WOTLK, 440, 450, 460, 470) self:addTradeFlags(RecipeDB, 60767, F.ALLIANCE, F.HORDE, F.VENDOR, F.IBOE, F.RBOP, F.HEALER, F.CASTER) self:addTradeAcquire(RecipeDB, 60767, A.VENDOR, 32514) -- Enchant Bracers - Major Stamina -- 62256 - AddRecipe(62256, 450, nil, R_RARE, GAME_WOTLK, 450, 460, 470, 480) + AddRecipe(62256, 450, 44944, R_RARE, GAME_WOTLK, 450, 460, 470, 480) self:addTradeFlags(RecipeDB, 62256, F.ALLIANCE, F.HORDE, F.VENDOR, F.IBOE, F.RBOP) self:addTradeAcquire(RecipeDB, 62256, A.VENDOR, 32514) diff --git a/Datamine.lua b/Datamine.lua index c7ff3db..f585c84 100644 --- a/Datamine.lua +++ b/Datamine.lua @@ -274,8 +274,8 @@ local SPELL_ITEM = { [47899] = 44488, [47901] = 44491, [59619] = 44496, [59621] = 44492, [59625] = 44495, [60691] = 44483, [60692] = 44489, [60707] = 44486, [60714] = 44487, [60763] = 44490, [60767] = 44498, [62256] = 44944, - [62257] = 44945, [62948] = 45059, [64441] = 46027, [64579] = 46348, - + [62257] = 44945, [62948] = 45059, [64441] = 46027, [64579] = 46348, + ------------------------------------------------------------------------------- --Engineering ------------------------------------------------------------------------------- @@ -1660,13 +1660,12 @@ do if matchtext and RECIPE_NAMES[strlower(matchtext)] then local recipename = gsub(name, "%a+\: ", "") -- Get rid of the first part of the item local spellid = reverse_lookup[recipename] -- Find out what spell ID we're using - -- Do the scan if we have the spell ID - if (spellid) then + if spellid then added = true local ttscantext = addon:TooltipScanRecipe(spellid, true, true) - if (ttscantext) then + if ttscantext then tinsert(output, ttscantext) end -- Ok now we know it's a vendor, lets check the database to see if the vendor is listed as an acquire method. -- 1.7.9.5