From eb765b1c10243dc75157d442eae2c324f5a43eaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B1=9F=E7=B4=AB=E7=83=9Fowo?= <1532270678@qq.com> Date: Thu, 2 Oct 2025 22:08:45 +0800 Subject: [PATCH] YNF-AutoEat-V1.4.2 (#2056) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复了一些bug --- repo/js/YNF-AutoEat/README.md | 2 ++ repo/js/YNF-AutoEat/main.js | 5 +++-- repo/js/YNF-AutoEat/manifest.json | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/repo/js/YNF-AutoEat/README.md b/repo/js/YNF-AutoEat/README.md index b03994415..7f11f1cfc 100644 --- a/repo/js/YNF-AutoEat/README.md +++ b/repo/js/YNF-AutoEat/README.md @@ -29,6 +29,8 @@ 2. 感谢氨气老师和秋秋云老师,在审核时提供了宝贵的意见和建议。 --------------------------------------------------------------------------------------------------------------------------------- ## 更新日志 +### 1.4.2(2025.10.02) +1. 修复了一些bug ### 1.4.1(2025.09.26) 1. 副本进入流程增加OCR识别,提升流程稳定性 2. 优化了多处的等待时长,实现脚本运行全流程的平滑过渡与效率跃升 diff --git a/repo/js/YNF-AutoEat/main.js b/repo/js/YNF-AutoEat/main.js index 0745313b4..89ea7582c 100644 --- a/repo/js/YNF-AutoEat/main.js +++ b/repo/js/YNF-AutoEat/main.js @@ -334,10 +334,11 @@ // 先判断一次,队伍里有伊涅芙就直接开始运行,没有的话就切换指定队伍 if (!await includes(eater)) { if (!await switchPartyIfNeeded(party)) { log.error("未识别到指定队伍,请检查队伍名是否正确!"); return false; }//找不到指定队伍就直接报错停止 - if (!await includes(eater)) { log.error(`未识别到`+eater+`,请检查队伍名是否正确!`); return false; }// 切换成功后判断队伍中是否有伊涅芙 + if (!await includes(eater)) { log.error(`未识别到` + eater + `,请检查队伍名是否正确!`); return false; }// 切换成功后判断队伍中是否有伊涅芙 } - log.info(`已识别到`+eater+`,即将开始后续动作……`); + log.info(`已识别到` + eater + `,即将开始后续动作……`); + await sleep(5000); try { await fuben();//进入副本 diff --git a/repo/js/YNF-AutoEat/manifest.json b/repo/js/YNF-AutoEat/manifest.json index 6e2b335cf..402c75260 100644 --- a/repo/js/YNF-AutoEat/manifest.json +++ b/repo/js/YNF-AutoEat/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 1, "name": "伊涅芙の自助餐", - "version": "1.4.1", + "version": "1.4.2", "tags": [ "伊涅芙", "调味品"