mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
fix two region rules
This commit is contained in:
3
Rules.py
3
Rules.py
@@ -770,12 +770,11 @@ def overworld_glitches_rules(world, player):
|
|||||||
set_rule(world.get_entrance(clip_spot, player), lambda state: state.has_Mirror(player))
|
set_rule(world.get_entrance(clip_spot, player), lambda state: state.has_Mirror(player))
|
||||||
|
|
||||||
# Locations that you can superbunny mirror into, but need a sword to clear.
|
# Locations that you can superbunny mirror into, but need a sword to clear.
|
||||||
mini_moldorm_cave = world.get_region('Mini Moldorm Cave', player)
|
|
||||||
for superbunny_mirror_weapon_region in OWGSets.get_sword_required_superbunny_mirror_regions():
|
for superbunny_mirror_weapon_region in OWGSets.get_sword_required_superbunny_mirror_regions():
|
||||||
region = world.get_region(superbunny_mirror_weapon_region, player)
|
region = world.get_region(superbunny_mirror_weapon_region, player)
|
||||||
if check_is_dark_world(region):
|
if check_is_dark_world(region):
|
||||||
for spot in region.locations:
|
for spot in region.locations:
|
||||||
add_rule(world.get_location(spot, player), lambda state: state.can_superbunny_mirror_with_sword(player), 'or')
|
add_rule(spot, lambda state: state.can_superbunny_mirror_with_sword(player), 'or')
|
||||||
|
|
||||||
# Regions that require the boots and some other stuff.
|
# Regions that require the boots and some other stuff.
|
||||||
if world.mode[player] != 'inverted':
|
if world.mode[player] != 'inverted':
|
||||||
|
|||||||
Reference in New Issue
Block a user