diff --git a/README.md b/README.md index 0a322ca1..162b4d83 100644 --- a/README.md +++ b/README.md @@ -235,7 +235,7 @@ Affixes: - { name: lightning_resistance } minCount: 2 - # Search for boots with movement speed and 1 resistances from a pool of shadow, cold, lightning res. + # Search for boots with movement speed and 1 resistances from a pool of all resistances. # No need to add maxCount to the resistance group since it isn't possible for an item to have more than one resistance affix - ResBoots: itemType: boots @@ -247,10 +247,12 @@ Affixes: - { name: shadow_resistance } - { name: cold_resistance } - { name: lightning_resistance } + - { name: fire_resistance } + - { name: poison_resistance } minCount: 1 # Search for boots with movement speed. At least two of all item affixes must be a greater affix - - ResBoots: + - GreaterAffixBoots: itemType: boots minPower: 800 minGreaterAffixCount: 2 diff --git a/src/loot_filter.py b/src/loot_filter.py index aa9785aa..3a84a186 100644 --- a/src/loot_filter.py +++ b/src/loot_filter.py @@ -119,7 +119,9 @@ def check_items(inv: InventoryBase, force_refresh: ItemRefreshType): time.sleep(0.13) elif ( res.keep - and (matched_any_affixes or item_descr.rarity in [ItemRarity.Unique, ItemRarity.Mythic]) + and ( + matched_any_affixes or item_descr.rarity in [ItemRarity.Unique, ItemRarity.Mythic] or item_descr.item_type == ItemType.Sigil + ) and IniConfigLoader().general.mark_as_favorite ): LOGGER.info("Mark as favorite")