Merged DR v1.0.1.3

This commit is contained in:
codemann8
2022-09-07 22:44:11 -05:00
9 changed files with 30 additions and 18 deletions

View File

@@ -172,7 +172,8 @@ def valid_key_placement(item, location, key_pool, world):
if key_logic.prize_location:
prize_loc = world.get_location(key_logic.prize_location, location.player)
cr_count = world.crystals_needed_for_gt[location.player]
return key_logic.check_placement(unplaced_keys, location if item.bigkey else None, prize_loc, cr_count)
wild_keys = world.keyshuffle[item.player]
return key_logic.check_placement(unplaced_keys, wild_keys, location if item.bigkey else None, prize_loc, cr_count)
else:
return not item.is_inside_dungeon_item(world)