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

* 优化垂钓点跳过逻辑

* 回退部分更改
This commit is contained in:
提瓦特钓鱼玳师
2025-11-06 21:39:33 +08:00
committed by GitHub
parent dcf736cfa1
commit 0fff7cf8d1
2 changed files with 5 additions and 3 deletions

View File

@@ -511,10 +511,12 @@
}
// 本次已经到达4点(5s容错)
if (new Date() > time_4.setSeconds(time_4.getSeconds())) {
if (new Date() > time_4.setSeconds(time_4.getSeconds()) && new Date() < time_4.setSeconds(time_4.getSeconds() + 5)) {
await sleep(5000);
step_flag += 1;
auto_skip = false;
} else {
await sleep(10);
}
// 领取月卡(点击两次)
if (step_flag === 2) {
@@ -658,7 +660,7 @@
// 获取当前用户UID
let uid = "default_user";
if (fishing_cd) {
if (fishing_cd && !is_con) {
const ocrRoUid = RecognitionObject.Ocr(166, 198, 120, 22);
const ocrRoText = RecognitionObject.Ocr(1565, 997, 177, 39);

View File

@@ -1,7 +1,7 @@
{
"manifest_version": 1,
"name": "提瓦特自动钓鱼(全流程+自选)",
"version": "2.3.2",
"version": "2.3.3",
"bgi_version": "0.47.0",
"description": "支持自动追踪并垂钓bgi支持的全提瓦特垂钓点",
"authors": [