YNF-AutoEat-V1.4.2 (#2056)

修复了一些bug
This commit is contained in:
江紫烟owo
2025-10-02 22:08:45 +08:00
committed by GitHub
parent e48e153767
commit eb765b1c10
3 changed files with 6 additions and 3 deletions

View File

@@ -29,6 +29,8 @@
2. 感谢氨气老师和秋秋云老师,在审核时提供了宝贵的意见和建议。
---------------------------------------------------------------------------------------------------------------------------------
## 更新日志
### 1.4.22025.10.02
1. 修复了一些bug
### 1.4.12025.09.26
1. 副本进入流程增加OCR识别提升流程稳定性
2. 优化了多处的等待时长,实现脚本运行全流程的平滑过渡与效率跃升

View File

@@ -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();//进入副本

View File

@@ -1,7 +1,7 @@
{
"manifest_version": 1,
"name": "伊涅芙の自助餐",
"version": "1.4.1",
"version": "1.4.2",
"tags": [
"伊涅芙",
"调味品"