TLOZ: Fix rings classification, so they are actually considered for logic (#3253)

This commit is contained in:
t3hf1gm3nt
2024-05-02 17:49:39 -04:00
committed by GitHub
parent 49862dca1f
commit 255e52642e
2 changed files with 3 additions and 2 deletions

View File

@@ -28,6 +28,7 @@ def set_rules(tloz_world: "TLoZWorld"):
or location.name not in dangerous_weapon_locations:
add_rule(world.get_location(location.name, player),
lambda state: state.has_group("weapons", player))
# This part of the loop sets up an expected amount of defense needed for each dungeon
if i > 0: # Don't need an extra heart for Level 1
add_rule(world.get_location(location.name, player),
lambda state, hearts=i: state.has("Heart Container", player, hearts) or