fix: 适配 MAA 剿灭关卡任务出错日志

This commit is contained in:
DLmaster361
2025-08-19 23:39:04 +08:00
parent dc1fc52c33
commit 11d5ba385f
3 changed files with 12 additions and 4 deletions

View File

@@ -704,7 +704,7 @@ class GeneralSubConfig(LQConfig):
class AppConfig(GlobalConfig): class AppConfig(GlobalConfig):
VERSION = "4.4.2.0" VERSION = "4.4.3.0"
stage_refreshed = Signal() stage_refreshed = Signal()
PASSWORD_refreshed = Signal() PASSWORD_refreshed = Signal()

View File

@@ -1232,7 +1232,7 @@ class MaaManager(QObject):
"自动代理_日常": "RoutineTimeLimit", "自动代理_日常": "RoutineTimeLimit",
} }
if self.log_check_mode == "自动代理_剿灭" and "剿灭任务失败" in log: if self.log_check_mode == "自动代理_剿灭" and "任务出错: 刷理智" in log:
self.weekly_annihilation_limit_reached = True self.weekly_annihilation_limit_reached = True
else: else:
self.weekly_annihilation_limit_reached = False self.weekly_annihilation_limit_reached = False
@@ -1251,7 +1251,10 @@ class MaaManager(QObject):
if ( if (
"完成任务: Fight" in log "完成任务: Fight" in log
or "完成任务: 刷理智" in log or "完成任务: 刷理智" in log
or "剿灭任务失败" in log or (
self.log_check_mode == "自动代理_剿灭"
and "任务出错: 刷理智" in log
)
): ):
self.task_dict["Combat"] = "False" self.task_dict["Combat"] = "False"
if "完成任务: Mall" in log or "完成任务: 获取信用及购物" in log: if "完成任务: Mall" in log or "完成任务: 获取信用及购物" in log:

View File

@@ -1,6 +1,11 @@
{ {
"main_version": "4.4.2.0", "main_version": "4.4.3.0",
"version_info": { "version_info": {
"4.4.3.0": {
"修复BUG": [
"适配 MAA 剿灭关卡任务出错日志"
]
},
"4.4.2.0": { "4.4.2.0": {
"修复BUG": [ "修复BUG": [
"修复独立更新器版本号比对问题", "修复独立更新器版本号比对问题",