7个周本自动js脚本、自动购买狗粮改进、王狼自动刷取改进 (#432)

* manifest.json

* main.js

* Update main.js

* Update manifest.json

* Update main.js

* Add files via upload
This commit is contained in:
5117600049
2025-03-12 20:05:29 +08:00
committed by GitHub
parent 36325f09ae
commit 99b7f6aff7
44 changed files with 1399 additions and 81 deletions

View File

@@ -0,0 +1,22 @@
{
"info": {
"name": "未命名路径",
"type": "collect",
"author": "柒叶子",
"version": "1.0",
"description": "前往周本",
"bgiVersion": "0.35.1"
},
"positions": [
{
"id": 1,
"x":1468.0986328125,
"y":1998.05859375 ,
"type": "teleport",
"move_mode": "walk",
"action": "",
"action_params": ""
},
]
}

View File

@@ -0,0 +1,22 @@
{
"info": {
"name": "未命名路径",
"type": "collect",
"author": "柒叶子",
"version": "1.0",
"description": "前往周本",
"bgiVersion": "0.35.1"
},
"positions": [
{
"id": 1,
"x": 5747.71533203125,
"y": -210.318359375,
"type": "teleport",
"move_mode": "walk",
"action": "",
"action_params": ""
},
]
}

View File

@@ -0,0 +1,79 @@
(async function () {
const food = 'yueliang';
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");
await sleep(1000);
keyPress("F");
await sleep(2000);
click(1725, 1020);//单人挑战
await sleep(2000);
click(1725, 1020);//开始挑战
await sleep(15000);
keyPress("ESCAPE");//点击任意处
await sleep(2000);
keyPress("1");
await sleep(1000);//切回钟离
keyPress("B");//打开背包
await sleep(2000);
click(863, 51);//选择食物
await sleep(1000);
click(170, 1020);//筛选
await sleep(1000);
click(195, 1020);//重置
await sleep(1000);
click(110, 110);//输入名字
await sleep(1000);
for (const char of food) {
keyPress(char);
await sleep(500);
}
keyPress("SPACE");
await sleep(500);
click(490, 1020);//确认筛选
await sleep(1000);
click(180, 180);//选择第一个食物
await sleep(1000);
click(1690, 1015);//使用
await sleep(1000);
keyPress("ESCAPE");
await sleep(1500);
keyDown("w");
await sleep(8500);
keyUp("w");
await sleep(6500);
keyDown("e");
await sleep(1000);//钟离开盾
keyUp("e");
keyDown("a");
await sleep(2000);
keyUp("a");
keyDown("w");
await sleep(3500);
keyUp("w");
keyDown("d");
await sleep(3500);
keyUp("d");
await dispatcher.runTask(new SoloTask("AutoFight"));
await sleep(30000);//等待柱子碎裂
keyPress("1");
await sleep(1000);//切回钟离
keyDown("s");
await sleep(6000);
keyUp("s");
keyDown("w");
await sleep(4000);
keyUp("w");
keyPress("F");//领奖
await sleep(1000);
click(950, 750);//使用树脂
await sleep(6000);
click(975, 1000);//退出秘境
await sleep(10000);
})();

View File

@@ -0,0 +1,14 @@
{
"manifest_version": 1,
"name": "阿佩普周本刷取",
"version": "1.0",
"description": "建议队伍:钟离(必须一号位)、芙芙、精通雷神、6命芭芭拉。脚本需要在调度器设置里开启路径追踪行走配置选择切换的队伍打开允许在JsScript中使用打开战斗配置选择战斗策略推荐使用战斗脚本(周本队原地版),关闭战斗结束拾取物品和万叶拾取,最后根据队伍大致表现,填入合适的战斗超时时间,(周本队原地版)建议300s",
"authors": [
{
"name": "柒叶子",
"link": "https://github.com/511760049"
}
],
"settings_ui": "settings.json",
"main": "main.js"
}