fix: 修复传送并自动秘境无法正常打芬德尼尔之顶(冰本)

This commit is contained in:
bling-yshs
2024-12-30 22:57:15 +08:00
parent e3951d73c1
commit c3c83742e5

View File

@@ -271,12 +271,14 @@
await genshin.tp(domainInfo.position[2], domainInfo.position[0]);
await sleep(1000);
// 向前走
keyDown("w");
await sleep(2500);
keyUp("w");
await sleep(500);
// 向前走,除非秘境是芬德尼尔之顶
if (domainName !== "芬德尼尔之顶") {
// 向前走
keyDown("w");
await sleep(2500);
keyUp("w");
await sleep(500);
}
// 执行自动秘境
await dispatcher.runTask(new SoloTask("AutoDomain"));