From c81464ab48c2b2b6d71265eeed221f3117a2c08c Mon Sep 17 00:00:00 2001 From: Ackis Date: Mon, 29 Dec 2008 18:16:39 +0000 Subject: [PATCH] Fix bug with goldthorn tea. --- ARLDataminer.rb | 3 +++ RecipeDB/ARL-Cook.lua | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ARLDataminer.rb b/ARLDataminer.rb index 39f89a0..588555f 100644 --- a/ARLDataminer.rb +++ b/ARLDataminer.rb @@ -1262,6 +1262,8 @@ EOF # Handle special cases (flags) if specialcaseflag[details[:spellid]] case specialcaseflag[details[:spellid]][:id] + when "Trainer" + flags << flaglisting["Trainer"] when "PVP" flags << flaglisting["PVP"] when 7 @@ -5804,6 +5806,7 @@ def get_cooking_list(recipes, maps) 21144 => {:id => 7, :type => 1}, 45022 => {:id => 7, :type => 1}, 24801 => {:id => "Quest", :type => [8313]}, + 13028 => {:id => "Trainer"}, } cookacquire = { 2538 => {:id => "StartingSkill"}, diff --git a/RecipeDB/ARL-Cook.lua b/RecipeDB/ARL-Cook.lua index c99e631..4a9c301 100644 --- a/RecipeDB/ARL-Cook.lua +++ b/RecipeDB/ARL-Cook.lua @@ -322,7 +322,7 @@ function addon:InitCooking(RecipeDB) -- Goldthorn Tea -- 13028 recipecount = recipecount + 1 self:addTradeSkill(RecipeDB,13028,175,10841,1,2550) - self:addTradeFlags(RecipeDB,13028,1,2,21,22,23,24,25,26,27,28,29,30,36,41) + self:addTradeFlags(RecipeDB,13028,1,2,3,21,22,23,24,25,26,27,28,29,30,36,41) self:addTradeAcquire(RecipeDB,13028,8,13) -- Lean Wolf Steak -- 15853 -- 1.7.9.5