SMZ3: Fix minimal logic considering SM boss tokens unnecessary (#4377)

This commit is contained in:
Kaito Sinclaire
2024-12-21 11:39:38 -08:00
committed by GitHub
parent e1a1cd1067
commit 46613adceb
2 changed files with 3 additions and 2 deletions

View File

@@ -140,7 +140,8 @@ class GanonsTower(Z3Region):
# added for AP completion_condition when TowerCrystals is lower than GanonCrystals
def CanComplete(self, items: Progression):
return self.world.CanAcquireAtLeast(self.world.GanonCrystals, items, RewardType.AnyCrystal)
return self.world.CanAcquireAtLeast(self.world.GanonCrystals, items, RewardType.AnyCrystal) and \
self.world.CanAcquireAtLeast(self.world.TourianBossTokens, items, RewardType.AnyBossToken)
def CanFill(self, item: Item):
if (self.Config.Multiworld):