Skip to content

Commit

Permalink
Change yhorm default (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
Exempt-Medic authored Jul 27, 2024
1 parent 99ae362 commit a438bf7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions worlds/dark_souls_3/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class DarkSouls3World(World):
location_descriptions = location_descriptions
item_descriptions = item_descriptions

yhorm_location: Optional[DS3BossInfo]
yhorm_location: DS3BossInfo = default_yhorm_location
"""If enemy randomization is enabled, this is the boss who Yhorm the Giant should replace.
This is used to determine where the Storm Ruler can be placed.
Expand Down Expand Up @@ -98,8 +98,6 @@ def generate_early(self) -> None:
for boss in all_bosses:
if yhorm_data.startswith(boss.name):
self.yhorm_location = boss
else:
self.yhorm_location = default_yhorm_location

# Randomize Yhorm manually so that we know where to place the Storm Ruler.
elif self.options.randomize_enemies:
Expand All @@ -115,8 +113,6 @@ def generate_early(self) -> None:
)
):
self.multiworld.local_early_items[self.player]["Storm Ruler"] = 1
else:
self.yhorm_location = default_yhorm_location

def _allow_boss_for_yhorm(self, boss: DS3BossInfo) -> bool:
"""Returns whether boss is a valid location for Yhorm in this seed."""
Expand Down

0 comments on commit a438bf7

Please sign in to comment.