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

@@ -1,46 +1,29 @@
(async function () {
log.info('开始购买狗粮');
async function Purchase(locationName) {
let filePath = `assets/${locationName}.json`;
await pathingScript.runFile(filePath);
}
//读取配置
let holdingState = settings.holdingState != undefined ? settings.holdingState : '';
let holdingState = settings.holdingState ?? 0;
//基本购买流程
async function Shopping() {
await sleep(1500);
keyPress("F"); await sleep(1200);//对话
keyPress("F"); await sleep(1800);//对话
keyPress("F"); await sleep(1200);//对话
for (let j = 0; j < 4; j++) {
keyPress("F"); await sleep(1800);//对话
}
for (let i = 0; i < 5; i++) {
click(1690, 1020); await sleep(500); // 购买
click(1170, 780); await sleep(400); // 确定
click(1690, 1020); await sleep(200); // 点击空白处
click(1690, 1020); await sleep(400); // 购买
click(1170, 780); await sleep(400); // 确定
click(1690, 1020); await sleep(200); // 点击空白处
click(1690, 1020); await sleep(400); // 购买
click(1170, 780); await sleep(400); // 确定
click(1690, 1020); await sleep(200); // 点击空白处
click(1690, 1020); await sleep(400); // 购买
click(1170, 780); await sleep(400); // 确定
click(1690, 1020); await sleep(200); // 点击空白处
click(1690, 1020); await sleep(400); // 购买
click(1170, 780); await sleep(400); // 确定
click(1690, 1020); await sleep(200); // 点击空白处
}
keyPress("ESCAPE"); await sleep(2000);
}
await Purchase('蒙德购买狗粮');
await Shopping();
await Purchase('蒙德购买狗粮');
await Shopping();
//调整时间
await sleep(1500);
@@ -67,64 +50,34 @@ let holdingState = settings.holdingState != undefined ? settings.holdingState :
await sleep(1000);
keyPress("F"); await sleep(1200);
keyPress("F"); await sleep(1800);
if (holdingState == 'YES') keyPress("s");
if (holdingState) keyPress("s");
await sleep(500);
keyPress("F"); await sleep(1200);
keyPress("F"); await sleep(1800);
click(1690, 1020); await sleep(500);
click(1170, 780); await sleep(400);
click(1690, 1020); await sleep(200);
click(1690, 1020); await sleep(400);
click(1170, 780); await sleep(400);
click(1690, 1020); await sleep(200);
click(1690, 1020); await sleep(400);
click(1170, 780); await sleep(400);
click(1690, 1020); await sleep(200);
click(1690, 1020); await sleep(400);
click(1170, 780); await sleep(400);
click(1690, 1020); await sleep(200);
click(1690, 1020); await sleep(400);
click(1170, 780); await sleep(400);
click(1690, 1020); await sleep(200);
keyPress("ESCAPE"); await sleep(2000);
await Purchase('稻妻购买狗粮');
await sleep(1000);
keyPress("F"); await sleep(1500);
await sleep(1500);
keyPress("F"); await sleep(1200);//对话
keyPress("F"); await sleep(1800);//对话
keyPress("F"); await sleep(1200);//对话
keyPress("F"); await sleep(1800);//对话
click(200, 400); await sleep(500); // 选择狗粮
for (let i = 0; i < 5; i++) {
click(1690, 1020); await sleep(500); // 购买
click(1170, 780); await sleep(400); // 确定
click(1690, 1020); await sleep(200); // 点击空白处
click(1690, 1020); await sleep(400); // 购买
click(1170, 780); await sleep(400); // 确定
click(1690, 1020); await sleep(200); // 点击空白处
click(1690, 1020); await sleep(400); // 购买
click(1170, 780); await sleep(400); // 确定
click(1690, 1020); await sleep(200); // 点击空白处
click(1690, 1020); await sleep(400); // 购买
click(1170, 780); await sleep(400); // 确定
click(1690, 1020); await sleep(200); // 点击空白处
click(1690, 1020); await sleep(400); // 购买
}
keyPress("ESCAPE"); await sleep(2000);
await Purchase('稻妻购买狗粮');
await sleep(1500);
for (let j = 0; j < 5; j++) {
keyPress("F"); await sleep(1800);//对话
}
click(200, 400); await sleep(500); // 选择狗粮
for (let i = 0; i < 5; i++) {
click(1690, 1020); await sleep(500); // 购买
click(1170, 780); await sleep(400); // 确定
click(1690, 1020); await sleep(200); // 点击空白处
}
keyPress("ESCAPE"); await sleep(2000);
await Purchase('须弥购买狗粮');
await Shopping();
await Purchase('枫丹购买狗粮');
await sleep(1000);
keyDown("d");

View File

@@ -1,5 +1,5 @@
{
"manifest_version": 1,
"manifest_version": 1.0,
"name": "自动购买狗粮(7点位)",
"version": "1.1",
"description": "狗粮周3刷新价值23体力的摩拉换38体力的狗粮血赚。龙骨花凝珠没出售需额外设置。强烈建议使用固定队伍(双风成女行走)",

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": 4935.07861328125,
"y": 4183.38818359375,
"type": "teleport",
"move_mode": "walk",
"action": "",
"action_params": ""
},
]
}

