From feb1a599023dc1ab74fbf49150892f6f096f4489 Mon Sep 17 00:00:00 2001 From: espeon65536 Date: Thu, 9 Sep 2021 12:17:28 -0500 Subject: [PATCH] remove unreachable code in _oot_can_live_dmg --- worlds/oot/Rules.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/worlds/oot/Rules.py b/worlds/oot/Rules.py index b6e335d8..bac97853 100644 --- a/worlds/oot/Rules.py +++ b/worlds/oot/Rules.py @@ -27,10 +27,8 @@ class OOTLogic(LogicMixin): mult = self.world.worlds[player].damage_multiplier if hearts*4 >= 3: return mult != 'ohko' and mult != 'quadruple' - elif hearts*4 < 3: - return mult != 'ohko' else: - return True + return mult != 'ohko' # This function operates by assuming different behavior based on the "level of recursion", handled manually. # If it's called while self.age[player] is None, then it will set the age variable and then attempt to reach the region.