From c1edb2ef01256a36412403d9b6118cc518fca51e Mon Sep 17 00:00:00 2001 From: Chris Date: Sun, 20 Oct 2024 18:06:25 +0200 Subject: [PATCH] Maxroll improvements --- src/gui/importer/maxroll.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/importer/maxroll.py b/src/gui/importer/maxroll.py index 82e8c04c..ea3d4c57 100644 --- a/src/gui/importer/maxroll.py +++ b/src/gui/importer/maxroll.py @@ -49,7 +49,7 @@ def import_maxroll(url: str): except ConnectionError: LOGGER.error("Couldn't get planner data") return - active_profile = build_data["profiles"][build_id] + active_profile = build_data["profiles"][build_id - 1] finished_filters = [] unique_filters = [] for item_id in active_profile["items"].values(): @@ -85,7 +85,7 @@ def import_maxroll(url: str): ] item_filter.minPower = 100 # maxroll has some outdated data, so we need to clean it up by using item_type - if "implicits" in resolved_item and item_type in [ItemType.Ring, ItemType.Boots]: + if "implicits" in resolved_item and item_type in [ItemType.Boots]: item_filter.inherentPool = [ AffixFilterCountModel( count=[