View File

@@ -0,0 +1,76 @@
(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(7600);
keyUp("w");
await dispatcher.runTask(new SoloTask("AutoFight"));
await sleep(30000);//等待柱子碎裂
keyPress("1");
await sleep(1000);//切回钟离
keyDown("w");//居中大法
keyDown("d");
await sleep(12500);
keyUp("d");
await sleep(12500);
keyUp("w");
keyDown("s");
await sleep(25000);
keyUp("s");
keyDown("w");
await sleep(4700);
keyUp("w");
await sleep(1000);
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中使用打开战斗配置选择战斗策略推荐使用战斗脚本(周本队前进版),关闭战斗结束拾取物品和万叶拾取,最后根据队伍大致表现,填入合适的战斗超时时间,(周本队后退版)建议160s",
"authors": [
{
"name": "柒叶子",
"link": "https://github.com/511760049"
}
],
"settings_ui": "settings.json",
"main": "main.js"
}

View File

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

View File

@@ -0,0 +1,36 @@
(async function () {
let foodName = settings.foodName ?? 0;
if(foodName){
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);
//恢复类食物click(75, 265);
//攻击类食物click(75, 350);
//冒险类食物click(75, 435);
//防御类食物click(75, 520);
//药剂click(75, 610);
for (const char of foodName) {
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);
};
})();

View File

@@ -0,0 +1,14 @@
{
"manifest_version": 1,
"name": "料理使用",
"version": "1.0",
"description": "请输入料理名称常见部分的拼音小写比如月亮派输入yueliang",
"authors": [
{
"name": "柒叶子",
"link": "https://github.com/511760049"
}
],
"settings_ui": "settings.json",
"main": "main.js"
}

View File

@@ -0,0 +1,7 @@
[
{
"name": "foodName",
"type": "input-text",
"label": "请输入料理名称常见部分的拼音小写(月亮派yueliang)"
},
]

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": 254.453125,
"y": -904.5771484375,
"type": "teleport",
"move_mode": "walk",
"action": "",
"action_params": ""
},
]
}

View File

