Blasphemous: Fix logic for Laudes (for real this time) (#1727)

This commit is contained in:
Trevor L 2023-04-17 18:03:06 -06:00 committed by GitHub
parent be74a4a71a
commit 1a7bc4ffd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 11 deletions

View File

@ -299,9 +299,7 @@ class BlasphemousLogic(LogicMixin):
return self.has_group("masks", player, 3) return self.has_group("masks", player, 3)
def _blasphemous_laudes_gate(self, player): def _blasphemous_laudes_gate(self, player):
return self.has_all({"Petrified Bell", "Blood Perpetuated in Sand", "Three Gnarled Tongues", \ return self.has("Verses Spun from Gold", player, 4)
"Key of the Secular", "Key of the Scribe"}, player) and \
self.has("Verses Spun from Gold", player, 4)
# Ten Piedad, Tres Angustias, Our Lady of the Charred Visage # Ten Piedad, Tres Angustias, Our Lady of the Charred Visage
def _blasphemous_wound_boss_easy(self, player): def _blasphemous_wound_boss_easy(self, player):
@ -481,8 +479,7 @@ def rules(blasphemousworld):
lambda state: state._blasphemous_bridge_access(player)) lambda state: state._blasphemous_bridge_access(player))
set_rule(world.get_location("BotTC: Inside giant statue", player), set_rule(world.get_location("BotTC: Inside giant statue", player),
lambda state: state._blasphemous_bridge_access(player) and \ lambda state: state._blasphemous_bridge_access(player) and \
state._blasphemous_laudes_gate(player) and \ state._blasphemous_laudes_gate(player))
state._blasphemous_1_mask(player))
# Brotherhood of the Silent Sorrow # Brotherhood of the Silent Sorrow
set_rule(world.get_location("BotSS: Starting room Child of Moonlight", player), set_rule(world.get_location("BotSS: Starting room Child of Moonlight", player),
@ -629,7 +626,6 @@ def rules(blasphemousworld):
# Hall of the Dawning # Hall of the Dawning
set_rule(world.get_location("HotD: Laudes, the First of the Amanecidas", player), set_rule(world.get_location("HotD: Laudes, the First of the Amanecidas", player),
lambda state: state._blasphemous_bridge_access(player) and \ lambda state: state._blasphemous_bridge_access(player) and \
state._blasphemous_1_mask(player) and \
state._blasphemous_laudes_gate(player)) state._blasphemous_laudes_gate(player))
# Jondo # Jondo
@ -945,8 +941,7 @@ def rules(blasphemousworld):
lambda state: state._blasphemous_ex_bridge_access(player)) lambda state: state._blasphemous_ex_bridge_access(player))
set_rule(world.get_location("BotTC: Inside giant statue", player), set_rule(world.get_location("BotTC: Inside giant statue", player),
lambda state: state._blasphemous_ex_bridge_access(player) and \ lambda state: state._blasphemous_ex_bridge_access(player) and \
state._blasphemous_laudes_gate(player) and \ state._blasphemous_laudes_gate(player))
state._blasphemous_1_mask(player))
set_rule(world.get_location("BotSS: Esdras' final gift", player), set_rule(world.get_location("BotSS: Esdras' final gift", player),
lambda state: state._blasphemous_blood_relic(player) and \ lambda state: state._blasphemous_blood_relic(player) and \
state._blasphemous_scapular(player) and \ state._blasphemous_scapular(player) and \
@ -995,7 +990,6 @@ def rules(blasphemousworld):
state._blasphemous_ranged(player))))) state._blasphemous_ranged(player)))))
set_rule(world.get_location("HotD: Laudes, the First of the Amanecidas", player), set_rule(world.get_location("HotD: Laudes, the First of the Amanecidas", player),
lambda state: state._blasphemous_ex_bridge_access(player) and \ lambda state: state._blasphemous_ex_bridge_access(player) and \
state._blasphemous_1_mask(player) and \
state._blasphemous_laudes_gate(player)) state._blasphemous_laudes_gate(player))
set_rule(world.get_location("LotNW: Elevator Child of Moonlight", player), set_rule(world.get_location("LotNW: Elevator Child of Moonlight", player),
lambda state: state._blasphemous_blood_relic(player) and \ lambda state: state._blasphemous_blood_relic(player) and \