Browse Source

Rarity search extended up to heirloom

pull/14/head
RSS90 2 years ago committed by GitHub
parent
commit
489f92c765
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      TradeSkillMaster_Shopping/modules/Search.lua

4
TradeSkillMaster_Shopping/modules/Search.lua

@ -420,7 +420,7 @@ local function GetItemSubClass(str, class)
end end
local function GetItemRarity(str) local function GetItemRarity(str)
for i=0, 4 do for i=0, 7 do
local text = _G["ITEM_QUALITY"..i.."_DESC"] local text = _G["ITEM_QUALITY"..i.."_DESC"]
if strlower(str) == strlower(text) then if strlower(str) == strlower(text) then
return i return i
@ -586,4 +586,4 @@ end
function Search:GetCurrentSearchMode() function Search:GetCurrentSearchMode()
return private.mode return private.mode
end end

Loading…
Cancel
Save