Compare commits

...

5 Commits

Author SHA1 Message Date
physligl
225c63e1c2 update repo.json
Some checks failed
Build repo.json / build (18.x) (push) Has been cancelled
Build repo.json / upload (push) Has been cancelled
2025-05-13 14:14:00 +00:00
秋云
d86fbce41b 地脉花:修复无法关闭领奖界面 2025-05-13 22:13:30 +08:00
physligl
8d0f6d0b28 update repo.json 2025-05-13 13:34:20 +00:00
秋云
b13dfed533 Merge remote-tracking branch 'upstream/main' 2025-05-13 21:33:22 +08:00
秋云
9439cd3620 fix: 虽然不知道什么原因,但是加上这句就不会报错 2025-05-13 21:32:54 +08:00
3 changed files with 8 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
{
"time": "20250513203908",
"time": "20250513221358",
"url": "https://github.com/babalae/bettergi-scripts-list/archive/refs/heads/main.zip",
"file": "repo.json",
"indexes": [
@@ -49521,7 +49521,7 @@
"盗宝团",
"突发事件"
],
"lastUpdated": "2025-05-13 20:37:56"
"lastUpdated": "2025-05-13 21:32:54"
},
{
"name": "AutoFriendship鸡腿",
@@ -49544,7 +49544,7 @@
"author": "ddaodan",
"description": "全自动地脉花~|~基于OCR图像识别的全自动刷取地脉花。\n💡更多信息请查看在线手册https://hcnsvf0s8d0s.feishu.cn/wiki/Tb1twpThLi7UlykqcYOcuccTnjJ \n\n----------注意事项----------\n●仅支持BetterGI 0.44.7 及以上版本!\n●脚本仍未完成没有出现的路线还未制作请耐心等待。目前只有蒙德是全部路线其他国家请使用强制运行模式。\n●目前脚本能力有限暂时不支持识别地脉花是否已经开启请确保队伍的练度足够中途出现角色血量过低或倒下会无法继续届时需要在重新运行时手动关闭领取地脉花奖励的界面。\n●脚本还提供了强行运行的功能当无法识别地脉花位置时可以指定线路脚本将不再对地脉花进行识别即使没有领取到奖励也会继续运行适用于路线重跑以及开发调试。\n●运行时会传送到七天神像设置中设置的七天神像可能需要关闭七天神像设置中的“是否就近七天神像恢复血量”并指定七天神像。\n●战斗策略注意调度器设置中地图追踪行走配置里的“允许在JsSpript中使用”和“覆盖JS中的自动战斗配置”只有在都打开的情况下脚本才会使用下面的战斗配置否则会使用独立任务中的战斗策略。",
"tags": [],
"lastUpdated": "2025-05-13 16:40:34"
"lastUpdated": "2025-05-13 22:13:30"
},
{
"name": "AutoNobushi",

View File

@@ -192,6 +192,7 @@ async function AutoFriendshipDev(times, ocrTimeout, fightTimeout) {
}
}
log.info('盗宝团好感已完成');
await genshin.tpToStatueOfTheSeven(); // 虽然不知道什么原因,但是不加这句会报错
}
// 验证输入是否是正整数

View File

@@ -1274,6 +1274,10 @@ async function adjustViewForReward(boxIconRo) {
let res = resList[i];
if (res.text.includes("原粹树脂")) {
log.info("误触发领取页面,尝试关闭页面")
keyPress("ESCAPE");
await sleep(500);
keyPress("ESCAPE");
await sleep(500);
await genshin.returnMainUi();
}
}