From 23c06f522161d21d0297e172dd63a266727129f6 Mon Sep 17 00:00:00 2001 From: ackis Date: Tue, 9 Jun 2009 17:07:06 +0000 Subject: [PATCH] Fix bop flags. --- ARLDatamine.lua | 8 +++++--- RecipeDB/ARL-Leatherwork.lua | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ARLDatamine.lua b/ARLDatamine.lua index 8dc555b..7242f9f 100644 --- a/ARLDatamine.lua +++ b/ARLDatamine.lua @@ -2195,9 +2195,11 @@ do -- Check for recipe/item binding -- The recipe binding is within the first few lines of the tooltip always if ((strmatch(text, "binds when picked up")) and (i < 4)) then - scan_data.boprecipe = true - elseif ((strmatch(text, "binds when picked up")) and (i > 3)) then - scan_data.bopitem = true + if (is_item) then + scan_data.bopitem = true + else + scan_data.boprecipe = true + end end -- Recipe Specialities diff --git a/RecipeDB/ARL-Leatherwork.lua b/RecipeDB/ARL-Leatherwork.lua index d6b32f2..79777c9 100644 --- a/RecipeDB/ARL-Leatherwork.lua +++ b/RecipeDB/ARL-Leatherwork.lua @@ -1306,7 +1306,7 @@ function addon:InitLeatherworking(RecipeDB) -- Wild Draenish Vest -- 32481 self:addTradeSkill(RecipeDB,32481,330,25676,1,2108) - self:addTradeFlags(RecipeDB,32481,1,2,3,21,22,23,24,25,26,27,28,29,30,36,41,57) + self:addTradeFlags(RecipeDB,32481,1,2,3,21,22,23,24,25,26,27,28,29,30,36,41,54,57) self:addTradeAcquire(RecipeDB,32481,1,18754,1,18771,1,19187,1,21087) -- Comfortable Insoles -- 32482 -- 1.7.9.5