TSMAPI extension + support for Vanity Item search (#14)

* GetItemPrice TSMAPI-Extension

* Itemfilter Vanity Item Support

* Rarity search extended up to heirloom

* Rarity search extended up to heirloom
This commit is contained in:
RSS90
2024-05-03 18:20:54 +02:00
committed by GitHub
parent 5333f3b37a
commit acc582c1b7
3 changed files with 50 additions and 4 deletions
+2 -2
View File
@@ -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
end