mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
fix treasure hunt (aka triforce hunt) condition
This commit is contained in:
@@ -143,7 +143,7 @@ def generate_itempool(world, player):
|
||||
|
||||
loc = Location(player, "Murahdahla", parent=region)
|
||||
loc.access_rule = lambda state: state.item_count('Triforce Piece', player) + state.item_count('Power Star',
|
||||
player) > \
|
||||
player) >= \
|
||||
state.world.treasure_hunt_count[player]
|
||||
region.locations.append(loc)
|
||||
world.dynamic_locations.append(loc)
|
||||
|
||||
Reference in New Issue
Block a user