From 489f92c765e15620701dc6aa9cddcf14bb77215d Mon Sep 17 00:00:00 2001 From: RSS90 Date: Thu, 2 May 2024 15:53:41 +0200 Subject: [PATCH] Rarity search extended up to heirloom --- TradeSkillMaster_Shopping/modules/Search.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TradeSkillMaster_Shopping/modules/Search.lua b/TradeSkillMaster_Shopping/modules/Search.lua index d3de9a2..f193e8e 100644 --- a/TradeSkillMaster_Shopping/modules/Search.lua +++ b/TradeSkillMaster_Shopping/modules/Search.lua @@ -420,7 +420,7 @@ local function GetItemSubClass(str, class) end local function GetItemRarity(str) - for i=0, 4 do + for i=0, 7 do local text = _G["ITEM_QUALITY"..i.."_DESC"] if strlower(str) == strlower(text) then return i @@ -586,4 +586,4 @@ end function Search:GetCurrentSearchMode() return private.mode -end \ No newline at end of file +end