Skip to content

Commit

Permalink
Maxroll improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisoro committed Oct 20, 2024
1 parent c9ac6ca commit 1a9cee9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

TP = concurrent.futures.ThreadPoolExecutor()

__version__ = "5.8.9"
__version__ = "5.8.10"
4 changes: 2 additions & 2 deletions src/gui/importer/maxroll.py
Original file line number Diff line number Diff line change
Expand Up @@ -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=[
Expand Down Expand Up @@ -238,7 +238,7 @@ def _extract_planner_url_and_id_from_guide(url: str) -> tuple[str, int]:
raise MaxrollException(msg)
try:
planner_id = embed[0].get("data-d4-profile")
data_id = int(embed[0].get("data-d4-data").split(",")[0])
data_id = int(embed[0].get("data-d4-data").split(",")[0]) - 1
except Exception as ex:
LOGGER.exception(msg)
raise MaxrollException(msg) from ex
Expand Down

0 comments on commit 1a9cee9

Please sign in to comment.