mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Set triforce pieces available to max of available and required.
This commit is contained in:
@@ -511,8 +511,6 @@ def get_pool_core(world, player: int):
|
||||
extraitems -= len(diff.timedohko)
|
||||
clock_mode = 'countdown-ohko'
|
||||
if goal in {'triforcehunt', 'localtriforcehunt'}:
|
||||
if world.triforce_pieces_required[player] > world.triforce_pieces_available[player]:
|
||||
world.triforce_pieces_required[player] = world.triforce_pieces_available[player]
|
||||
while len(diff.triforcehunt) > world.triforce_pieces_available[player]:
|
||||
diff.triforcehunt.pop()
|
||||
pool.extend(diff.triforcehunt)
|
||||
|
||||
Reference in New Issue
Block a user