From 6464b516f85eaaad12d78f60d9e3833fdf8fe630 Mon Sep 17 00:00:00 2001 From: LLCoolDave Date: Fri, 14 Jul 2017 16:11:44 +0200 Subject: [PATCH] For now, ganon's invincibility prevents the ganon drop transition form being used outside of ganon seeds. --- Rules.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Rules.py b/Rules.py index b0902c88..13a3e39e 100644 --- a/Rules.py +++ b/Rules.py @@ -303,7 +303,10 @@ def global_rules(world): forbid_item(world.get_location(location), 'Big Key (Ganons Tower)') set_rule(world.get_location('Ganon'), lambda state: state.has_beam_sword() and state.has_fire_source() and (state.has('Tempered Sword') or state.has('Golden Sword') or (state.has('Silver Arrows') and state.has('Bow')) or state.has('Lamp') or state.has('Bottle') or state.has('Half Magic') or state.has('Quarter Magic'))) # need to light torch a sufficient amount of times - set_rule(world.get_entrance('Ganon Drop'), lambda state: state.has_beam_sword()) # need to damage ganon to get tiles to drop + if world.goal == 'ganon': + set_rule(world.get_entrance('Ganon Drop'), lambda state: state.has_beam_sword()) # need to damage ganon to get tiles to drop + else: + set_rule(world.get_entrance('Ganon Drop'), lambda state: False) # other game modes have ganon damage disabled until you can defeat him (and beat the game), so this transition is not available def no_glitches_rules(world):