Compare commits

...

2 Commits

Author SHA1 Message Date
MisakaAldrich
c37d84bc80 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:32:17 +00:00
起个名字好难的喵
fe4834444b JS脚本: 兽肉好感fix: 神像返回后没预留延迟加载 (#805) 2025-05-13 22:31:47 +08:00
2 changed files with 4 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
{
"time": "20250513221358",
"time": "20250513223216",
"url": "https://github.com/babalae/bettergi-scripts-list/archive/refs/heads/main.zip",
"file": "repo.json",
"indexes": [
@@ -49507,7 +49507,7 @@
"兽肉",
"突发事件"
],
"lastUpdated": "2025-05-11 17:05:54"
"lastUpdated": "2025-05-13 22:31:47"
},
{
"name": "AutoFriendshipTreasureHunters",

View File

@@ -76,6 +76,7 @@
if ((i + 1) % statueTimes === 0) { // 判断当前循环次数否达到去神像设置值
await genshin.tpToStatueOfTheSeven();
await AutoPath(`好感-张牙舞爪的恶党-触发位置(二净甸)`);
await sleep(delayTime);
} else if (!await comparePosition()) { // 对比触发位置坐标,如果不符合预期坐标则重新执行触发线路
log.info(`导航至突发任务(张牙舞爪的恶党)触发位置(二净甸)`);
await AutoPath(`好感-张牙舞爪的恶党-触发位置(二净甸)`);
@@ -99,7 +100,7 @@
ocrStatus = true;
break;
}
await sleep(1000);
await sleep(500);
}
}