Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Maxroll improvements
Browse files Browse the repository at this point in the history
chrisoro committed Oct 20, 2024
1 parent c9ac6ca commit c1edb2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/importer/maxroll.py
Original file line number Diff line number Diff line change
@@ -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=[

0 comments on commit c1edb2e

Please sign in to comment.