From 275e9e6bcce83378bba477ebde4c6036ea1b1241 Mon Sep 17 00:00:00 2001 From: DLmaster361 Date: Wed, 20 Aug 2025 00:06:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=80=82=E9=85=8D=20MAA=20=E5=89=BF?= =?UTF-8?q?=E7=81=AD=E5=85=B3=E5=8D=A1=E4=BB=BB=E5=8A=A1=E5=87=BA=E9=94=99?= =?UTF-8?q?=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/task/MAA.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/task/MAA.py b/app/task/MAA.py index dacb589..9fa3c65 100644 --- a/app/task/MAA.py +++ b/app/task/MAA.py @@ -1194,7 +1194,7 @@ class MaaManager: logger.info(f"MAA最近一条日志时间:{latest_time}") - if self.mode == "Annihilation" and "剿灭任务失败" in log: + if self.log_check_mode == "Annihilation" and "任务出错: 刷理智" in log: self.weekly_annihilation_limit_reached = True else: self.weekly_annihilation_limit_reached = False @@ -1213,7 +1213,10 @@ class MaaManager: if ( "完成任务: Fight" in log or "完成任务: 刷理智" in log - or "剿灭任务失败" in log + or ( + self.log_check_mode == "Annihilation" + and "任务出错: 刷理智" in log + ) ): self.task_dict["Combat"] = "False" if "完成任务: Mall" in log or "完成任务: 获取信用及购物" in log: