From b448a9081d6aed76631848014475ae93ae3113cc Mon Sep 17 00:00:00 2001 From: PIEisFANTASTIC <49802408+PIEisFANTASTIC@users.noreply.github.com> Date: Mon, 14 Apr 2025 01:39:48 -0400 Subject: [PATCH] Casual Bounty: Adjust level bounty logic to correspond with max level check setting --- worlds/kh2/__init__.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/worlds/kh2/__init__.py b/worlds/kh2/__init__.py index dac5d78476..8706bb3dae 100644 --- a/worlds/kh2/__init__.py +++ b/worlds/kh2/__init__.py @@ -483,9 +483,14 @@ class KH2World(World): self.random_super_boss_list.remove(LocationName.Lvl50) self.random_super_boss_list.remove(LocationName.Lvl99) - if self.options.LevelDepth not in ["level_99", "level_99_sanity"] and LocationName.Lvl99 in self.random_super_boss_list: + # We only want the bounty corresponding to our max level, remove the other level bounty + if self.options.LevelDepth in ["level_50", "level_50_sanity"] and LocationName.Lvl99 in self.random_super_boss_list: self.random_super_boss_list.remove(LocationName.Lvl99) + # We only want the bounty corresponding to our max level, remove the other level bounty + if self.options.LevelDepthin in ["level_99", "level_99_sanity"] and LocationName.Lvl50 in self.random_super_boss_list: + self.random_super_boss_list.remove(LocationName.Lvl50) + if not self.options.SummonLevelLocationToggle and LocationName.Summonlvl7 in self.random_super_boss_list: self.random_super_boss_list.remove(LocationName.Summonlvl7)