v.4.2版 全自动枫丹地脉花 20251021 (#2212)

- 修复地区选择BUG。
- 删除游泳检测判断识别,本体已经支持游泳检测返回战斗节点。
This commit is contained in:
kaedelcb
2025-10-22 22:51:16 +08:00
committed by GitHub
parent 63d713cfd9
commit 66bfb3ad75
3 changed files with 14 additions and 6 deletions

View File

@@ -28,7 +28,12 @@
## 三、更新说明
### v.4.1版 全自动枫丹地脉花 0250926
### v.4.2版 全自动枫丹地脉花 20251021
- 修复地区选择BUG。
- 删除游泳检测判断识别,本体已经支持游泳检测返回战斗节点。
### v.4.1版 全自动枫丹地脉花 20250926
- **优化**
1. 删除拖动模式寻找地脉花,全部使用冒险之证的方式。

View File

@@ -198,7 +198,7 @@
: genshin.width > 1920 ? 0.8
: 0.9;
log.warn(`全自动枫丹地脉花: v4.1 - ${SHUV}.${color}.${rawTimes}`);//调试LOG
log.warn(`全自动枫丹地脉花: v4.2 - ${SHUV}.${color}.${rawTimes}`);//调试LOG
log.warn(`使用树脂类型数量:${rewards.length}`);
log.warn(`使用树脂顺序:${golbalRewardText.join(" ->")}`);
@@ -456,8 +456,11 @@
await sleep(1000);
await click(1562,787);
await sleep(1000);
let fontaine1 = await Textocr("枫丹",1,1,0,1031,641,250,240);
if(!fontaine1.found){await click(1524,670);}
let fontaine1 = await Textocr("枫丹",2,1,0,1031,611,250,270);
if(!fontaine1.found){
log.info("强制选枫丹...");
await click(1524,625);
}
await sleep(1000);
let fontaine2 = await Textocr("枫丹",1,0,0,1031,641,250,240);
if (!fontaine2.found){continue}
@@ -1047,7 +1050,7 @@
let startTime = Date.now();
let noTextCount = 0;
const successKeywords = ["挑战达成", "战斗胜利", "挑战成功"];
const failureKeywords = ["挑战失败","游泳"];
const failureKeywords = ["挑战失败"];
const recovery = ["复苏"];
// 循环检测直到超时

View File

@@ -1,7 +1,7 @@
{
"manifest_version": 1,
"name": "全自动枫丹地脉花",
"version": "4.1",
"version": "4.2",
"bgi_version": "0.47.1",
"description": "枫丹地脉花蓝花金花通用。生存压力大请带盾奶避免纯水输出请注意说明文件。如有BUG请联系作者QQ:119996800",
"tags": [