Blasphemous: Fixed logic errors in WotHP

This commit is contained in:
Exempt-Medic 2023-05-18 07:40:00 -04:00 committed by Fabian Dill
parent 899de428df
commit 18127a75f5
1 changed files with 9 additions and 5 deletions

View File

@ -760,12 +760,15 @@ def rules(blasphemousworld):
set_rule(world.get_location("WotHP: Upper west room, center gold cell", player),
lambda state: state._blasphemous_gold_key(player) and \
state._blasphemous_bronze_key(player))
set_rule(world.get_location("WotHP: Lower west room, bottom gold cell", player),
lambda state: state._blasphemous_gold_key(player) and \
state._blasphemous_bronze_key(player))
set_rule(world.get_location("WotHP: Upper west room, top silver cell", player),
lambda state: state._blasphemous_silver_key(player) and \
state._blasphemous_bronze_key(player))
set_rule(world.get_location("WotHP: Lower west room, bottom gold cell", player),
lambda state: state._blasphemous_gold_key(player) and \
state._blasphemous_bronze_key(player) and \
state._blasphemous_root_relic(player) and \
state._blasphemous_blood_relic(player) and \
state._blasphemous_miasma_relic(player))
set_rule(world.get_location("WotHP: Lower west room, top ledge", player),
lambda state: state._blasphemous_silver_key(player) and \
state._blasphemous_bronze_key(player))
@ -777,7 +780,8 @@ def rules(blasphemousworld):
set_rule(world.get_location("WotHP: Lower east room, top bronze cell", player),
lambda state: state._blasphemous_bronze_key(player))
set_rule(world.get_location("WotHP: Lower east room, top silver cell", player),
lambda state: state._blasphemous_silver_key(player))
lambda state: state._blasphemous_silver_key(player) and \
state._blasphemous_bronze_key(player))
set_rule(world.get_location("WotHP: Outside Child of Moonlight", player),
lambda state: state._blasphemous_silver_key(player) and \
state._blasphemous_bronze_key(player))
@ -1463,4 +1467,4 @@ def rules(blasphemousworld):
add_rule(world.get_location("Defeat 4 Amanecidas", player),
lambda state: state._blasphemous_endgame_boss_hard(player))
add_rule(world.get_location("Defeat all Amanecidas", player),
lambda state: state._blasphemous_endgame_boss_hard(player))
lambda state: state._blasphemous_endgame_boss_hard(player))