JS脚本归档 (#599)

This commit is contained in:
起个名字好难的喵
2025-04-18 23:22:20 +08:00
committed by GitHub
parent 16cbcfc011
commit 9873074579
177 changed files with 1346 additions and 1346 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": -4403.830078125,
"y": -2481.962890625,
"type": "teleport",
"move_mode": "walk",
"action": "",
"action_params": ""
},
]
}

View File

@@ -0,0 +1,72 @@
(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("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);
keyPress("1");
await sleep(1000);//切回钟离
keyDown("s");
await sleep(1000);
keyUp("s");
await dispatcher.runTask(new SoloTask("AutoFight"));
keyPress("1");
await sleep(1000);//切回钟离
keyDown("s");
await sleep(2400);//再次校准位置
keyUp("s");
keyDown("w");
await sleep(5200);
keyUp("w");
await sleep(1000);
keyPress("F");//领奖
await sleep(1000);
click(950, 750);//使用树脂
await sleep(6000);
click(975, 1000);//退出秘境
await sleep(1000);
keyPress("ESCAPE");//退出秘境:避免挑战失败无法退出
await sleep(500);
click(950, 750);//点击确认:避免挑战失败无法退出
await sleep(3500);
keyPress("ESCAPE");//退出秘境:避免挑战失败无法退出
await sleep(7500);
})();

View File

@@ -0,0 +1,14 @@
{
"manifest_version": 1,
"name": "雷神周本刷取",
"version": "1.1",
"description": "建议队伍:钟离(必须一号位)、芙芙、精通雷神、6命芭芭拉。脚本需要在调度器设置里开启路径追踪行走配置选择切换的队伍打开允许在JsScript中使用打开战斗配置选择战斗策略推荐使用战斗脚本(周本队后退版),关闭战斗结束拾取物品和万叶拾取,最后根据队伍大致表现,填入合适的战斗超时时间,(周本队后退版)建议210s此外周本压力较大会强制使用美味的月亮派请提前准备如果队伍练度不够请必须保证有一个六命老芭不然打不过",
"authors": [
{
"name": "柒叶子",
"link": "https://github.com/511760049"
}
],
"settings_ui": "settings.json",
"main": "main.js"
}

View File

@@ -0,0 +1,8 @@
钟离 s(2.4),e(hold)
雷电将军 e
芭芭拉 e
钟离 s(2.4),e(hold)
芙宁娜 q,e