fix treasure hunt (aka triforce hunt) condition

This commit is contained in:
Fabian Dill 2020-06-08 06:58:38 +02:00
parent 10dca0461d
commit ccf418a614
1 changed files with 1 additions and 1 deletions

View File

@ -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)