Skip to content

Commit

Permalink
TUNIC: Fix for incorrect Zig 3 ER rule (ArchipelagoMW#2849)
Browse files Browse the repository at this point in the history
* Fix for incorrect ER rule in zig 3

* Add nmg logic to this same connection
  • Loading branch information
ScipioWright authored Feb 25, 2024
1 parent 8f7b0ee commit 46fc8df
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion worlds/tunic/er_rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -502,9 +502,13 @@ def set_er_region_rules(world: "TunicWorld", ability_unlocks: Dict[str, int], re
rule=lambda state: state.has(laurels, player)
or (has_sword(state, player) and has_ability(state, player, prayer, options, ability_unlocks)))
# unrestricted: use ladder storage to get to the front, get hit by one of the many enemies
# nmg: can ice grapple on the voidlings to the double admin fight, still need to pray at the fuse
regions["Rooted Ziggurat Lower Back"].connect(
connecting_region=regions["Rooted Ziggurat Lower Front"],
rule=lambda state: state.has(laurels, player) or can_ladder_storage(state, player, options))
rule=lambda state: ((state.has(laurels, player) or
has_ice_grapple_logic(True, state, player, options, ability_unlocks)) and
has_ability(state, player, prayer, options, ability_unlocks)
and has_sword(state, player)) or can_ladder_storage(state, player, options))

regions["Rooted Ziggurat Lower Back"].connect(
connecting_region=regions["Rooted Ziggurat Portal Room Entrance"],
Expand Down

0 comments on commit 46fc8df

Please sign in to comment.