Update main.js

修复偶尔无法触发璃月东升对话
This commit is contained in:
JJMdzh
2025-04-07 21:19:40 +08:00
committed by GitHub
parent 7c32c5e1c5
commit 12d3cf4f81

View File

@@ -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) {