Fix bunny glitch rules for Tower of Hera (requires a sword to hit the switch) and Mini Moldorm Cave (pits prevent clearing in superbunny state)
This commit is contained in:
parent
00a01d16fd
commit
ec49fa026b
|
@ -9,7 +9,6 @@ def get_sword_required_superbunny_mirror_regions():
|
||||||
"""
|
"""
|
||||||
Cave regions that superbunny can get through - but only with a sword.
|
Cave regions that superbunny can get through - but only with a sword.
|
||||||
"""
|
"""
|
||||||
yield 'Mini Moldorm Cave'
|
|
||||||
yield 'Spiral Cave (Top)'
|
yield 'Spiral Cave (Top)'
|
||||||
|
|
||||||
def get_boots_required_superbunny_mirror_regions():
|
def get_boots_required_superbunny_mirror_regions():
|
||||||
|
|
2
Rules.py
2
Rules.py
|
@ -1410,6 +1410,8 @@ def set_bunny_rules(world: World, player: int, inverted: bool):
|
||||||
if world.logic[player] == 'owglitches':
|
if world.logic[player] == 'owglitches':
|
||||||
if region.name == 'Swamp Palace (Entrance)':
|
if region.name == 'Swamp Palace (Entrance)':
|
||||||
return lambda state: state.has_Pearl(player)
|
return lambda state: state.has_Pearl(player)
|
||||||
|
if region.name == 'Tower of Hera (Bottom)': # Need to hit the crystal switch
|
||||||
|
return lambda state: state.has_Mirror(player) and state.has_sword(player) or state.has_Pearl(player)
|
||||||
if region.name in OverworldGlitchRules.get_invalid_bunny_revival_dungeons():
|
if region.name in OverworldGlitchRules.get_invalid_bunny_revival_dungeons():
|
||||||
return lambda state: state.has_Mirror(player) or state.has_Pearl(player)
|
return lambda state: state.has_Mirror(player) or state.has_Pearl(player)
|
||||||
if region.type == RegionType.Dungeon:
|
if region.type == RegionType.Dungeon:
|
||||||
|
|
Loading…
Reference in New Issue