Add files via upload
added a isgear new filter option. this is usefull when you dont want to use blizzard filters, like when you want to scan all items at 80% market value but you dont want to see all these useless greens and white items with incosistent market values
This commit is contained in:
+11
-1
@@ -38,7 +38,7 @@ M.filters = {
|
||||
return default_filter(str).validator()
|
||||
end,
|
||||
},
|
||||
|
||||
|
||||
['item'] = {
|
||||
input_type = 'string',
|
||||
validator = function(name)
|
||||
@@ -229,6 +229,16 @@ M.filters = {
|
||||
end
|
||||
end
|
||||
},
|
||||
|
||||
['isgear'] = {
|
||||
input_type = '',
|
||||
validator = function()
|
||||
return function(auction_record)
|
||||
return not(info.item(auction_record.item_id).slot == '')
|
||||
end
|
||||
end,
|
||||
},
|
||||
|
||||
}
|
||||
|
||||
function operator(str)
|
||||
|
||||
Reference in New Issue
Block a user