From 12d3cf4f8105bcff119a0651fcc3a6982243a2ef Mon Sep 17 00:00:00 2001 From: JJMdzh Date: Mon, 7 Apr 2025 21:19:40 +0800 Subject: [PATCH] Update main.js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复偶尔无法触发璃月东升对话 --- repo/js/OCR购买食材/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repo/js/OCR购买食材/main.js b/repo/js/OCR购买食材/main.js index 30ec5b5e..7f08db07 100644 --- a/repo/js/OCR购买食材/main.js +++ b/repo/js/OCR购买食材/main.js @@ -262,7 +262,7 @@ async function clickSelectedIngredients(selectedIngredients, filePath, npcNames) if (f_attempts === 1) { // 第一次未找到 F 图标 - await simulateKeyOperations("S", 500); // 后退 500 毫秒 + await simulateKeyOperations("S", 200); // 后退 200 毫秒 await sleep(200); await simulateKeyOperations("W", 800); // 前进 800 毫秒 } else if (f_attempts === 2) {