Files
bettergi-scripts-list/repo/js/风魔龙周本/main.js
5117600049 99b7f6aff7 7个周本自动js脚本、自动购买狗粮改进、王狼自动刷取改进 (#432)
* manifest.json

* main.js

* Update main.js

* Update manifest.json

* Update main.js

* Add files via upload
2025-03-12 20:05:29 +08:00

40 lines
895 B
JavaScript

(async function () {
await sleep(1000);
await pathingScript.runFile("assets/recover.json");
await sleep(5000);
await pathingScript.runFile("assets/tp.json");
await sleep(1000);
keyDown("w");
await sleep(2000);
keyUp("w");
keyPress("F");
await sleep(9000);
click(1725, 1020);//单人挑战
await sleep(2000);
click(1725, 1020);//开始挑战
await sleep(15000);
keyPress("1");
await sleep(1000);//切回钟离
keyDown("w");
await sleep(4000);
keyUp("w");
await dispatcher.runTask(new SoloTask("AutoFight"));
await sleep(30000);//等待柱子碎裂
keyPress("1");
await sleep(1000);//切回钟离
keyDown("w");
await sleep(5000);
keyUp("w");
keyDown("s");
await sleep(1400);
keyUp("s");
await sleep(1000);
keyPress("F");//领奖
await sleep(1000);
click(950, 750);//使用树脂
await sleep(6000);
click(975, 1000);//退出秘境
await sleep(10000);
})();