From d5e2faeafd26695fa33c17ea5573a579a0e51ebb Mon Sep 17 00:00:00 2001 From: mno <718135749@qq.com> Date: Sat, 21 Jun 2025 22:05:08 +0800 Subject: [PATCH] =?UTF-8?q?js=EF=BC=9A=E8=87=AA=E5=8A=A8=E7=8B=97=E7=B2=AE?= =?UTF-8?q?pro=E4=BF=AE=E5=A4=8D=E9=97=AE=E9=A2=98=20(#1161)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 尝试修复好感战斗超时时程序异常终止的问题 --- repo/js/AutoArtifactsPro/README.md | 4 +++- repo/js/AutoArtifactsPro/main.js | 1 - repo/js/AutoArtifactsPro/manifest.json | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/repo/js/AutoArtifactsPro/README.md b/repo/js/AutoArtifactsPro/README.md index 49d47a55..39eb467f 100644 --- a/repo/js/AutoArtifactsPro/README.md +++ b/repo/js/AutoArtifactsPro/README.md @@ -16,7 +16,7 @@ 使用即表示您已阅读并同意上述条款。 -**Last Updated:** 2025-06-16 +**Last Updated:** 2025-06-21 --- @@ -129,6 +129,8 @@ 3. 在执行过程中,确保游戏窗口保持在前台,避免干扰。 ## 更新日志 +### 1.3.3(2025.06.21) +1.尝试修复好感战斗超时时程序异常终止的问题 ### 1.23.4(2025.06.16) 1.增加了对于敌人类型的处理,避免报错 ### 1.23.1(2025.06.14) diff --git a/repo/js/AutoArtifactsPro/main.js b/repo/js/AutoArtifactsPro/main.js index b3dddf1d..d2b4468f 100644 --- a/repo/js/AutoArtifactsPro/main.js +++ b/repo/js/AutoArtifactsPro/main.js @@ -903,7 +903,6 @@ async function waitForBattleResult(timeout = 2 * 60 * 1000, enemyType = "盗宝 log.warn("在超时时间内未检测到战斗结果"); cts.cancel(); // 取消任务 - throw new Error("战斗超时,未检测到结果"); } /** diff --git a/repo/js/AutoArtifactsPro/manifest.json b/repo/js/AutoArtifactsPro/manifest.json index 7082e490..73287626 100644 --- a/repo/js/AutoArtifactsPro/manifest.json +++ b/repo/js/AutoArtifactsPro/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 1, "name": "自动狗粮重制版", - "version": "1.3.2", + "version": "1.3.3", "tags": ["好感", "盗宝团", "愚人众", "鳄鱼", "兽肉", "狗粮"], "description": "通过不同好感任务卡时间后运行狗粮任务以提高狗粮总收益,需要正确配置好感队伍的战斗策略,并在自定义配置中指定好感和狗粮队伍名称", "authors": [