Skip to content

Commit

Permalink
Fix Reverse Rage logic bug
Browse files Browse the repository at this point in the history
Need to guarantee that the player can cross Rage's river on their own, in case they already have the sword Rage is looking for.
  • Loading branch information
Ars-Ignis committed Feb 5, 2025
1 parent 0c85a28 commit a1139f7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions worlds/crystalis/logic.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,9 @@ def can_break_kirisa_plant_cave_walls(state: CollectionState) -> bool:
rage_river.access_rule = can_cross_rivers
if options.rage_skip != options.rage_skip.option_in_logic:
add_rule(rage_river, lambda state: state.has(shuffle_data.trade_in_map["Rage"], player), "and")
# need the reverse entrance because you only get the free push across if you don't have Rage's sword
rage_river_reverse = self.get_entrance("Rage - North -> Rage - South")
rage_river_reverse.access_rule = can_cross_rivers
rage_reward = self.get_location("Rage")
set_rule(rage_reward, lambda state: state.has(shuffle_data.trade_in_map["Rage"], player))

Expand Down

0 comments on commit a1139f7

Please sign in to comment.