Murahdahla doesn't spawn in rain state so dont put him in logic

This commit is contained in:
Bonta-kun 2019-12-16 16:44:48 +01:00
parent c1788c070d
commit 0b999abb8a
1 changed files with 1 additions and 4 deletions

View File

@ -138,10 +138,7 @@ def generate_itempool(world, player):
world.push_item(world.get_location('Ganon', player), ItemFactory('Triforce', player), False) world.push_item(world.get_location('Ganon', player), ItemFactory('Triforce', player), False)
if world.goal[player] in ['triforcehunt']: if world.goal[player] in ['triforcehunt']:
if world.mode[player] == 'inverted': region = world.get_region('Light World',player)
region = world.get_region('Light World',player)
else:
region = world.get_region('Hyrule Castle Courtyard', player)
loc = Location(player, "Murahdahla", parent=region) loc = Location(player, "Murahdahla", parent=region)
loc.access_rule = lambda state: state.item_count('Triforce Piece', player) + state.item_count('Power Star', player) > state.world.treasure_hunt_count loc.access_rule = lambda state: state.item_count('Triforce Piece', player) + state.item_count('Power Star', player) > state.world.treasure_hunt_count