From d920bd9944f89b96c64755391d4acb965c9077d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A7=8B=E4=BA=91?= Date: Mon, 20 Jan 2025 22:52:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=9B=A0=E4=B8=BA=E5=B0=91?= =?UTF-8?q?=E5=86=99=E6=8B=AC=E5=8F=B7=E5=AF=BC=E8=87=B4=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- repo/js/AutoCatherine/main.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/repo/js/AutoCatherine/main.js b/repo/js/AutoCatherine/main.js index a8bca7e0..cb8997d5 100644 --- a/repo/js/AutoCatherine/main.js +++ b/repo/js/AutoCatherine/main.js @@ -9,13 +9,14 @@ log.error(`执行 ${locationName} 路径时发生错误`); } await sleep(2000); - if (locationName == "纳塔凯瑟琳") + if (locationName == "纳塔凯瑟琳") { keyDown("w"); await sleep(4500); keyUp("w"); keyDown("d"); await sleep(2000); - keyUp("d"); + keyUp("d"); + } } let filePath;