Skip to content

Commit

Permalink
remove helmet enchants from ninja integration (they were removed as t…
Browse files Browse the repository at this point in the history
…hey no longer exist in the game)
  • Loading branch information
flbraun committed Mar 15, 2024
1 parent b5775e2 commit c5b42cc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion data/ninja.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
NinjaCategory.BASE_TYPES: ('https://poe.ninja/api/data/itemoverview?league={league}&type=BaseType', 'name'),
NinjaCategory.FOSSILS: ('https://poe.ninja/api/data/itemoverview?league={league}&type=Fossil', 'name'),
NinjaCategory.RESONATORS: ('https://poe.ninja/api/data/itemoverview?league={league}&type=Resonator', 'name'),
NinjaCategory.HELMET_ENCHANTS: ('https://poe.ninja/api/data/itemoverview?league={league}&type=HelmetEnchant', 'name'), # noqa: E501
NinjaCategory.BEASTS: ('https://poe.ninja/api/data/itemoverview?league={league}&type=Beast', 'name'),
NinjaCategory.ESSENCES: ('https://poe.ninja/api/data/itemoverview?league={league}&type=Essence', 'name'),
NinjaCategory.VIALS: ('https://poe.ninja/api/data/itemoverview?league={league}&type=Vial', 'name'),
Expand Down
2 changes: 1 addition & 1 deletion data/wiki.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ def get_items(league: League) -> Generator[Entry, None, None]:

if (
ninja_category is not None and
ninja_category not in {NinjaCategory.CLUSTER_JEWELS, NinjaCategory.HELMET_ENCHANTS}
ninja_category != NinjaCategory.CLUSTER_JEWELS
):
entry_kwargs['ninja_url'] = make_ninja_url(league, name, base_item, ninja_category)

Expand Down

0 comments on commit c5b42cc

Please sign in to comment.