Skip to content

Commit

Permalink
missing ignored attribute values
Browse files Browse the repository at this point in the history
  • Loading branch information
tednaleid committed Oct 2, 2024
1 parent 4e73878 commit 9ff977e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/armor.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ class Armor:
is_masterworked: bool = False
d2_class: str = "Warlock"
random_exotic_perks: tuple = field(default_factory=tuple)
ignored: bool = False

@property
def is_exotic(self):
Expand Down Expand Up @@ -355,7 +356,7 @@ def filter_and_group_armor(

# 4. generate all possible outfits using non-exotic armor
# 5. add in all possible outfits using a single piece of exotic armor
def generate_class_outfits(self, d2_class, include_ignored_armor):
def generate_class_outfits(self, d2_class, include_ignored_armor=False):
outfits = []

# filter armor to only include armor for the given class and slots
Expand Down

0 comments on commit 9ff977e

Please sign in to comment.