Skip to content

Commit

Permalink
Blasphemous: Fixed logic errors in WotHP
Browse files Browse the repository at this point in the history
  • Loading branch information
Exempt-Medic authored and Berserker66 committed May 19, 2023
1 parent 899de42 commit 18127a7
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions worlds/blasphemous/Rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand All @@ -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))
Expand Down Expand Up @@ -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))

0 comments on commit 18127a7

Please sign in to comment.