fix two region rules
This commit is contained in:
		
							parent
							
								
									1c855fea9a
								
							
						
					
					
						commit
						5254b5588e
					
				
							
								
								
									
										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))
 | 
			
		||||
 | 
			
		||||
    # 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():
 | 
			
		||||
        region = world.get_region(superbunny_mirror_weapon_region, player)
 | 
			
		||||
        if check_is_dark_world(region):
 | 
			
		||||
            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.
 | 
			
		||||
    if world.mode[player] != 'inverted':
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue