From 76f9717c99ebe250ccecf61b3e833d27837e01a5 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Tue, 25 Aug 2020 23:53:15 +0200 Subject: [PATCH] fix chaos boss shuffle in mystery being vanilla, and prevent that mistake in the future --- Bosses.py | 2 ++ Mystery.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Bosses.py b/Bosses.py index 70932602..563d8318 100644 --- a/Bosses.py +++ b/Bosses.py @@ -252,3 +252,5 @@ def place_bosses(world, player: int): can_place_boss(world, player, boss, loc, level) for loc, level in remaining_boss_locations)]) for loc, level in remaining_boss_locations: place_boss(world, player, remaining_boss, loc, level) + else: + raise FillError(f"Could not find boss shuffle mode {world.boss_shuffle[player]}") diff --git a/Mystery.py b/Mystery.py index ddb1eb31..dc89e4b2 100644 --- a/Mystery.py +++ b/Mystery.py @@ -337,7 +337,7 @@ def roll_settings(weights): ret.shufflebosses = {'none': 'none', 'simple': 'basic', 'full': 'normal', - 'random': 'random', + 'random': 'chaos', 'singularity': 'singularity', 'duality': 'singularity' }[get_choice('boss_shuffle', weights)]