If the trainer flag is set, we make sure boprecipe flag is set.
ackis [06-04-09 - 21:51]
If the trainer flag is set, we make sure boprecipe flag is set.
diff --git a/ARLDatamine.lua b/ARLDatamine.lua
index f6b5bae..5f334fa 100644
--- a/ARLDatamine.lua
+++ b/ARLDatamine.lua
@@ -670,11 +670,13 @@ function addon:ScanToolTip(name,recipelist,reverselookup,isvendor)
local linetextr = _G["ARLDatamineTTTextRight" .. i]
local textr = linetextr:GetText()
local text
+
if (textr) then
text = textl .. " " .. textr
else
text = textl
end
+
local text = strlower(text)
-- Check to see if it's a recipe otherwise break out of the for loop
@@ -923,7 +925,7 @@ function addon:ScanToolTip(name,recipelist,reverselookup,isvendor)
spellid = reverselookup[recipename]
- if not spellid then
+ if (not spellid) then
self:Print("Recipe "..recipename.." has no reverse lookup")
end
@@ -948,6 +950,10 @@ function addon:ScanToolTip(name,recipelist,reverselookup,isvendor)
end
end
+ if (flags[3]) then
+ boprecipe = true
+ end
+
-- Classes
-- If we've picked up at least one class flag
if (Deathknight) or (Druid) or (Hunter) or (Mage) or (Paladin) or (Priest) or (Shaman) or (Warlock) or (Warrior) then