js脚本:女士周本自动刷取、一条龙无树脂领奖(用于周本和首领讨伐后)+尘歌壶 (#470)
* manifest.json * main.js * Update main.js * Update manifest.json * Update main.js * Add files via upload * Update manifest.json * Update manifest.json * Update manifest.json * Update manifest.json * Update manifest.json * Update 周本队前进版.txt 开启芭芭拉大招释放,提高挑战成功率 * Update manifest.json * Update main.js * Update manifest.json * Update main.js * Update manifest.json * Update manifest.json * js脚本:散兵周本 * Add files via upload
This commit is contained in:
22
repo/js/一条龙领奖无树脂(用于周本、首领刷取)+尘歌壶/assets/recover.json
Normal file
22
repo/js/一条龙领奖无树脂(用于周本、首领刷取)+尘歌壶/assets/recover.json
Normal 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": ""
|
||||
},
|
||||
]
|
||||
}
|
||||
28
repo/js/一条龙领奖无树脂(用于周本、首领刷取)+尘歌壶/assets/枫丹.json
Normal file
28
repo/js/一条龙领奖无树脂(用于周本、首领刷取)+尘歌壶/assets/枫丹.json
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"info": {
|
||||
"name": "枫丹凯瑟琳",
|
||||
"type": "collect",
|
||||
"author": "柒叶子",
|
||||
"version": "1.0",
|
||||
"description": "前往枫丹凯瑟琳",
|
||||
"bgiVersion": "0.35.1"
|
||||
},
|
||||
"positions": [
|
||||
{
|
||||
"id": 1,
|
||||
"x": 4509.96044921875,
|
||||
"y": 3630.826904296875,
|
||||
"action": "",
|
||||
"move_mode": "walk",
|
||||
"type": "teleport"
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"x": 4495.000794515572,
|
||||
"y": 3639.75,
|
||||
"action": "",
|
||||
"move_mode": "walk",
|
||||
"type": "path"
|
||||
}
|
||||
]
|
||||
}
|
||||
60
repo/js/一条龙领奖无树脂(用于周本、首领刷取)+尘歌壶/assets/璃月.json
Normal file
60
repo/js/一条龙领奖无树脂(用于周本、首领刷取)+尘歌壶/assets/璃月.json
Normal file
@@ -0,0 +1,60 @@
|
||||
{
|
||||
"info": {
|
||||
"name": "璃月凯瑟琳",
|
||||
"type": "collect",
|
||||
"author": "柒叶子",
|
||||
"version": "1.0",
|
||||
"description": "前往璃月凯瑟琳",
|
||||
"bgiVersion": "0.35.1"
|
||||
},
|
||||
"positions": [
|
||||
{
|
||||
"id": 1,
|
||||
"x": 267.958984375,
|
||||
"y": -665.10888671875,
|
||||
"action": "",
|
||||
"move_mode": "walk",
|
||||
"type": "teleport"
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"x": 258.3662109375,
|
||||
"y": -663.82177734375,
|
||||
"type": "path",
|
||||
"move_mode": "walk",
|
||||
"action": ""
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"x": 246.689453125,
|
||||
"y": -662.83740234375,
|
||||
"type": "path",
|
||||
"move_mode": "walk",
|
||||
"action": ""
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"x": 233.8564453125,
|
||||
"y": -661.95849609375,
|
||||
"type": "path",
|
||||
"move_mode": "walk",
|
||||
"action": ""
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"x": 219.0625,
|
||||
"y": -657.271484375,
|
||||
"type": "target",
|
||||
"move_mode": "walk",
|
||||
"action": ""
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"x": 203.84765625,
|
||||
"y": -659.7158203125,
|
||||
"type": "path",
|
||||
"move_mode": "walk",
|
||||
"action": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
36
repo/js/一条龙领奖无树脂(用于周本、首领刷取)+尘歌壶/assets/稻妻.json
Normal file
36
repo/js/一条龙领奖无树脂(用于周本、首领刷取)+尘歌壶/assets/稻妻.json
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"info": {
|
||||
"name": "稻妻凯瑟琳",
|
||||
"type": "collect",
|
||||
"author": "柒叶子",
|
||||
"version": "1.0",
|
||||
"description": "前往稻妻凯瑟琳",
|
||||
"bgiVersion": "0.35.1"
|
||||
},
|
||||
"positions": [
|
||||
{
|
||||
"id": 1,
|
||||
"action": "",
|
||||
"move_mode": "walk",
|
||||
"type": "teleport",
|
||||
"x": -4402.556640625,
|
||||
"y": -3053.041015625
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"x": -4408.984375,
|
||||
"y": -3068.2470703125,
|
||||
"type": "path",
|
||||
"move_mode": "walk",
|
||||
"action": ""
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"x": -4418.185546875,
|
||||
"y": -3086.4326171875,
|
||||
"type": "path",
|
||||
"move_mode": "walk",
|
||||
"action": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
44
repo/js/一条龙领奖无树脂(用于周本、首领刷取)+尘歌壶/assets/蒙德.json
Normal file
44
repo/js/一条龙领奖无树脂(用于周本、首领刷取)+尘歌壶/assets/蒙德.json
Normal file
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"info": {
|
||||
"name": "蒙德凯瑟琳",
|
||||
"type": "collect",
|
||||
"author": "柒叶子",
|
||||
"version": "1.0",
|
||||
"description": "前往蒙德凯瑟琳",
|
||||
"bgiVersion": "0.35.1"
|
||||
},
|
||||
"positions": [
|
||||
{
|
||||
"id": 1,
|
||||
"x": -867.6884765625,
|
||||
"y": 2281.365966796875,
|
||||
"type": "teleport",
|
||||
"move_mode": "walk",
|
||||
"action": ""
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"x": -882.1455078125,
|
||||
"y": 2262.399658203125,
|
||||
"type": "path",
|
||||
"move_mode": "walk",
|
||||
"action": ""
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"x": -893.3056640625,
|
||||
"y": 2249.19482421875,
|
||||
"type": "path",
|
||||
"move_mode": "walk",
|
||||
"action": ""
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"x": -914.3564453125,
|
||||
"y": 2233.071044921875,
|
||||
"type": "path",
|
||||
"move_mode": "walk",
|
||||
"action": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
68
repo/js/一条龙领奖无树脂(用于周本、首领刷取)+尘歌壶/assets/须弥.json
Normal file
68
repo/js/一条龙领奖无树脂(用于周本、首领刷取)+尘歌壶/assets/须弥.json
Normal file
@@ -0,0 +1,68 @@
|
||||
{
|
||||
"info": {
|
||||
"name": "须弥凯瑟琳",
|
||||
"type": "collect",
|
||||
"author": "柒叶子",
|
||||
"version": "1.0",
|
||||
"description": "前往须弥凯瑟琳",
|
||||
"bgiVersion": "0.35.1"
|
||||
},
|
||||
"positions": [
|
||||
{
|
||||
"id": 1,
|
||||
"x": 2786.97265625,
|
||||
"y": -503.10498046875,
|
||||
"type": "teleport",
|
||||
"move_mode": "walk",
|
||||
"action": ""
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"x": 2787.900390625,
|
||||
"y": -494.41162109375,
|
||||
"type": "path",
|
||||
"move_mode": "walk",
|
||||
"action": ""
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"x": 2786.150390625,
|
||||
"y": -486.7470703125,
|
||||
"type": "path",
|
||||
"move_mode": "walk",
|
||||
"action": ""
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"x": 2781.1748046875,
|
||||
"y": -483.95751953125,
|
||||
"type": "path",
|
||||
"move_mode": "walk",
|
||||
"action": ""
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"x": 2774.4716796875,
|
||||
"y": -480.65478515625,
|
||||
"type": "path",
|
||||
"move_mode": "walk",
|
||||
"action": ""
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"x": 2771.126953125,
|
||||
"y": -476.7919921875,
|
||||
"type": "path",
|
||||
"move_mode": "walk",
|
||||
"action": ""
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"x": 2765.76953125,
|
||||
"y": -476.0498046875,
|
||||
"type": "path",
|
||||
"move_mode": "walk",
|
||||
"action": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
188
repo/js/一条龙领奖无树脂(用于周本、首领刷取)+尘歌壶/main.js
Normal file
188
repo/js/一条龙领奖无树脂(用于周本、首领刷取)+尘歌壶/main.js
Normal file
@@ -0,0 +1,188 @@
|
||||
(async function () {
|
||||
|
||||
let delay = 2000;
|
||||
let ksl = settings.kslSelect ?? "枫丹";
|
||||
async function kslAutoPath(location) {
|
||||
let filePath = `assets/${location}.json`;
|
||||
await pathingScript.runFile(filePath);
|
||||
}
|
||||
|
||||
// 前往_凯瑟琳
|
||||
await kslAutoPath(ksl);
|
||||
await sleep(1000);
|
||||
|
||||
// 领取邮件
|
||||
keyPress("Escape");
|
||||
await sleep(1500);
|
||||
click(50, 605);
|
||||
await sleep(1500);
|
||||
click(150, 1015);
|
||||
await sleep(1500);
|
||||
click(150, 1015);
|
||||
await sleep(1500);
|
||||
keyPress("Escape");
|
||||
await sleep(1500);
|
||||
keyPress("Escape");
|
||||
log.info("已完成 领取邮件");
|
||||
await sleep(delay);
|
||||
|
||||
|
||||
|
||||
// 领取历练点
|
||||
keyPress("F1");
|
||||
await sleep(2500);
|
||||
click(290, 345);
|
||||
await sleep(1500);
|
||||
click(1550, 755);
|
||||
await sleep(1500);
|
||||
click(1550, 755);
|
||||
await sleep(1500);
|
||||
// click(1670, 235);
|
||||
keyPress("Escape");
|
||||
log.info("已领取历练点");
|
||||
await sleep(delay);
|
||||
|
||||
// 领取每日委托奖励
|
||||
keyPress("F");
|
||||
log.info("按下F键");
|
||||
await sleep(1500);
|
||||
click(960, 540);
|
||||
await sleep(1500);
|
||||
click(1380, 425);
|
||||
await sleep(1500);
|
||||
click(960, 540);
|
||||
await sleep(2000);
|
||||
click(960, 960);
|
||||
log.info("已领取每日委托奖励");
|
||||
await sleep(delay);
|
||||
|
||||
// 重新探索派遣
|
||||
keyPress("F");
|
||||
await sleep(2000);
|
||||
click(960, 540);
|
||||
await sleep(1500);
|
||||
click(1400, 580);
|
||||
await sleep(1500);
|
||||
click(160, 1010);
|
||||
await sleep(1500);
|
||||
click(1160, 1020);
|
||||
await sleep(1500);
|
||||
keyPress("Escape");
|
||||
log.info("已完成重新探索派遣");
|
||||
await sleep(delay);
|
||||
|
||||
// 领取纪行奖励
|
||||
keyPress("F4");
|
||||
await sleep(1500);
|
||||
click(960, 50);
|
||||
await sleep(1000);
|
||||
click(1720, 980);
|
||||
await sleep(2000);
|
||||
click(860, 50);
|
||||
await sleep(1000);
|
||||
click(1720, 980);
|
||||
await sleep(1000);
|
||||
keyPress("Escape");
|
||||
await sleep(1000);
|
||||
keyPress("Escape");
|
||||
log.info("已领取纪行奖励");
|
||||
await sleep(delay);
|
||||
|
||||
await pathingScript.runFile("assets/recover.json");
|
||||
await sleep(5000);//前往神像,避免茶壶放不出来
|
||||
|
||||
|
||||
let teaPot = settings.teaPot ?? 0;
|
||||
await sleep(1000);
|
||||
|
||||
if(teaPot){
|
||||
keyPress("B");
|
||||
await sleep(1500);
|
||||
click(1058, 48); //小道具
|
||||
await sleep(800);
|
||||
click(765, 190); //背包第五个道具
|
||||
await sleep(800);
|
||||
click(1700, 1018); //放置
|
||||
await sleep(1500);
|
||||
keyPress("F"); //进入
|
||||
await sleep(20000);
|
||||
|
||||
if (teaPot == "璃月"){
|
||||
keyDown("D");
|
||||
await sleep(500);
|
||||
keyUp("D");
|
||||
await sleep(500);
|
||||
}else if(teaPot == "蒙德"){
|
||||
keyDown("A");
|
||||
await sleep(1200);
|
||||
keyUp("A");
|
||||
await sleep(500); }else if(teaPot == "稻妻"){
|
||||
keyDown("A");
|
||||
await sleep(1700);
|
||||
keyUp("A");
|
||||
await sleep(500);
|
||||
keyDown("S");
|
||||
await sleep(1700);
|
||||
keyUp("S");
|
||||
await sleep(500);
|
||||
}else if(teaPot == "须弥"){
|
||||
keyDown("D");
|
||||
await sleep(1300);
|
||||
keyUp("D");
|
||||
await sleep(500);
|
||||
}else if(teaPot == "枫丹"){
|
||||
keyDown("S");
|
||||
await sleep(1300);
|
||||
keyUp("S");
|
||||
await sleep(500);
|
||||
keyDown("A");
|
||||
await sleep(500);
|
||||
keyUp("A");
|
||||
await sleep(500);
|
||||
}else{
|
||||
}
|
||||
async function buyResin() {
|
||||
//进入商店
|
||||
keyPress("w");
|
||||
await sleep(500);
|
||||
keyPress("w");
|
||||
await sleep(500);
|
||||
keyPress("w");
|
||||
await sleep(500);
|
||||
keyPress("F");
|
||||
await sleep(2000);
|
||||
click(200, 380); //选择树脂
|
||||
await sleep(1000);
|
||||
click(1750, 1010); //兑换
|
||||
await sleep(1000);
|
||||
keyPress("ESCAPE");//点击空白处
|
||||
await sleep(500);
|
||||
keyPress("ESCAPE");//回到对话界面
|
||||
await sleep(3000);
|
||||
}
|
||||
keyPress("F");//阿圆对话
|
||||
await sleep(2500);
|
||||
click(1081, 955); //跳过对话
|
||||
await sleep(2500);
|
||||
// 检测今天是否是周一
|
||||
const today = new Date();
|
||||
if (today.getDay() === 1) { // getDay() 返回 0(周日)到 6(周六)
|
||||
await buyResin();// 如果是周一则购买树脂
|
||||
}
|
||||
click(1383, 430);//信任等阶
|
||||
await sleep(2500);
|
||||
click(1081, 955);//宝钱
|
||||
await sleep(2500);
|
||||
click(1812, 716);//好感度
|
||||
await sleep(2500);
|
||||
click(1863, 48);;
|
||||
await sleep(5000);
|
||||
click(1356, 804);
|
||||
await sleep(2500);
|
||||
click(1356, 804);
|
||||
await sleep(1500);
|
||||
await pathingScript.runFile("assets/recover.json");
|
||||
await sleep(5000);//回归大世界,避免后续部分js脚本没有路径追踪卡死
|
||||
}
|
||||
|
||||
})();
|
||||
14
repo/js/一条龙领奖无树脂(用于周本、首领刷取)+尘歌壶/manifest.json
Normal file
14
repo/js/一条龙领奖无树脂(用于周本、首领刷取)+尘歌壶/manifest.json
Normal 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"
|
||||
}
|
||||
26
repo/js/一条龙领奖无树脂(用于周本、首领刷取)+尘歌壶/settings.json
Normal file
26
repo/js/一条龙领奖无树脂(用于周本、首领刷取)+尘歌壶/settings.json
Normal file
@@ -0,0 +1,26 @@
|
||||
[
|
||||
{
|
||||
"name": "kslSelect",
|
||||
"type": "select",
|
||||
"label": "凯瑟琳(默认枫丹)",
|
||||
"options": [
|
||||
"蒙德",
|
||||
"璃月",
|
||||
"稻妻",
|
||||
"须弥",
|
||||
"枫丹"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "teaPot",
|
||||
"type": "select",
|
||||
"label": "宅邸类型(默认不去)",
|
||||
"options": [
|
||||
"蒙德",
|
||||
"璃月",
|
||||
"稻妻",
|
||||
"须弥",
|
||||
"枫丹"
|
||||
]
|
||||
}
|
||||
]
|
||||
22
repo/js/女士周本/assets/recover.json
Normal file
22
repo/js/女士周本/assets/recover.json
Normal 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": ""
|
||||
},
|
||||
]
|
||||
}
|
||||
22
repo/js/女士周本/assets/tp.json
Normal file
22
repo/js/女士周本/assets/tp.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"info": {
|
||||
"name": "未命名路径",
|
||||
"type": "collect",
|
||||
"author": "柒叶子",
|
||||
"version": "1.0",
|
||||
"description": "前往周本",
|
||||
"bgiVersion": "0.35.1"
|
||||
},
|
||||
"positions": [
|
||||
|
||||
{
|
||||
"id": 1,
|
||||
"x": -4561.248046875,
|
||||
"y": -3353.7587890625,
|
||||
"type": "teleport",
|
||||
"move_mode": "walk",
|
||||
"action": "",
|
||||
"action_params": ""
|
||||
},
|
||||
]
|
||||
}
|
||||
47
repo/js/女士周本/main.js
Normal file
47
repo/js/女士周本/main.js
Normal file
@@ -0,0 +1,47 @@
|
||||
(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");
|
||||
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);//切回钟离
|
||||
keyDown("s");
|
||||
await sleep(1000);
|
||||
keyUp("s");
|
||||
await dispatcher.runTask(new SoloTask("AutoFight"));
|
||||
keyPress("1");
|
||||
await sleep(1000);//切回钟离
|
||||
|
||||
keyDown("s");
|
||||
await sleep(2000);
|
||||
keyUp("s");
|
||||
|
||||
keyDown("w");
|
||||
await sleep(3600);
|
||||
keyUp("w");
|
||||
|
||||
keyDown("a");
|
||||
await sleep(400);
|
||||
keyUp("a");
|
||||
|
||||
await sleep(1000);
|
||||
keyPress("F");//领奖
|
||||
await sleep(1000);
|
||||
click(950, 750);//使用树脂
|
||||
await sleep(6000);
|
||||
click(975, 1000);//退出秘境
|
||||
await sleep(10000);
|
||||
})();
|
||||
14
repo/js/女士周本/manifest.json
Normal file
14
repo/js/女士周本/manifest.json
Normal 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"
|
||||
}
|
||||
8
repo/js/女士周本/周本队女士专用后退版.txt
Normal file
8
repo/js/女士周本/周本队女士专用后退版.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
钟离 s(0.7),e(hold)
|
||||
玛薇卡 e
|
||||
芭芭拉 s(0.7),e,q
|
||||
钟离 s(0.7),e(hold)
|
||||
芙宁娜 s(0.7),q,e
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user