Quantcast

Added a check for mageweave so items weren't flagged as being mage-only in the tooltip scan.

torhal [06-22-09 - 20:22]
Added a check for mageweave so items weren't flagged as being mage-only in the tooltip scan.
Filename
ARLDatamine.lua
diff --git a/ARLDatamine.lua b/ARLDatamine.lua
index ca28ada..722daf9 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 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