Casual Bounty: Adjust level bounty logic to correspond with max level check setting

This commit is contained in:
PIEisFANTASTIC
2025-04-14 01:39:48 -04:00
parent e5e21090b0
commit b448a9081d

View File

@@ -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)