From 7c30bebcda9cf2467fcf63912ebbd185e9400a38 Mon Sep 17 00:00:00 2001 From: ackis Date: Tue, 23 Jun 2009 19:59:59 +0000 Subject: [PATCH] Few more minor tweaks. --- ARLDatamine.lua | 17 ++++++----------- RecipeDB/ARL-Tailor.lua | 2 +- 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/ARLDatamine.lua b/ARLDatamine.lua index ef0900e..97dc5ca 100644 --- a/ARLDatamine.lua +++ b/ARLDatamine.lua @@ -1639,7 +1639,7 @@ do if (acquire[j]["Type"] == 6) then local tmpacquire = acquire[j] if (tmpacquire["RepLevel"] ~= scan_data.repidlevel) then - tinsert(t,"Rep level wrong. " .. recipe_name .. " (" .. spellid .. ")\n") + tinsert(t,"Rep level wrong. " .. recipe_name .. " (" .. spellid .. ")") end end end @@ -1670,23 +1670,22 @@ do tinsert(t,"Extra: item type flag") end - tinsert(t,"\n") end if (not flags[1]) and (not flags[2]) then - tinsert(t,"Horde or alliance not selected. " .. recipe_name .. " (" .. spellid .. ")\n") + tinsert(t,"Horde or alliance not selected. " .. recipe_name .. " (" .. spellid .. ")") end if (not flags[40]) and (not flags[41]) and (not flags[42]) then - tinsert(t,"No recipe binding information. " .. recipe_name .. " (" .. spellid .. ")\n") + tinsert(t,"No recipe binding information. " .. recipe_name .. " (" .. spellid .. ")") end if (not flags[36]) and (not flags[37]) and (not flags[38]) then - tinsert(t,"No item binding information. " .. recipe_name .. " (" .. spellid .. ")\n") + tinsert(t,"No item binding information. " .. recipe_name .. " (" .. spellid .. ")") end if (not scan_data.tank) and (not scan_data.healer) and (not scan_data.caster) and (not scan_data.dps) then - tinsert(t,"No player role flag. " .. recipe_name .. " (" .. spellid .. ")\n") + tinsert(t,"No player role flag. " .. recipe_name .. " (" .. spellid .. ")") end if (scan_data.specialty) then @@ -1699,11 +1698,7 @@ do tinsert(t,"Recipe " .. recipe_name .. " (" .. spellid .. ") Extra Specialty: " .. scan_data.recipe_list[spellid]["Specialty"]) end - if (#t > 0) then - return tconcat(t,"\n") - else - return "" - end + return tconcat(t,"\n") end diff --git a/RecipeDB/ARL-Tailor.lua b/RecipeDB/ARL-Tailor.lua index db81a5e..70bda0d 100644 --- a/RecipeDB/ARL-Tailor.lua +++ b/RecipeDB/ARL-Tailor.lua @@ -976,7 +976,7 @@ function addon:InitTailoring(RecipeDB) -- Robe of the Archmage -- 18457 self:addTradeSkill(RecipeDB,18457,300,14152,4,3908,nil) - self:addTradeFlags(RecipeDB,18457,1,2,5,24,37,41,56) + self:addTradeFlags(RecipeDB,18457,1,2,5,21,22,23,24,25,26,27,28,29,30,37,41,53,54,56) self:addTradeAcquire(RecipeDB,18457,3,9264) -- Robe of the Void -- 18458 -- 1.7.9.5