@@ -0,0 +1,61 @@
(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("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);
await dispatcher.runTask(new SoloTask("AutoFight"));
keyPress("1");
await sleep(1000);//切回钟离
keyDown("s");
await sleep(2400);//再次校准位置
keyUp("s");
keyDown("w");
await sleep(2400);
keyUp("w");
await sleep(1000);
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中使用打开战斗配置选择战斗策略推荐使用战斗脚本(周本队后退版),关闭战斗结束拾取物品和万叶拾取,最后根据队伍大致表现,填入合适的战斗超时时间,(周本队后退版)建议180s",
"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

View File

@@ -1,10 +1,13 @@
(async function () {
await pathingScript.runFile("assets/前往狼王.json");
await sleep(1000);
keyPress("F");
await sleep(13000);
await pathingScript.runFile("assets/前往狼王.json");
await sleep(1000);
keyPress("F");
await sleep(13000);
await dispatcher.runTask(new SoloTask("AutoFight"));
await sleep(1000);
await pathingScript.runFile("assets/领取奖励.json");
keyPress("F");
await sleep(1000);
await pathingScript.runFile("assets/领取奖励.json");
keyPress("F");
await sleep(5000);
click(975, 1000);//消耗树脂领取
await sleep(1000);
})();

View File

@@ -0,0 +1,30 @@
{
"info": {
"name": "未命名路径",
"type": "collect",
"author": "柒叶子",
"version": "1.0",
"description": "前往蒙德灶台",
"bgiVersion": "0.42.3"
},
"positions": [
{
"id": 1,
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": -867.6640625,
"y": 2281.363525390625,
"action_params": ""
},
{
"id": 2,
"x": -883.5908203125,
"y": 2243.572509765625,
"type": "target",
"move_mode": "walk",
"action": "",
"action_params": ""
}
]
}

View File

@@ -0,0 +1,250 @@
(async function () {
let foodName = settings.foodName ?? 0;
let foodNum = settings.foodNum ?? 0;
let flourNum = settings.flourNum ?? 0;
let creamNum = settings.creamNum ?? 0;
let smokedPoultryNum = settings.smokedPoultryNum ?? 0;
let butterNum = settings.butterNum ?? 0;
let hamNum = settings.hamNum ?? 0;
let sugarNum = settings.sugarNum ?? 0;
let spiceNum = settings.spiceNum ?? 0;
let crabRoeNum = settings.crabRoeNum ?? 0;
let jamNum = settings.jamNum ?? 0;
let cheeseNum = settings.cheeseNum ?? 0;
let baconNum = settings.baconNum ?? 0;
let sausageNum = settings.sausageNum ?? 0;
await sleep(1000);
await pathingScript.runFile("assets/前往蒙德灶台.json");
keyPress("F");
await sleep(1000);
//制作料理
if(foodName){
click(910, 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 foodName) {
keyPress(char);
await sleep(500);
}
keyPress("SPACE");
await sleep(500);
click(490, 1020);//确认筛选
await sleep(1000);
click(180, 180);//选择第一个食物
await sleep(2000);
click(1690, 1015);//制作
await sleep(1000);
click(795, 1015);//自动烹饪
await sleep(1000);
click(965, 455);//输入数量
await sleep(1000);
for (const char of foodNum) {
keyPress(char);
await sleep(500);
}
click(1190, 755);//确认
await sleep(4000);//等待烹饪
keyPress("ESCAPE");
await sleep(1500);
keyPress("ESCAPE");
await sleep(1500);
};
//食材加工
click(1010,50);//选择食材加工
await sleep(1000);
click(255,1020);//全部领取
await sleep(1000);
keyPress("ESCAPE");//点击任意处
await sleep(2000);
if(flourNum){
click(175,190);//flour
await sleep(1000);
click(1690, 1015);//制作
await sleep(1000);
click(965, 455);//输入数量
await sleep(1000);
for (const char of flourNum) {
keyPress(char);
await sleep(500);
}
click(1190, 755);//确认
await sleep(1000);
};
if(creamNum){
click(770,190);//cream
await sleep(1000);
click(1690, 1015);//制作
await sleep(1000);
click(965, 455);//输入数量
await sleep(1000);
for (const char of creamNum) {
keyPress(char);
await sleep(500);
}
click(1190, 755);//确认
await sleep(1000);
};
if(smokedPoultryNum){
click(920,190);//smokedPoultry
await sleep(1000);
click(1690, 1015);//制作
await sleep(1000);
click(965, 455);//输入数量
await sleep(1000);
for (const char of smokedPoultryNum) {
keyPress(char);
await sleep(500);
}
click(1190, 755);//确认
await sleep(1000);
};
if(butterNum){
click(1060,190);//butter
await sleep(1000);
click(1690, 1015);//制作
await sleep(1000);
click(965, 455);//输入数量
await sleep(1000);
for (const char of butterNum) {
keyPress(char);
await sleep(500);
}
click(1190, 755);//确认
await sleep(1000);
};
if(hamNum){
click(1210,190);//ham
await sleep(1000);
click(1690, 1015);//制作
await sleep(1000);
click(965, 455);//输入数量
await sleep(1000);
for (const char of hamNum) {
keyPress(char);
await sleep(500);
}
click(1190, 755);//确认
await sleep(1000);
};
if(sugarNum){
click(175,375);//sugar
await sleep(1000);
click(1690, 1015);//制作
await sleep(1000);
click(965, 455);//输入数量
await sleep(1000);
for (const char of sugarNum) {
keyPress(char);
await sleep(500);
}
click(1190, 755);//确认
await sleep(1000);
};
if(spiceNum){
click(325,375);//spice
await sleep(1000);
click(1690, 1015);//制作
await sleep(1000);
click(965, 455);//输入数量
await sleep(1000);
for (const char of spiceNum) {
keyPress(char);
await sleep(500);
}
click(1190, 755);//确认
await sleep(1000);
};
if(crabRoeNum){
click(475,375);//crabRoe
await sleep(1000);
click(1690, 1015);//制作
await sleep(1000);
click(965, 455);//输入数量
await sleep(1000);
for (const char of crabRoeNum) {
keyPress(char);
await sleep(500);
}
click(1190, 755);//确认
await sleep(1000);
};
if(jamNum){
click(620,375);//jam
await sleep(1000);
click(1690, 1015);//制作
await sleep(1000);
click(965, 455);//输入数量
await sleep(1000);
for (const char of jamNum) {
keyPress(char);
await sleep(500);
}
click(1190, 755);//确认
await sleep(1000);
};
if(cheeseNum){
click(770,375);//cheese
await sleep(1000);
click(1690, 1015);//制作
await sleep(1000);
click(965, 455);//输入数量
await sleep(1000);
for (const char of cheeseNum) {
keyPress(char);
await sleep(500);
}
click(1190, 755);//确认
await sleep(1000);
};
if(baconNum){
click(915,375);//bacon
await sleep(1000);
click(1690, 1015);//制作
await sleep(1000);
click(965, 455);//输入数量
await sleep(1000);
for (const char of baconNum) {
keyPress(char);
await sleep(500);
}
click(1190, 755);//确认
await sleep(1000);
};
if(sausageNum){
click(1060,375);//sausage
await sleep(1000);
click(1690, 1015);//制作
await sleep(1000);
click(965, 455);//输入数量
await sleep(1000);
for (const char of sausageNum) {
keyPress(char);
await sleep(500);
}
click(1190, 755);//确认
await sleep(1000);
};
})();

View File

@@ -0,0 +1,14 @@
{
"manifest_version": 1,
"name": "料理制作及食材加工",
"version": "1.0",
"description": "自动烹饪料理以及加工食材",
"authors": [
{
"name": "柒叶子",
"link": "https://github.com/511760049"
}
],
"settings_ui": "settings.json",
"main": "main.js"
}

View File

@@ -0,0 +1,87 @@
[
{
"name": "foodName",
"type": "input-text",
"label": "请输入料理的拼音小写"
},
{
"name": "foodNum",
"type": "input-text",
"label": "请输入料理的加工数量"
},
{
"name": "flourNum",
"type": "input-text",
"label": "请输入面粉的加工数量"
},
{
"name": "creamNum",
"type": "input-text",
"label": "请输入奶油的加工数量"
},
{
"name": "smokedPoultryNum",
"type": "input-text",
"label": "请输入熏禽肉的加工数量"
},
{
"name": "butterNum",
"type": "input-text",
"label": "请输入黄油的加工数量"
},
{
"name": "hamNum",
"type": "input-text",
"label": "请输入火腿的加工数量"
},
{
"name": "sugarNum",
"type": "input-text",
"label": "请输入糖的加工数量"
},
{
"name": "spiceNum",
"type": "input-text",
"label": "请输入香辛料的加工数量"
},
{
"name": "crabRoeNum",
"type": "input-text",
"label": "请输入蟹黄的加工数量"
},
{
"name": "jamNum",
"type": "input-text",
"label": "请输入的果酱加工数量"
},
{
"name": "cheeseNum",
"type": "input-text",
"label": "请输入奶酪的加工数量"
},
{
"name": "baconNum",
"type": "input-text",
"label": "请输入培根的加工数量"
},
{
"name": "sausageNum",
"type": "input-text",
"label": "请输入香肠的加工数量"
},
]

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": 1754.267578125,
"y": 607.91943359375,
"type": "teleport",
"move_mode": "walk",
"action": "",
"action_params": ""
},
]
}

