JS脚本:提瓦特全自动钓鱼【修复】 (#1362)

This commit is contained in:
提瓦特钓鱼玳师
2025-07-18 00:18:30 +08:00
committed by GitHub
parent c84c58a137
commit c1180d8708
3 changed files with 34 additions and 35 deletions

View File

@@ -563,7 +563,6 @@
}
// 调用自动钓鱼
await genshin.autofishing(fishing_time_dic[fishing_time]["param"]);
await dispatcher.runTask(new SoloTask("AutoFishing", {
"fishingTimePolicy": fishing_time_dic[fishing_time]["param"],
"throwRodTimeOutTimeoutSeconds": time_out_throw,
@@ -632,6 +631,7 @@
await sleep(1000);
let ocrText = captureGameRegion().Find(ocrRoText); // 当前页面OCR
if (ocrText.isExist() && ocrText.text === "回到单人模式") {
log.info("当前为多人模式垂钓点CD统计已失效...");
fishing_cd = false; // 多人模式下关闭CD记录功能
}