mirror of
https://github.com/Kvan7/Exiled-Exchange-2.git
synced 2026-09-27 07:05:46 +00:00
apply nonunique filter
This commit is contained in:
@@ -112,6 +112,16 @@ export function createFilters (item: ParsedItem): ItemFilters {
|
||||
}
|
||||
}
|
||||
|
||||
if (
|
||||
item.rarity === ItemRarity.Normal ||
|
||||
item.rarity === ItemRarity.Magic ||
|
||||
item.rarity === ItemRarity.Rare
|
||||
) {
|
||||
filters.rarity = {
|
||||
value: 'nonunique'
|
||||
}
|
||||
}
|
||||
|
||||
if (item.influences) {
|
||||
filters.influences = item.influences.map(influecne => ({
|
||||
value: influecne,
|
||||
|
||||
Reference in New Issue
Block a user