View File

@@ -0,0 +1,77 @@
(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(2000);
keyUp("w");
await sleep(10000);
keyDown("s");
await sleep(500);
keyDown("SHIFT");
await sleep(1000);
keyUp("SHIFT");
await sleep(500);
keyUp("s");
await dispatcher.runTask(new SoloTask("AutoFight"));
keyPress("1");
await sleep(1000);//切回钟离
keyDown("s");
await sleep(2400);//再次校准位置
keyUp("s");
keyDown("w");
await sleep(8300);
keyUp("w");
await sleep(1000);
keyDown("a");
await sleep(2200);
keyUp("a");
await sleep(1000);
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中使用打开战斗配置选择战斗策略推荐使用战斗脚本(周本队后退版),关闭战斗结束拾取物品和万叶拾取,最后根据队伍大致表现,填入合适的战斗超时时间,(周本队原地版)建议260s",
"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

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"
}

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,66 @@
(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(10000);
})();

View File

@@ -0,0 +1,14 @@
{
"manifest_version": 1,
"name": "雷神周本刷取",
"version": "1.0",
"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

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": 122.6259765625,
"y": 2657.634521484375,
"type": "teleport",
"move_mode": "walk",
"action": "",
"action_params": ""
},
]
}

View File

@@ -0,0 +1,39 @@
(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);
})();

View File

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

View File

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

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": 4022.01171875,
"y": 3063.54931640625,
"type": "teleport",
"move_mode": "walk",
"action": "",
"action_params": ""
},
]
}

View File

@@ -0,0 +1,71 @@
(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);
await dispatcher.runTask(new SoloTask("AutoFight"));
await sleep(30000);//等待柱子碎裂
keyPress("1");
await sleep(1000);//切回钟离
keyDown("w");//居中大法
keyDown("d");
await sleep(12500);
keyUp("d");
await sleep(12500);
keyUp("w");
keyDown("s");
await sleep(25000);
keyUp("s");
keyDown("w");
await sleep(7200);
keyUp("w");
await sleep(1000);
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中使用打开战斗配置选择战斗策略推荐使用战斗脚本(周本队原地版),关闭战斗结束拾取物品和万叶拾取,最后根据队伍大致表现,填入合适的战斗超时时间,(周本队原地版)建议260s",
"authors": [
{
"name": "柒叶子",
"link": "https://github.com/511760049"
}
],
"settings_ui": "settings.json",
"main": "main.js"
}

View File

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