Quantcast

Added "finger" as a match for detecting rings, as apparently not all rings have that word in their tooltip.

torhal [07-08-09 - 03:13]
Added "finger" as a match for detecting rings, as apparently not all rings have that word in their tooltip.
Filename
ARLDatamine.lua
diff --git a/ARLDatamine.lua b/ARLDatamine.lua
index f341938..9dd34fd 100644
--- a/ARLDatamine.lua
+++ b/ARLDatamine.lua
@@ -1473,7 +1473,8 @@ 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") or strmatch(text,"finger"))
+				and (strmatch(text,"ring:") == nil) and (strmatch(text,"requires") == nil)) then
 				scan_data.Ring = true
 			elseif (strmatch(text,"necklace")) then
 				scan_data.Necklace = true