diff --git a/repo/js/AutoFishingTeyvat/main.js b/repo/js/AutoFishingTeyvat/main.js index cac8c1d54..6c60b34ef 100644 --- a/repo/js/AutoFishingTeyvat/main.js +++ b/repo/js/AutoFishingTeyvat/main.js @@ -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); diff --git a/repo/js/AutoFishingTeyvat/manifest.json b/repo/js/AutoFishingTeyvat/manifest.json index a3ee85f3e..5e156d52d 100644 --- a/repo/js/AutoFishingTeyvat/manifest.json +++ b/repo/js/AutoFishingTeyvat/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 1, "name": "提瓦特自动钓鱼(全流程+自选)", - "version": "2.3.2", + "version": "2.3.3", "bgi_version": "0.47.0", "description": "支持自动追踪并垂钓bgi支持的全提瓦特垂钓点", "authors": [