From 6d9ba41aa9c1ecb1e88cef434ea57c8bc3bd84e3 Mon Sep 17 00:00:00 2001 From: ackis Date: Mon, 22 Jun 2009 20:31:28 +0000 Subject: [PATCH] Mageweve does not mean that a mage can only use the item. --- ARLDatamine.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ARLDatamine.lua b/ARLDatamine.lua index 722daf9..7d3cc5f 100644 --- a/ARLDatamine.lua +++ b/ARLDatamine.lua @@ -1414,7 +1414,7 @@ do elseif (strmatch(text,"hunter")) then scan_data.Hunter = true scan_data.found_class = true - elseif (strmatch(text,"mage")) and strmatch(text,"damage") == nil and strmatch(text, "mageweave") == nil then + elseif ((strmatch(text,"mage")) and (strmatch(text,"damage") == nil) and (strmatch(text,"mageweave") == nil)) then scan_data.Mage = true scan_data.found_class = true elseif (strmatch(text,"paladin")) then @@ -1435,7 +1435,7 @@ do elseif (strmatch(text,"warrior")) then scan_data.Warrior = true scan_data.found_class = true - -- Armor types + -- Armor types -- Check the end of the item for cloth and leather because we can craft something with those items in it elseif (strmatch(text,"cloth$")) then scan_data.Cloth = true @@ -1447,7 +1447,7 @@ do scan_data.Plate = true elseif (strmatch(text,"cloak")) then scan_data.Cloak = true - elseif (strmatch(text,"ring")) and strmatch(text,"ring:") == nil and strmatch(text,"requires") == nil then + elseif ((strmatch(text,"ring")) and (strmatch(text,"ring:") == nil) and (strmatch(text,"requires") == nil)) then scan_data.Ring = true elseif (strmatch(text,"necklace")) then scan_data.Necklace = true -- 1.7.9.5