Ambrosia logic fixes

This commit is contained in:
aerinon
2021-09-14 15:00:55 -06:00
parent ef998a2f7f
commit ebf237cca3
2 changed files with 2 additions and 2 deletions

View File

@@ -680,7 +680,7 @@ def create_graph_piece_from_state(door, o_state, b_state, proposed_map, exceptio
def filter_for_potential_bk_locations(locations, world, player): def filter_for_potential_bk_locations(locations, world, player):
return [x for x in locations if '- Big Chest' not in x.name and not not reserved_location(x, world, player) and return [x for x in locations if '- Big Chest' not in x.name and not reserved_location(x, world, player) and
not x.forced_item and not prize_or_event(x) and not blind_boss_unavail(x, locations, world, player)] not x.forced_item and not prize_or_event(x) and not blind_boss_unavail(x, locations, world, player)]

View File

@@ -167,7 +167,7 @@ def valid_key_placement(item, location, itempool, world):
cr_count = world.crystals_needed_for_gt[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) return key_logic.check_placement(unplaced_keys, location if item.bigkey else None, prize_loc, cr_count)
else: else:
return item.is_inside_dungeon_item(world) return not item.is_inside_dungeon_item(world) # todo: big deal for ambrosia to fix this
def valid_reserved_placement(item, location, world): def valid_reserved_placement(item, location, world):