Merge pull request #255 from physligl/patch-1

修复因为少写括号导致的bug
This commit is contained in:
辉鸭蛋
2025-01-21 00:27:07 +08:00
committed by GitHub

View File

@@ -9,13 +9,14 @@
log.error(`执行 ${locationName} 路径时发生错误`); log.error(`执行 ${locationName} 路径时发生错误`);
} }
await sleep(2000); await sleep(2000);
if (locationName == "纳塔凯瑟琳") if (locationName == "纳塔凯瑟琳") {
keyDown("w"); keyDown("w");
await sleep(4500); await sleep(4500);
keyUp("w"); keyUp("w");
keyDown("d"); keyDown("d");
await sleep(2000); await sleep(2000);
keyUp("d"); keyUp("d");
}
} }
let filePath; let filePath;