From 864b4aae80c88fed4802638208d96cd0b7db8a2f Mon Sep 17 00:00:00 2001 From: ackis Date: Tue, 9 Jun 2009 16:32:48 +0000 Subject: [PATCH] Fix another LW item, we also check to see if there's an alliance and horde flag. All items will be checked for this, and alos will be checked for the player role flag, even if they aren't missing other flags. --- ARLDatamine.lua | 14 +++++++++----- RecipeDB/ARL-Leatherwork.lua | 4 ++-- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/ARLDatamine.lua b/ARLDatamine.lua index 45ef9bd..f7f055d 100644 --- a/ARLDatamine.lua +++ b/ARLDatamine.lua @@ -2484,7 +2484,7 @@ do end if (#missing_flags > 0) or (#extra_flags > 0) then - self:Print(recipe_name .. " " .. spellid) + self:Print(recipe_name .. " - " .. spellid) if (#missing_flags > 0) then self:Print("Missing flags: " .. tconcat(missing_flags, ", ")) @@ -2494,10 +2494,6 @@ do self:Print("Extra flags: " .. tconcat(extra_flags, ", ")) end - if (not scan_data.tank) and (not scan_data.healer) and (not scan_data.caster) and (not scan_data.dps) then - self:Print("No player role flag.") - end - local count = 0 for k, v in ipairs(ORDERED_ITEM_TYPES) do @@ -2513,6 +2509,14 @@ do end end + if (not flags[1]) and (not flags[2]) then + self:Print("Horde or alliance not selected - " .. spellid) + end + + if (not scan_data.tank) and (not scan_data.healer) and (not scan_data.caster) and (not scan_data.dps) then + self:Print("No player role flag - " .. spellid) + end + end end diff --git a/RecipeDB/ARL-Leatherwork.lua b/RecipeDB/ARL-Leatherwork.lua index 96a87cd..c1d5a2c 100644 --- a/RecipeDB/ARL-Leatherwork.lua +++ b/RecipeDB/ARL-Leatherwork.lua @@ -1811,12 +1811,12 @@ function addon:InitLeatherworking(RecipeDB) -- Knothide Quiver -- 44344 self:addTradeSkill(RecipeDB,44344,315,34100,2,2108) - self:addTradeFlags(RecipeDB,44344,3,21,22,23,24,25,26,27,28,29,30,36,41) + self:addTradeFlags(RecipeDB,44344,1,2,3,21,22,23,24,25,26,27,28,29,30,36,41,51,57) self:addTradeAcquire(RecipeDB,44344,3,22143,3,22144,3,22148,3,23022) -- Quiver of a Thousand Feathers -- 44359 self:addTradeSkill(RecipeDB,44359,350,34105,1,2108) - self:addTradeFlags(RecipeDB,44359,1,2,4,21,22,23,24,25,26,27,28,29,30,36,41,107) + self:addTradeFlags(RecipeDB,44359,1,2,4,21,22,23,24,25,26,27,28,29,30,36,41,51,57,107) self:addTradeAcquire(RecipeDB,44359,6,1011,3,21655) -- Netherscale Ammo Pouch -- 44768 -- 1.7.9.5