From 715097e5a5afd7f0f73ad586183d215eea2c321a Mon Sep 17 00:00:00 2001 From: Exempt-Medic <60412657+Exempt-Medic@users.noreply.github.com> Date: Sat, 27 Jul 2024 10:10:43 -0400 Subject: [PATCH] Change yhorm default --- worlds/dark_souls_3/__init__.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/worlds/dark_souls_3/__init__.py b/worlds/dark_souls_3/__init__.py index 81e579dc037a..f99e920befa3 100644 --- a/worlds/dark_souls_3/__init__.py +++ b/worlds/dark_souls_3/__init__.py @@ -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. @@ -102,8 +102,6 @@ def generate_early(self): 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: @@ -119,8 +117,6 @@ def generate_early(self): ) ): 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."""