From 99b7f6aff736cb5a513a97b2ea80b6e255198e05 Mon Sep 17 00:00:00 2001 From: 5117600049 <511760049@qq.com> Date: Wed, 12 Mar 2025 20:05:29 +0800 Subject: [PATCH] =?UTF-8?q?7=E4=B8=AA=E5=91=A8=E6=9C=AC=E8=87=AA=E5=8A=A8j?= =?UTF-8?q?s=E8=84=9A=E6=9C=AC=E3=80=81=E8=87=AA=E5=8A=A8=E8=B4=AD?= =?UTF-8?q?=E4=B9=B0=E7=8B=97=E7=B2=AE=E6=94=B9=E8=BF=9B=E3=80=81=E7=8E=8B?= =?UTF-8?q?=E7=8B=BC=E8=87=AA=E5=8A=A8=E5=88=B7=E5=8F=96=E6=94=B9=E8=BF=9B?= =?UTF-8?q?=20(#432)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * manifest.json * main.js * Update main.js * Update manifest.json * Update main.js * Add files via upload --- repo/js/PurchaseArtifacts/main.js | 99 ++----- repo/js/PurchaseArtifacts/manifest.json | 2 +- repo/js/仆人周本/assets/recover.json | 22 ++ repo/js/仆人周本/assets/tp.json | 22 ++ repo/js/仆人周本/main.js | 76 ++++++ repo/js/仆人周本/manifest.json | 14 + repo/js/仆人周本/周本队前进版.txt | 8 + repo/js/使用料理/main.js | 36 +++ repo/js/使用料理/manifest.json | 14 + repo/js/使用料理/settings.json | 7 + repo/js/公子周本/assets/recover.json | 22 ++ repo/js/公子周本/assets/tp.json | 22 ++ repo/js/公子周本/main.js | 61 +++++ repo/js/公子周本/manifest.json | 14 + repo/js/公子周本/周本队后退版.txt | 8 + repo/js/北风的王狼自动刷取/main.js | 17 +- .../assets/前往蒙德灶台.json | 30 +++ repo/js/料理制作及食材加工/main.js | 250 ++++++++++++++++++ repo/js/料理制作及食材加工/manifest.json | 14 + repo/js/料理制作及食材加工/settings.json | 87 ++++++ repo/js/若陀周本/assets/recover.json | 22 ++ repo/js/若陀周本/assets/tp.json | 22 ++ repo/js/若陀周本/main.js | 77 ++++++ repo/js/若陀周本/manifest.json | 14 + repo/js/若陀周本/周本队后退版.txt | 8 + repo/js/草龙周本/assets/recover.json | 22 ++ repo/js/草龙周本/assets/tp.json | 22 ++ repo/js/草龙周本/main.js | 79 ++++++ repo/js/草龙周本/manifest.json | 14 + repo/js/雷神周本/assets/recover.json | 22 ++ repo/js/雷神周本/assets/tp.json | 22 ++ repo/js/雷神周本/main.js | 66 +++++ repo/js/雷神周本/manifest.json | 14 + repo/js/雷神周本/周本队后退版.txt | 8 + repo/js/风魔龙周本/assets/recover.json | 22 ++ repo/js/风魔龙周本/assets/tp.json | 22 ++ repo/js/风魔龙周本/main.js | 39 +++ repo/js/风魔龙周本/manifest.json | 15 ++ repo/js/风魔龙周本/周本队原地版.txt | 8 + repo/js/鲸鱼周本/assets/recover.json | 22 ++ repo/js/鲸鱼周本/assets/tp.json | 22 ++ repo/js/鲸鱼周本/main.js | 71 +++++ repo/js/鲸鱼周本/manifest.json | 14 + repo/js/鲸鱼周本/周本队原地版.txt | 8 + 44 files changed, 1399 insertions(+), 81 deletions(-) create mode 100644 repo/js/仆人周本/assets/recover.json create mode 100644 repo/js/仆人周本/assets/tp.json create mode 100644 repo/js/仆人周本/main.js create mode 100644 repo/js/仆人周本/manifest.json create mode 100644 repo/js/仆人周本/周本队前进版.txt create mode 100644 repo/js/使用料理/main.js create mode 100644 repo/js/使用料理/manifest.json create mode 100644 repo/js/使用料理/settings.json create mode 100644 repo/js/公子周本/assets/recover.json create mode 100644 repo/js/公子周本/assets/tp.json create mode 100644 repo/js/公子周本/main.js create mode 100644 repo/js/公子周本/manifest.json create mode 100644 repo/js/公子周本/周本队后退版.txt create mode 100644 repo/js/料理制作及食材加工/assets/前往蒙德灶台.json create mode 100644 repo/js/料理制作及食材加工/main.js create mode 100644 repo/js/料理制作及食材加工/manifest.json create mode 100644 repo/js/料理制作及食材加工/settings.json create mode 100644 repo/js/若陀周本/assets/recover.json create mode 100644 repo/js/若陀周本/assets/tp.json create mode 100644 repo/js/若陀周本/main.js create mode 100644 repo/js/若陀周本/manifest.json create mode 100644 repo/js/若陀周本/周本队后退版.txt create mode 100644 repo/js/草龙周本/assets/recover.json create mode 100644 repo/js/草龙周本/assets/tp.json create mode 100644 repo/js/草龙周本/main.js create mode 100644 repo/js/草龙周本/manifest.json create mode 100644 repo/js/雷神周本/assets/recover.json create mode 100644 repo/js/雷神周本/assets/tp.json create mode 100644 repo/js/雷神周本/main.js create mode 100644 repo/js/雷神周本/manifest.json create mode 100644 repo/js/雷神周本/周本队后退版.txt create mode 100644 repo/js/风魔龙周本/assets/recover.json create mode 100644 repo/js/风魔龙周本/assets/tp.json create mode 100644 repo/js/风魔龙周本/main.js create mode 100644 repo/js/风魔龙周本/manifest.json create mode 100644 repo/js/风魔龙周本/周本队原地版.txt create mode 100644 repo/js/鲸鱼周本/assets/recover.json create mode 100644 repo/js/鲸鱼周本/assets/tp.json create mode 100644 repo/js/鲸鱼周本/main.js create mode 100644 repo/js/鲸鱼周本/manifest.json create mode 100644 repo/js/鲸鱼周本/周本队原地版.txt diff --git a/repo/js/PurchaseArtifacts/main.js b/repo/js/PurchaseArtifacts/main.js index 14d8e6a6..c045093f 100644 --- a/repo/js/PurchaseArtifacts/main.js +++ b/repo/js/PurchaseArtifacts/main.js @@ -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);//对话 - 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); // 点击空白处 + 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); // 点击空白处 + } 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); + 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 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);//对话 + await sleep(1500); + for (let j = 0; j < 5; j++) { + keyPress("F"); await sleep(1800);//对话 + } click(200, 400); await sleep(500); // 选择狗粮 - 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); // 点击空白处 + 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"); diff --git a/repo/js/PurchaseArtifacts/manifest.json b/repo/js/PurchaseArtifacts/manifest.json index 4d3f74f1..8cc26981 100644 --- a/repo/js/PurchaseArtifacts/manifest.json +++ b/repo/js/PurchaseArtifacts/manifest.json @@ -1,5 +1,5 @@ { - "manifest_version": 1, + "manifest_version": 1.0, "name": "自动购买狗粮(7点位)", "version": "1.1", "description": "狗粮周3刷新,价值23体力的摩拉换38体力的狗粮,血赚。龙骨花凝珠没出售,需额外设置。强烈建议使用固定队伍(双风成女行走)", diff --git a/repo/js/仆人周本/assets/recover.json b/repo/js/仆人周本/assets/recover.json new file mode 100644 index 00000000..326ad3c5 --- /dev/null +++ b/repo/js/仆人周本/assets/recover.json @@ -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": "" + }, + ] +} \ No newline at end of file diff --git a/repo/js/仆人周本/assets/tp.json b/repo/js/仆人周本/assets/tp.json new file mode 100644 index 00000000..67e32b24 --- /dev/null +++ b/repo/js/仆人周本/assets/tp.json @@ -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": "" + }, + ] +} \ No newline at end of file diff --git a/repo/js/仆人周本/main.js b/repo/js/仆人周本/main.js new file mode 100644 index 00000000..dd3d8441 --- /dev/null +++ b/repo/js/仆人周本/main.js @@ -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); +})(); diff --git a/repo/js/仆人周本/manifest.json b/repo/js/仆人周本/manifest.json new file mode 100644 index 00000000..a5f73ad1 --- /dev/null +++ b/repo/js/仆人周本/manifest.json @@ -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" +} \ No newline at end of file diff --git a/repo/js/仆人周本/周本队前进版.txt b/repo/js/仆人周本/周本队前进版.txt new file mode 100644 index 00000000..4ce24871 --- /dev/null +++ b/repo/js/仆人周本/周本队前进版.txt @@ -0,0 +1,8 @@ +钟离 e(hold),d(1.2),w(1.2) +雷电将军 e +芭芭拉 e +钟离 e(hold),d(1.2),w(1.2) +芙宁娜 q,e + + + diff --git a/repo/js/使用料理/main.js b/repo/js/使用料理/main.js new file mode 100644 index 00000000..1f215625 --- /dev/null +++ b/repo/js/使用料理/main.js @@ -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); +}; + +})(); diff --git a/repo/js/使用料理/manifest.json b/repo/js/使用料理/manifest.json new file mode 100644 index 00000000..aec43194 --- /dev/null +++ b/repo/js/使用料理/manifest.json @@ -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" +} \ No newline at end of file diff --git a/repo/js/使用料理/settings.json b/repo/js/使用料理/settings.json new file mode 100644 index 00000000..07e320af --- /dev/null +++ b/repo/js/使用料理/settings.json @@ -0,0 +1,7 @@ +[ + { + "name": "foodName", + "type": "input-text", + "label": "请输入料理名称常见部分的拼音小写(月亮派,yueliang)" + }, + ] \ No newline at end of file diff --git a/repo/js/公子周本/assets/recover.json b/repo/js/公子周本/assets/recover.json new file mode 100644 index 00000000..326ad3c5 --- /dev/null +++ b/repo/js/公子周本/assets/recover.json @@ -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": "" + }, + ] +} \ No newline at end of file diff --git a/repo/js/公子周本/assets/tp.json b/repo/js/公子周本/assets/tp.json new file mode 100644 index 00000000..fc244bdd --- /dev/null +++ b/repo/js/公子周本/assets/tp.json @@ -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": "" + }, + ] +} \ No newline at end of file diff --git a/repo/js/公子周本/main.js b/repo/js/公子周本/main.js new file mode 100644 index 00000000..dd93d959 --- /dev/null +++ b/repo/js/公子周本/main.js @@ -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); +})(); diff --git a/repo/js/公子周本/manifest.json b/repo/js/公子周本/manifest.json new file mode 100644 index 00000000..7810cea8 --- /dev/null +++ b/repo/js/公子周本/manifest.json @@ -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" +} \ No newline at end of file diff --git a/repo/js/公子周本/周本队后退版.txt b/repo/js/公子周本/周本队后退版.txt new file mode 100644 index 00000000..c332fac5 --- /dev/null +++ b/repo/js/公子周本/周本队后退版.txt @@ -0,0 +1,8 @@ +钟离 s(2.4),e(hold) +雷电将军 e +芭芭拉 e +钟离 s(2.4),e(hold) +芙宁娜 q,e + + + diff --git a/repo/js/北风的王狼自动刷取/main.js b/repo/js/北风的王狼自动刷取/main.js index dab453cd..2808575a 100644 --- a/repo/js/北风的王狼自动刷取/main.js +++ b/repo/js/北风的王狼自动刷取/main.js @@ -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); })(); diff --git a/repo/js/料理制作及食材加工/assets/前往蒙德灶台.json b/repo/js/料理制作及食材加工/assets/前往蒙德灶台.json new file mode 100644 index 00000000..e47e54b3 --- /dev/null +++ b/repo/js/料理制作及食材加工/assets/前往蒙德灶台.json @@ -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": "" + } + ] +} \ No newline at end of file diff --git a/repo/js/料理制作及食材加工/main.js b/repo/js/料理制作及食材加工/main.js new file mode 100644 index 00000000..35f393d8 --- /dev/null +++ b/repo/js/料理制作及食材加工/main.js @@ -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); +}; + +})(); diff --git a/repo/js/料理制作及食材加工/manifest.json b/repo/js/料理制作及食材加工/manifest.json new file mode 100644 index 00000000..b254563a --- /dev/null +++ b/repo/js/料理制作及食材加工/manifest.json @@ -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" +} \ No newline at end of file diff --git a/repo/js/料理制作及食材加工/settings.json b/repo/js/料理制作及食材加工/settings.json new file mode 100644 index 00000000..d4b98d1a --- /dev/null +++ b/repo/js/料理制作及食材加工/settings.json @@ -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": "请输入香肠的加工数量" + }, + + + ] \ No newline at end of file diff --git a/repo/js/若陀周本/assets/recover.json b/repo/js/若陀周本/assets/recover.json new file mode 100644 index 00000000..326ad3c5 --- /dev/null +++ b/repo/js/若陀周本/assets/recover.json @@ -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": "" + }, + ] +} \ No newline at end of file diff --git a/repo/js/若陀周本/assets/tp.json b/repo/js/若陀周本/assets/tp.json new file mode 100644 index 00000000..6eb5ee56 --- /dev/null +++ b/repo/js/若陀周本/assets/tp.json @@ -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": "" + }, + ] +} \ No newline at end of file diff --git a/repo/js/若陀周本/main.js b/repo/js/若陀周本/main.js new file mode 100644 index 00000000..0a383796 --- /dev/null +++ b/repo/js/若陀周本/main.js @@ -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); +})(); diff --git a/repo/js/若陀周本/manifest.json b/repo/js/若陀周本/manifest.json new file mode 100644 index 00000000..2b21c48c --- /dev/null +++ b/repo/js/若陀周本/manifest.json @@ -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" +} \ No newline at end of file diff --git a/repo/js/若陀周本/周本队后退版.txt b/repo/js/若陀周本/周本队后退版.txt new file mode 100644 index 00000000..c332fac5 --- /dev/null +++ b/repo/js/若陀周本/周本队后退版.txt @@ -0,0 +1,8 @@ +钟离 s(2.4),e(hold) +雷电将军 e +芭芭拉 e +钟离 s(2.4),e(hold) +芙宁娜 q,e + + + diff --git a/repo/js/草龙周本/assets/recover.json b/repo/js/草龙周本/assets/recover.json new file mode 100644 index 00000000..326ad3c5 --- /dev/null +++ b/repo/js/草龙周本/assets/recover.json @@ -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": "" + }, + ] +} \ No newline at end of file diff --git a/repo/js/草龙周本/assets/tp.json b/repo/js/草龙周本/assets/tp.json new file mode 100644 index 00000000..0f91f66a --- /dev/null +++ b/repo/js/草龙周本/assets/tp.json @@ -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": "" + }, + ] +} \ No newline at end of file diff --git a/repo/js/草龙周本/main.js b/repo/js/草龙周本/main.js new file mode 100644 index 00000000..8dc4a88e --- /dev/null +++ b/repo/js/草龙周本/main.js @@ -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); +})(); diff --git a/repo/js/草龙周本/manifest.json b/repo/js/草龙周本/manifest.json new file mode 100644 index 00000000..40afaad6 --- /dev/null +++ b/repo/js/草龙周本/manifest.json @@ -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" +} \ No newline at end of file diff --git a/repo/js/雷神周本/assets/recover.json b/repo/js/雷神周本/assets/recover.json new file mode 100644 index 00000000..326ad3c5 --- /dev/null +++ b/repo/js/雷神周本/assets/recover.json @@ -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": "" + }, + ] +} \ No newline at end of file diff --git a/repo/js/雷神周本/assets/tp.json b/repo/js/雷神周本/assets/tp.json new file mode 100644 index 00000000..2a0a5cfa --- /dev/null +++ b/repo/js/雷神周本/assets/tp.json @@ -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": "" + }, + ] +} \ No newline at end of file diff --git a/repo/js/雷神周本/main.js b/repo/js/雷神周本/main.js new file mode 100644 index 00000000..cb344641 --- /dev/null +++ b/repo/js/雷神周本/main.js @@ -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); +})(); diff --git a/repo/js/雷神周本/manifest.json b/repo/js/雷神周本/manifest.json new file mode 100644 index 00000000..c733b376 --- /dev/null +++ b/repo/js/雷神周本/manifest.json @@ -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" +} \ No newline at end of file diff --git a/repo/js/雷神周本/周本队后退版.txt b/repo/js/雷神周本/周本队后退版.txt new file mode 100644 index 00000000..c332fac5 --- /dev/null +++ b/repo/js/雷神周本/周本队后退版.txt @@ -0,0 +1,8 @@ +钟离 s(2.4),e(hold) +雷电将军 e +芭芭拉 e +钟离 s(2.4),e(hold) +芙宁娜 q,e + + + diff --git a/repo/js/风魔龙周本/assets/recover.json b/repo/js/风魔龙周本/assets/recover.json new file mode 100644 index 00000000..326ad3c5 --- /dev/null +++ b/repo/js/风魔龙周本/assets/recover.json @@ -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": "" + }, + ] +} \ No newline at end of file diff --git a/repo/js/风魔龙周本/assets/tp.json b/repo/js/风魔龙周本/assets/tp.json new file mode 100644 index 00000000..7431d804 --- /dev/null +++ b/repo/js/风魔龙周本/assets/tp.json @@ -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": "" + }, + ] +} \ No newline at end of file diff --git a/repo/js/风魔龙周本/main.js b/repo/js/风魔龙周本/main.js new file mode 100644 index 00000000..db014448 --- /dev/null +++ b/repo/js/风魔龙周本/main.js @@ -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); +})(); diff --git a/repo/js/风魔龙周本/manifest.json b/repo/js/风魔龙周本/manifest.json new file mode 100644 index 00000000..55540124 --- /dev/null +++ b/repo/js/风魔龙周本/manifest.json @@ -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" +} \ No newline at end of file diff --git a/repo/js/风魔龙周本/周本队原地版.txt b/repo/js/风魔龙周本/周本队原地版.txt new file mode 100644 index 00000000..1f9ef316 --- /dev/null +++ b/repo/js/风魔龙周本/周本队原地版.txt @@ -0,0 +1,8 @@ +钟离 wait(2.4),e(hold) +雷电将军 e +芭芭拉 e +钟离 wait(2.4),e(hold) +芙宁娜 q,e + + + diff --git a/repo/js/鲸鱼周本/assets/recover.json b/repo/js/鲸鱼周本/assets/recover.json new file mode 100644 index 00000000..326ad3c5 --- /dev/null +++ b/repo/js/鲸鱼周本/assets/recover.json @@ -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": "" + }, + ] +} \ No newline at end of file diff --git a/repo/js/鲸鱼周本/assets/tp.json b/repo/js/鲸鱼周本/assets/tp.json new file mode 100644 index 00000000..4ce05140 --- /dev/null +++ b/repo/js/鲸鱼周本/assets/tp.json @@ -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": "" + }, + ] +} \ No newline at end of file diff --git a/repo/js/鲸鱼周本/main.js b/repo/js/鲸鱼周本/main.js new file mode 100644 index 00000000..f926f9c7 --- /dev/null +++ b/repo/js/鲸鱼周本/main.js @@ -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); +})(); diff --git a/repo/js/鲸鱼周本/manifest.json b/repo/js/鲸鱼周本/manifest.json new file mode 100644 index 00000000..313c12d4 --- /dev/null +++ b/repo/js/鲸鱼周本/manifest.json @@ -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" +} \ No newline at end of file diff --git a/repo/js/鲸鱼周本/周本队原地版.txt b/repo/js/鲸鱼周本/周本队原地版.txt new file mode 100644 index 00000000..1f9ef316 --- /dev/null +++ b/repo/js/鲸鱼周本/周本队原地版.txt @@ -0,0 +1,8 @@ +钟离 wait(2.4),e(hold) +雷电将军 e +芭芭拉 e +钟离 wait(2.4),e(hold) +芙宁娜 q,e + + +