Fixed logic with Laser Bridge with Byrna Item Functionality

This commit is contained in:
codemann8
2023-12-29 03:54:50 -06:00
parent 785188904d
commit e1a86221ea
2 changed files with 7 additions and 5 deletions

View File

@@ -1300,7 +1300,9 @@ class CollectionState(object):
return self.has('Fire Rod', player) or (self.has('Bombos', player) and self.has_sword(player))
def can_avoid_lasers(self, player):
return self.has('Mirror Shield', player) or self.has('Cane of Byrna', player) or self.has('Cape', player)
return (self.has('Mirror Shield', player) or
self.has('Cape', player) or
(self.has('Cane of Byrna', player) and self.world.difficulty_adjustments[player] not in ['hard', 'expert']))
def is_not_bunny(self, region, player):
return self.has_Pearl(player) or not region.can_cause_bunny(player)