From 4b099cfa54c293ea6658574bd71eed503815c1a0 Mon Sep 17 00:00:00 2001 From: 5117600049 <511760049@qq.com> Date: Sun, 23 Feb 2025 00:41:39 +0800 Subject: [PATCH] =?UTF-8?q?JS=E8=84=9A=E6=9C=AC=EF=BC=9A=E5=8C=97=E9=A3=8E?= =?UTF-8?q?=E7=9A=84=E7=8E=8B=E7=8B=BC=E8=87=AA=E5=8A=A8=E5=88=B7=E5=8F=96?= =?UTF-8?q?=20(#354)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add files via upload * Add files via upload * Add files via upload --- .../北风的王狼自动刷取/assets/前往狼王.json | 93 +++++++++++++++++++ .../北风的王狼自动刷取/assets/领取奖励.json | 31 +++++++ repo/js/北风的王狼自动刷取/main.js | 10 ++ repo/js/北风的王狼自动刷取/manifest.json | 14 +++ 4 files changed, 148 insertions(+) create mode 100644 repo/js/北风的王狼自动刷取/assets/前往狼王.json create mode 100644 repo/js/北风的王狼自动刷取/assets/领取奖励.json create mode 100644 repo/js/北风的王狼自动刷取/main.js create mode 100644 repo/js/北风的王狼自动刷取/manifest.json diff --git a/repo/js/北风的王狼自动刷取/assets/前往狼王.json b/repo/js/北风的王狼自动刷取/assets/前往狼王.json new file mode 100644 index 00000000..54415f03 --- /dev/null +++ b/repo/js/北风的王狼自动刷取/assets/前往狼王.json @@ -0,0 +1,93 @@ +{ + "info": { + "name": "未命名路径", + "type": "collect", + "author": "柒叶子", + "version": "1.0", + "description": "前往狼王", + "bgiVersion": "0.35.1" + }, + "positions": [ + { + "id": 1, + "action": "", + "move_mode": "walk", + "type": "teleport", + "x": -251.5966796875, + "y": 2256.586181640625, + "action_params": "" + }, + { + "id": 2, + "x": -239.8662109375, + "y": 2235.255859375, + "type": "path", + "move_mode": "walk", + "action": "", + "action_params": "" + }, + { + "id": 3, + "x": -243.6318359375, + "y": 2219.89599609375, + "type": "path", + "move_mode": "walk", + "action": "", + "action_params": "" + }, + { + "id": 4, + "x": -250.318359375, + "y": 2200.3515625, + "type": "path", + "move_mode": "climb", + "action": "", + "action_params": "" + }, + { + "id": 5, + "x": -263.7783203125, + "y": 2142.494140625, + "type": "path", + "move_mode": "walk", + "action": "", + "action_params": "" + }, + { + "id": 6, + "x": -266.06640625, + "y": 2100.711669921875, + "type": "path", + "move_mode": "walk", + "action": "", + "action_params": "" + }, + { + "id": 7, + "x": -273.099609375, + "y": 2053.126220703125, + "type": "path", + "move_mode": "walk", + "action": "", + "action_params": "" + }, + { + "id": 8, + "x": -276.521484375, + "y": 2028.33837890625, + "type": "path", + "move_mode": "fly", + "action": "stop_flying", + "action_params": "" + }, + { + "id": 9, + "x": -280.3447265625, + "y": 1999.419921875, + "type": "target", + "move_mode": "walk", + "action": "", + "action_params": "" + } + ] +} \ No newline at end of file diff --git a/repo/js/北风的王狼自动刷取/assets/领取奖励.json b/repo/js/北风的王狼自动刷取/assets/领取奖励.json new file mode 100644 index 00000000..0715ecef --- /dev/null +++ b/repo/js/北风的王狼自动刷取/assets/领取奖励.json @@ -0,0 +1,31 @@ +{ + "info": { + "name": "未命名路径", + "type": "collect", + "author": "柒叶子", + "version": "1.0", + "description": "领取狼王奖励", + "bgiVersion": "0.35.1" + }, + "positions": [ + + { + "id": 1, + "x": -264.44921875, + "y": 1991.2685546875, + "type": "path", + "move_mode": "walk", + "action": "", + "action_params": "" + }, + { + "id": 2, + "x": -248.8486328125, + "y": 1984.78125, + "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..dab453cd --- /dev/null +++ b/repo/js/北风的王狼自动刷取/main.js @@ -0,0 +1,10 @@ +(async function () { + 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"); +})(); diff --git a/repo/js/北风的王狼自动刷取/manifest.json b/repo/js/北风的王狼自动刷取/manifest.json new file mode 100644 index 00000000..e22d355e --- /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