Quantcast

Change mage flag to not detect mageroyal.

ackis [09-02-09 - 18:43]
Change mage flag to not detect mageroyal.
Filename
ARLDatamine.lua
diff --git a/ARLDatamine.lua b/ARLDatamine.lua
index 1d2e0a8..7385168 100644
--- a/ARLDatamine.lua
+++ b/ARLDatamine.lua
@@ -1567,7 +1567,10 @@ self:Print("BoP Item")
 			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) and (strmatch(text, "archmage") == nil)) then
+			elseif ((strmatch(text, "mage")) and (strmatch(text, "damage") == nil)
+				and (strmatch(text, "mageweave") == nil)
+				and (strmatch(text, "archmage") == nil)
+				and (strmatch(text, "mageroyal") == nil)) then
 				scan_data.Mage = true
 				scan_data.found_class = true
 			elseif (strmatch(text, "paladin")) then