From fb064b595033b99a9fe53d30827ee96e81ea1438 Mon Sep 17 00:00:00 2001 From: codemann8 Date: Wed, 27 Jul 2022 08:24:34 -0500 Subject: [PATCH] Guarantee Big Magic on non-Aga Bonk Location --- Fill.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Fill.py b/Fill.py index 80da0109..9633da49 100644 --- a/Fill.py +++ b/Fill.py @@ -364,10 +364,11 @@ def distribute_items_restrictive(world, gftower_trash=False, fill_locations=None pot_item_pool[player].append(item) break + from Regions import bonk_prize_table for player, magic_pool in pot_item_pool.items(): world.itempool.remove(magic_pool[0]) - pot_locations = [location for location in fill_locations - if location.type == LocationType.Bonk and location.player == player] + pot_locations = [location for location in fill_locations if location.player == player + and location.name in [n for n, (_, _, aga, _, _, _) in bonk_prize_table.items() if not aga]] pot_locations = filter_pot_locations(pot_locations, world) fast_fill_helper(world, magic_pool, pot_locations) pots_used = True