From 07f97887d16dd2746c15d1635522450e118f7cf7 Mon Sep 17 00:00:00 2001 From: CaitSith2 Date: Wed, 6 Jan 2021 11:12:23 -0800 Subject: [PATCH] Fix bug with boss plandomizer --- Mystery.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Mystery.py b/Mystery.py index 7f092a6e..cd99c844 100644 --- a/Mystery.py +++ b/Mystery.py @@ -276,8 +276,11 @@ available_boss_names: typing.Set[str] = {boss.lower() for boss in Bosses.boss_ta boss_shuffle_options = {None: 'none', 'none': 'none', 'simple': 'basic', + 'basic': 'basic', 'full': 'normal', + 'normal': 'normal', 'random': 'chaos', + 'chaos': 'chaos', 'singularity': 'singularity', 'duality': 'singularity' } @@ -435,7 +438,7 @@ def roll_settings(weights, plando_options: typing.Set[str] = frozenset(("bosses" bosses = [] for boss in options: if boss in boss_shuffle_options: - remainder_shuffle = boss + remainder_shuffle = boss_shuffle_options[boss] elif boss not in available_boss_names and not "-" in boss: raise ValueError(f"Unknown Boss name or Boss shuffle option {boss}.") else: