From 18127a75f57b438cb4cc964eeb1b490878d8668c Mon Sep 17 00:00:00 2001 From: Exempt-Medic <60412657+Exempt-Medic@users.noreply.github.com> Date: Thu, 18 May 2023 07:40:00 -0400 Subject: [PATCH] Blasphemous: Fixed logic errors in WotHP --- worlds/blasphemous/Rules.py | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/worlds/blasphemous/Rules.py b/worlds/blasphemous/Rules.py index ba01e4056fd..b6485e68677 100644 --- a/worlds/blasphemous/Rules.py +++ b/worlds/blasphemous/Rules.py @@ -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)) \ No newline at end of file + lambda state: state._blasphemous_endgame_boss_hard(player))