From f4b02cc607a9f2215c6417d2bfd128623954d840 Mon Sep 17 00:00:00 2001 From: torhal Date: Wed, 8 Jul 2009 03:13:51 +0000 Subject: [PATCH] Added "finger" as a match for detecting rings, as apparently not all rings have that word in their tooltip. --- ARLDatamine.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 1.7.9.5