Guarantee Big Magic on non-Aga Bonk Location
This commit is contained in:
5
Fill.py
5
Fill.py
@@ -364,10 +364,11 @@ def distribute_items_restrictive(world, gftower_trash=False, fill_locations=None
|
|||||||
pot_item_pool[player].append(item)
|
pot_item_pool[player].append(item)
|
||||||
break
|
break
|
||||||
|
|
||||||
|
from Regions import bonk_prize_table
|
||||||
for player, magic_pool in pot_item_pool.items():
|
for player, magic_pool in pot_item_pool.items():
|
||||||
world.itempool.remove(magic_pool[0])
|
world.itempool.remove(magic_pool[0])
|
||||||
pot_locations = [location for location in fill_locations
|
pot_locations = [location for location in fill_locations if location.player == player
|
||||||
if location.type == LocationType.Bonk and 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)
|
pot_locations = filter_pot_locations(pot_locations, world)
|
||||||
fast_fill_helper(world, magic_pool, pot_locations)
|
fast_fill_helper(world, magic_pool, pot_locations)
|
||||||
pots_used = True
|
pots_used = True
|
||||||
|
|||||||
Reference in New Issue
Block a user