Quantcast

Fix issue for damage string causing the mage flag to be set.

ackis [06-18-09 - 21:34]
Fix issue for damage string causing the mage flag to be set.
Filename
ARLDatamine.lua
diff --git a/ARLDatamine.lua b/ARLDatamine.lua
index be3a967..e80b8af 100644
--- a/ARLDatamine.lua
+++ b/ARLDatamine.lua
@@ -1400,7 +1400,7 @@ do
 			elseif (strmatch(text,"hunter")) then
 				scan_data.Hunter = true
 				scan_data.found_class = true
-			elseif (strmatch(text,"mage")) then
+			elseif (strmatch(text,"mage")) and strmatch(text,"damage") == nil then
 				scan_data.Mage = true
 				scan_data.found_class = true
 			elseif (strmatch(text,"paladin")) then