Skip to content

Commit

Permalink
Discard changes to worlds/smw/__init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePhar authored May 22, 2024
1 parent 1988ab7 commit 64dc5ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions worlds/smw/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def create_regions(self):
itempool += [self.create_item(ItemName.red_switch_palace)]
itempool += [self.create_item(ItemName.blue_switch_palace)]
itempool += [self.create_item(ItemName.special_world_clear)]

if self.options.goal == "yoshi_egg_hunt":
raw_egg_count = total_required_locations - len(itempool) - len(exclusion_pool)
total_egg_count = min(raw_egg_count, self.options.max_yoshi_egg_cap.value)
Expand Down Expand Up @@ -194,7 +194,7 @@ def create_regions(self):
junk_weights += ([ItemName.one_up_mushroom] * 20)

junk_pool = [self.create_item(self.random.choice(junk_weights)) for _ in range(junk_count)]

itempool += junk_pool

boss_location_names = [LocationName.yoshis_island_koopaling, LocationName.donut_plains_koopaling, LocationName.vanilla_dome_koopaling,
Expand Down

0 comments on commit 64dc5ec

Please sign in to comment.