Fix: OBTAIN_* should be moved together

This commit is contained in:
LmeSzinc 2024-05-21 12:35:45 +08:00
parent cf31bd93af
commit 3f291925fa

View File

@ -253,8 +253,11 @@ class CombatObtain(PlannerMixin):
skip_first_screenshot = False skip_first_screenshot = False
else: else:
self.device.screenshot() self.device.screenshot()
if MAY_OBTAIN.match_template(self.device.image): if MAY_OBTAIN.match_template(self.device.image):
OBTAIN_1.load_offset(MAY_OBTAIN) OBTAIN_1.load_offset(MAY_OBTAIN)
OBTAIN_2.load_offset(MAY_OBTAIN)
OBTAIN_3.load_offset(MAY_OBTAIN)
return True return True