Quantcast

added a check in the ring check to make sure "herring" isn't detected as the ring flag missing.

pompachomp [07-22-09 - 01:37]
added a check in the ring check to make sure "herring" isn't detected as the ring flag missing.
Filename
ARLDatamine.lua
diff --git a/ARLDatamine.lua b/ARLDatamine.lua
index b1d1ead..1356d1f 100644
--- a/ARLDatamine.lua
+++ b/ARLDatamine.lua
@@ -1504,7 +1504,7 @@ do
 			elseif (strmatch(text,"cloak")) then
 				scan_data.Cloak = true
 			elseif ((strmatch(text,"ring") or strmatch("finger", text))	and (strmatch(text,"ring:") == nil)
-				and (strmatch(text,"requires") == nil) and (strmatch(text,"engineering") == nil)) then
+				and (strmatch(text,"requires") == nil) and (strmatch(text,"engineering") == nil) and (strmatch(text,"herring") == nil)) then
 				scan_data.Ring = true
 			elseif (strmatch(text,"necklace")) then
 				scan_data.Necklace = true