Disable Equipable Gear on Item Level Search
out of scope for now
This commit is contained in:
@@ -327,7 +327,10 @@ function AtlasLoot:Search(Text)
|
|||||||
end
|
end
|
||||||
local function IsItemLevelFilterMatch(searchText, itemLvl, itemEquipLoc, operator)
|
local function IsItemLevelFilterMatch(searchText, itemLvl, itemEquipLoc, operator)
|
||||||
local itemInfoFilter = HaveItemInfoFilter(searchText);
|
local itemInfoFilter = HaveItemInfoFilter(searchText);
|
||||||
if itemInfoFilter and itemLvl ~= nil and itemLvl > 0 and IsEquipableGear(itemEquipLoc) and IsItemLevelFilter(itemInfoFilter) then
|
if itemInfoFilter and itemLvl ~= nil and itemLvl > 0
|
||||||
|
--and IsEquipableGear(itemEquipLoc)
|
||||||
|
and IsItemLevelFilter(itemInfoFilter)
|
||||||
|
then
|
||||||
local searchedItemLevel = tonumber(string.match(searchText, "%d+"));
|
local searchedItemLevel = tonumber(string.match(searchText, "%d+"));
|
||||||
if CompareNumbersByOperator(operator, itemLvl, searchedItemLevel) then
|
if CompareNumbersByOperator(operator, itemLvl, searchedItemLevel) then
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user