From 9862b9541a27a97de9f32149c38a8c81472f8763 Mon Sep 17 00:00:00 2001 From: Ehseezed <97066152+Ehseezed@users.noreply.github.com> Date: Sun, 18 Aug 2024 11:54:19 -0500 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Exempt-Medic <60412657+Exempt-Medic@users.noreply.github.com> --- worlds/timespinner/LogicExtensions.py | 3 +-- worlds/timespinner/Options.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/worlds/timespinner/LogicExtensions.py b/worlds/timespinner/LogicExtensions.py index 0ff247c6bbe5..2a0a358737f7 100644 --- a/worlds/timespinner/LogicExtensions.py +++ b/worlds/timespinner/LogicExtensions.py @@ -95,8 +95,7 @@ def can_break_walls(self, state: CollectionState) -> bool: def can_kill_all_3_bosses(self, state: CollectionState) -> bool: if self.flag_prism_break: return state.has_all({'Laser Access M', 'Laser Access I', 'Laser Access A'}, self.player) - else: - return state.has_all({'Killed Maw', 'Killed Twins', 'Killed Aelana'}, self.player) + return state.has_all({'Killed Maw', 'Killed Twins', 'Killed Aelana'}, self.player) def has_teleport(self, state: CollectionState) -> bool: return self.flag_unchained_keys or state.has('Twin Pyramid Key', self.player) diff --git a/worlds/timespinner/Options.py b/worlds/timespinner/Options.py index d268e569413b..11b619265ec7 100644 --- a/worlds/timespinner/Options.py +++ b/worlds/timespinner/Options.py @@ -187,7 +187,7 @@ class HpCap(Range): default = 999 class AuraCap(Range): - """Sets the maximum Aura Lunais is allowed to have. Level 1 is 80. Djinn Inferno costs 45""" + """Sets the maximum Aura Lunais is allowed to have. Level 1 is 80. Djinn Inferno costs 45.""" display_name = "Aura Cap" range_start = 45 range_end = 999