From 5c95cf873004c2925e4967977167c4e62e2905ca Mon Sep 17 00:00:00 2001 From: compiling <8335770+compiling@users.noreply.github.com> Date: Sat, 14 Mar 2020 10:31:28 +1100 Subject: [PATCH] Fix Half Magic logic --- BaseClasses.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BaseClasses.py b/BaseClasses.py index 4f04236f..39c6b679 100644 --- a/BaseClasses.py +++ b/BaseClasses.py @@ -419,9 +419,9 @@ class CollectionState(object): def can_extend_magic(self, player, smallmagic=16, fullrefill=False): #This reflects the total magic Link has, not the total extra he has. basemagic = 8 - if self.has('Quarter Magic', player): + if self.has('Magic Upgrade (1/4)', player): basemagic = 32 - elif self.has('Half Magic', player): + elif self.has('Magic Upgrade (1/2)', player): basemagic = 16 if self.can_buy_unlimited('Green Potion', player) or self.can_buy_unlimited('Blue Potion', player): if self.world.difficulty_adjustments == 'hard' and not fullrefill: