From b6805f5f38e6d0d639c40dc436c30c108fece4d1 Mon Sep 17 00:00:00 2001 From: mno <718135749@qq.com> Date: Mon, 5 Jan 2026 15:10:45 +0800 Subject: [PATCH] =?UTF-8?q?js=EF=BC=9A=E7=AB=8B=E6=9C=AC=E5=92=8C=E9=94=84?= =?UTF-8?q?=E5=9C=B0=E4=B8=80=E6=9D=A1=E9=BE=99=E6=9B=B4=E6=96=B0=20(#2625?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * js:义父立本 谢谢立本老板的红包 * js:锄地一条龙 1.新增部分路线 2.增加判定,含小怪的路线最短cd12小时 --- repo/js/AutoHoeingOneDragon/main.js | 24 ++- repo/js/AutoHoeingOneDragon/manifest.json | 2 +- .../1-莫酱/1-其他/7201挪德卡莱蛋卷工坊西.json | 69 ++++++++ .../1-莫酱/1-其他/7202挪德卡莱蛋卷工坊西.json | 161 ++++++++++++++++++ .../1-莫酱/1-其他/7203挪德卡莱星砂滩.json | 88 ++++++++++ .../1-莫酱/1-其他/7204挪德卡莱空寂走廊.json | 80 +++++++++ .../1-莫酱/1-其他/7205挪德卡莱空寂走廊北.json | 142 +++++++++++++++ .../1-其他/7301挪德卡莱月矩力设计局东南.json | 78 +++++++++ .../1-其他/7302挪德卡莱月矩力设计局东南.json | 78 +++++++++ .../1-其他/7303挪德卡莱月矩力设计局东南.json | 60 +++++++ .../1-其他/7304挪德卡莱月矩力设计局东南.json | 86 ++++++++++ .../1-其他/7305挪德卡莱月矩力设计局东南.json | 105 ++++++++++++ .../1-其他/7306挪德卡莱月矩力设计局南.json | 107 ++++++++++++ .../1-其他/7307挪德卡莱月矩力设计局南.json | 78 +++++++++ .../1-其他/7308挪德卡莱月矩力设计局西.json | 87 ++++++++++ .../1-其他/7309挪德卡莱月矩力设计局北.json | 69 ++++++++ .../1-其他/7310挪德卡莱月矩力设计局北.json | 69 ++++++++ .../1-其他/7311挪德卡莱月矩力设计局北.json | 97 +++++++++++ .../1-其他/7312挪德卡莱月矩力设计局东.json | 60 +++++++ .../settings/默认账户1.json | 20 +++ repo/js/义父立本/README.md | 1 + .../assets/RecognitionObject/F图标.png | Bin 0 -> 390 bytes .../assets/RecognitionObject/剧情图标.png | Bin 0 -> 798 bytes .../assets/RecognitionObject/确认兑换.png | Bin 0 -> 7653 bytes repo/js/义父立本/assets/前往立本.json | 67 ++++++++ repo/js/义父立本/main.js | 70 ++++++++ repo/js/义父立本/manifest.json | 16 ++ repo/js/义父立本/settings.json | 8 + 28 files changed, 1712 insertions(+), 10 deletions(-) create mode 100644 repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7201挪德卡莱蛋卷工坊西.json create mode 100644 repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7202挪德卡莱蛋卷工坊西.json create mode 100644 repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7203挪德卡莱星砂滩.json create mode 100644 repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7204挪德卡莱空寂走廊.json create mode 100644 repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7205挪德卡莱空寂走廊北.json create mode 100644 repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7301挪德卡莱月矩力设计局东南.json create mode 100644 repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7302挪德卡莱月矩力设计局东南.json create mode 100644 repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7303挪德卡莱月矩力设计局东南.json create mode 100644 repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7304挪德卡莱月矩力设计局东南.json create mode 100644 repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7305挪德卡莱月矩力设计局东南.json create mode 100644 repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7306挪德卡莱月矩力设计局南.json create mode 100644 repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7307挪德卡莱月矩力设计局南.json create mode 100644 repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7308挪德卡莱月矩力设计局西.json create mode 100644 repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7309挪德卡莱月矩力设计局北.json create mode 100644 repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7310挪德卡莱月矩力设计局北.json create mode 100644 repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7311挪德卡莱月矩力设计局北.json create mode 100644 repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7312挪德卡莱月矩力设计局东.json create mode 100644 repo/js/AutoHoeingOneDragon/settings/默认账户1.json create mode 100644 repo/js/义父立本/README.md create mode 100644 repo/js/义父立本/assets/RecognitionObject/F图标.png create mode 100644 repo/js/义父立本/assets/RecognitionObject/剧情图标.png create mode 100644 repo/js/义父立本/assets/RecognitionObject/确认兑换.png 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 diff --git a/repo/js/AutoHoeingOneDragon/main.js b/repo/js/AutoHoeingOneDragon/main.js index 2a8d58a8c..808c3d29f 100644 --- a/repo/js/AutoHoeingOneDragon/main.js +++ b/repo/js/AutoHoeingOneDragon/main.js @@ -1417,7 +1417,7 @@ async function processPathingsByGroup(pathings, accountName) { let skippedTime = 0; //移除不必要的属性 { - const keysToDelete = ['monsterInfo', 'm', 'e', 'mora_m', 'mora_e', 'available', 'prioritized', 'G1', 'G2', 'index', 'folderPathArray', 'tags', 'E1', 'E2']; // 删除的字段列表 + const keysToDelete = ['monsterInfo', 'mora_m', 'mora_e', 'available', 'prioritized', 'G1', 'G2', 'index', 'folderPathArray', 'tags', 'E1', 'E2']; // 删除的字段列表 pathings.forEach(p => { keysToDelete.forEach(k => delete p[k]); }); @@ -1515,20 +1515,26 @@ async function processPathingsByGroup(pathings, accountName) { } // 计算下一个 UTC 时间的晚上 8 点(即北京时间凌晨四点) - const nextEightClock = new Date(now); - nextEightClock.setUTCHours(20, 0, 0, 0); // 设置为 UTC 时间的 20:00 - if (nextEightClock <= now) { + let newCDTime = new Date(now); + newCDTime.setUTCHours(20, 0, 0, 0); // 设置为 UTC 时间的 20:00 + if (newCDTime <= now) { // 如果设置的时间小于等于当前时间,说明需要取下一个晚上 8 点 - nextEightClock.setUTCHours(20 + 24, 0, 0, 0); // 设置为下一个 UTC 时间的 20:00 + newCDTime.setUTCHours(20 + 24, 0, 0, 0); // 设置为下一个 UTC 时间的 20:00 } + if (pathing.m !== 0) { + const nowPlus12h = new Date(now.getTime() + 12 * 3600 * 1000); // now + 12h + if (newCDTime < nowPlus12h) { + newCDTime = nowPlus12h; + } + } + + // 更新路径的 cdTime + pathing.cdTime = newCDTime.toLocaleString(); + if (!localeWorks) pathing.cdTime = newCDTime.toISOString(); const pathTime = new Date() - now; pathing.records = [...pathing.records, pathTime / 1000].slice(-7); - // 更新路径的 cdTime - pathing.cdTime = nextEightClock.toLocaleString(); - if (!localeWorks) pathing.cdTime = nextEightClock.toISOString(); - remainingEstimatedTime -= pathing.t; const actualUsedTime = (new Date() - groupStartTime) / 1000; const predictRemainingTime = remainingEstimatedTime * actualUsedTime / (totalEstimatedTime - remainingEstimatedTime - skippedTime); diff --git a/repo/js/AutoHoeingOneDragon/manifest.json b/repo/js/AutoHoeingOneDragon/manifest.json index dca186a27..f3cdf4689 100644 --- a/repo/js/AutoHoeingOneDragon/manifest.json +++ b/repo/js/AutoHoeingOneDragon/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 1, "name": "锄地一条龙", - "version": "1.15.2", + "version": "1.16.0", "description": "一站式解决自动化锄地,支持只拾取狗粮,请仔细阅读README.md后使用", "authors": [ { diff --git a/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7201挪德卡莱蛋卷工坊西.json b/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7201挪德卡莱蛋卷工坊西.json new file mode 100644 index 000000000..a4c7e8580 --- /dev/null +++ b/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7201挪德卡莱蛋卷工坊西.json @@ -0,0 +1,69 @@ +{ + "info": { + "authors": [ + { + "links": "", + "name": "mno" + } + ], + "bgi_version": "0.45.0", + "description": " 路线信息:该路线预计用时60.12秒,包含以下怪物:2只雷史莱姆、1只辉电·霜夜灵嗣。", + "enable_monster_loot_split": false, + "hash_res": "75306089", + "last_modified_time": 1767364247790, + "map_match_method": "", + "map_name": "Teyvat", + "name": "7201挪德卡莱蛋卷工坊西", + "tags": [], + "type": "collect", + "version": "1.0" + }, + "positions": [ + { + "action": "", + "action_params": "", + "id": 1, + "move_mode": "walk", + "type": "teleport", + "x": 10018.3388671875, + "y": 1539.26123046875 + }, + { + "action": "", + "action_params": "", + "id": 2, + "move_mode": "jump", + "type": "path", + "x": 10037.18359375, + "y": 1554.2490234375 + }, + { + "action": "", + "action_params": "", + "id": 3, + "move_mode": "walk", + "type": "path", + "x": 10072.8896484375, + "y": 1554.03125 + }, + { + "action": "fight", + "action_params": "", + "id": 4, + "locked": false, + "move_mode": "walk", + "type": "path", + "x": 10103.8798828125, + "y": 1570.22705078125 + }, + { + "action": "combat_script", + "action_params": "wait(1)", + "id": 5, + "move_mode": "walk", + "type": "orientation", + "x": 10103.8798828125, + "y": 1570.22705078125 + } + ] +} \ No newline at end of file diff --git a/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7202挪德卡莱蛋卷工坊西.json b/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7202挪德卡莱蛋卷工坊西.json new file mode 100644 index 000000000..119e0403a --- /dev/null +++ b/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7202挪德卡莱蛋卷工坊西.json @@ -0,0 +1,161 @@ +{ + "info": { + "authors": [ + { + "links": "", + "name": "mno" + } + ], + "bgi_version": "0.45.0", + "description": " 路线信息:该路线预计用时127.31秒,包含以下怪物:2只草史莱姆、2只冰史莱姆、1只灼烜·霜夜灵嗣、1只蔓结·霜夜灵嗣、1只凌晶·霜夜灵嗣。", + "enable_monster_loot_split": false, + "hash_res": "75306089", + "last_modified_time": 1767364585532, + "map_match_method": "", + "map_name": "Teyvat", + "name": "7202挪德卡莱蛋卷工坊西", + "tags": [], + "type": "collect", + "version": "1.0" + }, + "positions": [ + { + "action": "", + "action_params": "", + "id": 1, + "move_mode": "walk", + "type": "teleport", + "x": 9967.056640625, + "y": 1832.2001953125 + }, + { + "action": "", + "action_params": "", + "id": 2, + "move_mode": "dash", + "type": "path", + "x": 9984.7646484375, + "y": 1839.8076171875 + }, + { + "action": "", + "action_params": "", + "id": 3, + "move_mode": "dash", + "type": "path", + "x": 9987.0595703125, + "y": 1815.67529296875 + }, + { + "action": "", + "action_params": "", + "id": 4, + "move_mode": "dash", + "type": "path", + "x": 9994.765625, + "y": 1806.19580078125 + }, + { + "action": "", + "action_params": "", + "id": 5, + "move_mode": "dash", + "type": "path", + "x": 9994.8486328125, + "y": 1790.9140625 + }, + { + "action": "", + "action_params": "", + "id": 6, + "move_mode": "dash", + "type": "path", + "x": 10009.353515625, + "y": 1782.6689453125 + }, + { + "action": "fight", + "action_params": "", + "id": 7, + "locked": false, + "move_mode": "dash", + "type": "path", + "x": 10009.6611328125, + "y": 1749.1298828125 + }, + { + "action": "", + "action_params": "", + "id": 8, + "move_mode": "dash", + "type": "path", + "x": 10009.6611328125, + "y": 1749.1298828125 + }, + { + "action": "", + "action_params": "", + "id": 9, + "move_mode": "dash", + "type": "path", + "x": 10039.533203125, + "y": 1721.884765625 + }, + { + "action": "fight", + "action_params": "", + "id": 10, + "locked": false, + "move_mode": "dash", + "type": "path", + "x": 10051.8583984375, + "y": 1692.1943359375 + }, + { + "action": "", + "action_params": "", + "id": 11, + "move_mode": "dash", + "type": "path", + "x": 10051.8583984375, + "y": 1692.1943359375 + }, + { + "action": "", + "action_params": "", + "id": 12, + "move_mode": "dash", + "type": "path", + "x": 10077.4794921875, + "y": 1699.4287109375 + }, + { + "action": "stop_flying", + "action_params": "", + "id": 13, + "move_mode": "fly", + "type": "path", + "x": 10107.1611328125, + "y": 1715.08740234375 + }, + { + "action": "fight", + "action_params": "", + "id": 14, + "locked": false, + "move_mode": "run", + "type": "path", + "x": 10115.80078125, + "y": 1719.69140625 + }, + { + "action": "combat_script", + "action_params": "wait(1)", + "id": 15, + "move_mode": "run", + "type": "orientation", + "x": 10115.80078125, + "y": 1719.69140625 + } + ] +} \ No newline at end of file diff --git a/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7203挪德卡莱星砂滩.json b/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7203挪德卡莱星砂滩.json new file mode 100644 index 000000000..876b93674 --- /dev/null +++ b/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7203挪德卡莱星砂滩.json @@ -0,0 +1,88 @@ +{ + "info": { + "authors": [ + { + "links": "", + "name": "mno" + } + ], + "bgi_version": "0.45.0", + "description": " 路线信息:该路线预计用时89.26秒,包含以下怪物:3只愚人众特辖队·线列军、2只愚人众特辖队·支援兵、1只愚人众特辖队·雷霰近卫军。", + "enable_monster_loot_split": false, + "hash_res": "75306089", + "last_modified_time": 1767365219188, + "map_match_method": "", + "map_name": "Teyvat", + "name": "7203挪德卡莱星砂滩", + "tags": [], + "type": "collect", + "version": "1.0" + }, + "positions": [ + { + "action": "", + "action_params": "", + "id": 1, + "move_mode": "walk", + "type": "teleport", + "x": 9563.09765625, + "y": 2135.26513671875 + }, + { + "action": "stop_flying", + "action_params": "", + "id": 2, + "move_mode": "fly", + "type": "path", + "x": 9518.5048828125, + "y": 2198.207275390625 + }, + { + "action": "fight", + "action_params": "", + "id": 3, + "locked": false, + "move_mode": "run", + "type": "path", + "x": 9514.935546875, + "y": 2203.751220703125 + }, + { + "action": "", + "action_params": "", + "id": 4, + "move_mode": "dash", + "type": "path", + "x": 9514.935546875, + "y": 2203.751220703125 + }, + { + "action": "", + "action_params": "", + "id": 5, + "move_mode": "dash", + "type": "path", + "x": 9492.4365234375, + "y": 2219.661376953125 + }, + { + "action": "fight", + "action_params": "", + "id": 6, + "locked": false, + "move_mode": "dash", + "type": "path", + "x": 9470.5078125, + "y": 2251.654541015625 + }, + { + "action": "combat_script", + "action_params": "wait(1)", + "id": 7, + "move_mode": "dash", + "type": "orientation", + "x": 9470.5078125, + "y": 2251.654541015625 + } + ] +} \ No newline at end of file diff --git a/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7204挪德卡莱空寂走廊.json b/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7204挪德卡莱空寂走廊.json new file mode 100644 index 000000000..ecb85937f --- /dev/null +++ b/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7204挪德卡莱空寂走廊.json @@ -0,0 +1,80 @@ +{ + "info": { + "authors": [ + { + "links": "", + "name": "mno" + } + ], + "bgi_version": "0.45.0", + "description": " 路线信息:该路线预计用时73.48秒,包含以下怪物:2只雷史莱姆、1只大型雷史莱姆、1只辉电·霜夜灵嗣。", + "enable_monster_loot_split": false, + "hash_res": "75306089", + "last_modified_time": 1767365675545, + "map_match_method": "", + "map_name": "Teyvat", + "name": "7204挪德卡莱空寂走廊", + "tags": [], + "type": "collect", + "version": "1.0" + }, + "positions": [ + { + "action": "", + "action_params": "", + "id": 1, + "move_mode": "walk", + "type": "teleport", + "x": 9208.2412109375, + "y": 2526.28515625 + }, + { + "action": "", + "action_params": "", + "id": 2, + "move_mode": "dash", + "type": "path", + "x": 9254.9892578125, + "y": 2546.634033203125 + }, + { + "action": "fight", + "action_params": "", + "id": 3, + "locked": false, + "move_mode": "dash", + "type": "path", + "x": 9282.408203125, + "y": 2611.412841796875 + }, + { + "action": "", + "action_params": "", + "id": 4, + "move_mode": "dash", + "type": "path", + "x": 9282.408203125, + "y": 2611.412841796875 + }, + { + "action": "fight", + "action_params": "", + "id": 5, + "locked": false, + "move_mode": "dash", + "type": "path", + "x": 9286.2626953125, + "y": 2697.212646484375 + }, + { + "action": "combat_script", + "action_params": "wait(1)", + "id": 6, + "locked": false, + "move_mode": "dash", + "type": "orientation", + "x": 9286.2626953125, + "y": 2697.212646484375 + } + ] +} \ No newline at end of file diff --git a/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7205挪德卡莱空寂走廊北.json b/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7205挪德卡莱空寂走廊北.json new file mode 100644 index 000000000..3953d8fc0 --- /dev/null +++ b/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7205挪德卡莱空寂走廊北.json @@ -0,0 +1,142 @@ +{ + "info": { + "authors": [ + { + "links": "", + "name": "mno" + } + ], + "bgi_version": "0.45.0", + "description": " 路线信息:该路线预计用时83.41秒,包含以下怪物:2只愚人众特辖队·线列军、2只愚人众特辖队·先锋士、2只巡陆艇·强侦斥候型、1只巡陆艇·尖端火力地效型。", + "enable_monster_loot_split": false, + "hash_res": "75306089", + "last_modified_time": 1767366916222, + "map_match_method": "", + "map_name": "Teyvat", + "name": "7205挪德卡莱空寂走廊北", + "tags": [], + "type": "collect", + "version": "1.0" + }, + "positions": [ + { + "action": "", + "action_params": "", + "id": 1, + "move_mode": "walk", + "type": "teleport", + "x": 9191.6689453125, + "y": 2852.09912109375 + }, + { + "action": "", + "action_params": "", + "id": 2, + "move_mode": "run", + "type": "path", + "x": 9193.5908203125, + "y": 2864.62646484375 + }, + { + "action": "", + "action_params": "", + "id": 3, + "move_mode": "dash", + "type": "path", + "x": 9194.0546875, + "y": 2866.64501953125 + }, + { + "action": "", + "action_params": "", + "id": 4, + "move_mode": "run", + "type": "path", + "x": 9200.73828125, + "y": 2881.1435546875 + }, + { + "action": "fight", + "action_params": "", + "id": 5, + "locked": false, + "move_mode": "run", + "type": "path", + "x": 9200.1826171875, + "y": 2875.6728515625 + }, + { + "action": "", + "action_params": "", + "id": 6, + "move_mode": "dash", + "type": "path", + "x": 9200.1826171875, + "y": 2875.6728515625 + }, + { + "action": "", + "action_params": "", + "id": 7, + "move_mode": "dash", + "type": "path", + "x": 9206.515625, + "y": 2912.45166015625 + }, + { + "action": "", + "action_params": "", + "id": 8, + "move_mode": "dash", + "type": "path", + "x": 9205.919921875, + "y": 2938.598388671875 + }, + { + "action": "", + "action_params": "", + "id": 9, + "move_mode": "fly", + "type": "path", + "x": 9213.5625, + "y": 2938.315673828125 + }, + { + "action": "", + "action_params": "", + "id": 10, + "move_mode": "run", + "type": "path", + "x": 9219.005859375, + "y": 2933.787109375 + }, + { + "action": "", + "action_params": "", + "id": 11, + "move_mode": "jump", + "type": "path", + "x": 9226.9501953125, + "y": 2932.26318359375 + }, + { + "action": "fight", + "action_params": "", + "id": 12, + "locked": false, + "move_mode": "dash", + "type": "path", + "x": 9254.935546875, + "y": 2930.1591796875 + }, + { + "action": "combat_script", + "action_params": "wait(1)", + "id": 13, + "move_mode": "dash", + "type": "orientation", + "x": 9254.935546875, + "y": 2930.1591796875 + } + ] +} \ No newline at end of file diff --git a/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7301挪德卡莱月矩力设计局东南.json b/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7301挪德卡莱月矩力设计局东南.json new file mode 100644 index 000000000..0f462c16e --- /dev/null +++ b/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7301挪德卡莱月矩力设计局东南.json @@ -0,0 +1,78 @@ +{ + "info": { + "authors": [ + { + "links": "", + "name": "mno" + } + ], + "bgi_version": "0.45.0", + "description": " 路线信息:该路线预计用时73.06秒,包含以下怪物:1只愚人众特辖队·线列军、1只愚人众特辖队·支援兵、1只愚人众特辖队·榴铳手、1只愚人众特辖队·雷霰近卫军、1只巡陆艇·近战斥候型、1只巡陆艇·强侦斥候型。", + "enable_monster_loot_split": false, + "hash_res": "75306089", + "last_modified_time": 1767367290083, + "map_match_method": "", + "map_name": "Teyvat", + "name": "7301挪德卡莱月矩力设计局东南", + "tags": [], + "type": "collect", + "version": "1.0" + }, + "positions": [ + { + "action": "", + "action_params": "", + "id": 1, + "move_mode": "walk", + "type": "teleport", + "x": 9426.4970703125, + "y": 3051.53125 + }, + { + "action": "fight", + "action_params": "", + "id": 2, + "move_mode": "dash", + "type": "path", + "x": 9386.4228515625, + "y": 3059.638671875 + }, + { + "action": "", + "action_params": "", + "id": 3, + "move_mode": "dash", + "type": "target", + "x": 9382.87109375, + "y": 3052.684814453125 + }, + { + "action": "stop_flying", + "action_params": "", + "id": 4, + "move_mode": "fly", + "type": "path", + "x": 9363.662109375, + "y": 3038.764404296875 + }, + { + "action": "fight", + "action_params": "", + "id": 5, + "locked": false, + "move_mode": "dash", + "type": "path", + "x": 9365.015625, + "y": 3030.185546875 + }, + { + "action": "combat_script", + "action_params": "wait(1)", + "id": 6, + "move_mode": "dash", + "type": "orientation", + "x": 9365.015625, + "y": 3030.185546875 + } + ] +} \ No newline at end of file diff --git a/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7302挪德卡莱月矩力设计局东南.json b/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7302挪德卡莱月矩力设计局东南.json new file mode 100644 index 000000000..6b6c85ed1 --- /dev/null +++ b/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7302挪德卡莱月矩力设计局东南.json @@ -0,0 +1,78 @@ +{ + "info": { + "authors": [ + { + "links": "", + "name": "mno" + } + ], + "bgi_version": "0.45.0", + "description": " 路线信息:该路线预计用时87.69秒,包含以下怪物:3只愚人众特辖队·线列军、1只巡陆艇·近战攻坚型、1只巡陆艇·强侦攻坚型、1只巡陆艇·尖端火力地效型。", + "enable_monster_loot_split": false, + "hash_res": "75306089", + "last_modified_time": 1767367625032, + "map_match_method": "", + "map_name": "Teyvat", + "name": "7302挪德卡莱月矩力设计局东南", + "tags": [], + "type": "collect", + "version": "1.0" + }, + "positions": [ + { + "action": "", + "action_params": "", + "id": 1, + "move_mode": "walk", + "type": "teleport", + "x": 9375.390625, + "y": 3150.53076171875 + }, + { + "action": "fight", + "action_params": "", + "id": 2, + "move_mode": "dash", + "type": "path", + "x": 9301.814453125, + "y": 3135.11376953125 + }, + { + "action": "", + "action_params": "", + "id": 3, + "move_mode": "walk", + "type": "path", + "x": 9287.44140625, + "y": 3114.7783203125 + }, + { + "action": "", + "action_params": "", + "id": 4, + "move_mode": "dash", + "type": "path", + "x": 9253.5537109375, + "y": 3082.5458984375 + }, + { + "action": "fight", + "action_params": "", + "id": 5, + "locked": false, + "move_mode": "walk", + "type": "path", + "x": 9251.806640625, + "y": 3078.529541015625 + }, + { + "action": "combat_script", + "action_params": "wait(1)", + "id": 6, + "move_mode": "walk", + "type": "orientation", + "x": 9251.806640625, + "y": 3078.529541015625 + } + ] +} \ No newline at end of file diff --git a/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7303挪德卡莱月矩力设计局东南.json b/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7303挪德卡莱月矩力设计局东南.json new file mode 100644 index 000000000..c80dd0c80 --- /dev/null +++ b/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7303挪德卡莱月矩力设计局东南.json @@ -0,0 +1,60 @@ +{ + "info": { + "authors": [ + { + "links": "", + "name": "mno" + } + ], + "bgi_version": "0.45.0", + "description": " 路线信息:该路线预计用时65.85秒,包含以下怪物:1只愚人众特辖队·支援兵、1只愚人众特辖队·先锋士、1只愚人众特辖队·火刃突击队、2只巡陆艇·尖端全能攻坚型。", + "enable_monster_loot_split": false, + "hash_res": "75306089", + "last_modified_time": 1767367971274, + "map_match_method": "", + "map_name": "Teyvat", + "name": "7303挪德卡莱月矩力设计局东南", + "tags": [], + "type": "collect", + "version": "1.0" + }, + "positions": [ + { + "action": "", + "action_params": "", + "id": 1, + "move_mode": "walk", + "type": "teleport", + "x": 9426.494140625, + "y": 3051.5234375 + }, + { + "action": "", + "action_params": "", + "id": 2, + "move_mode": "dash", + "type": "path", + "x": 9488.57421875, + "y": 3078.37353515625 + }, + { + "action": "fight", + "action_params": "", + "id": 3, + "locked": false, + "move_mode": "dash", + "type": "path", + "x": 9501.1982421875, + "y": 3091.154296875 + }, + { + "action": "fight", + "action_params": "", + "id": 4, + "move_mode": "dash", + "type": "path", + "x": 9501.1982421875, + "y": 3091.154296875 + } + ] +} \ No newline at end of file diff --git a/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7304挪德卡莱月矩力设计局东南.json b/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7304挪德卡莱月矩力设计局东南.json new file mode 100644 index 000000000..79c541e1e --- /dev/null +++ b/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7304挪德卡莱月矩力设计局东南.json @@ -0,0 +1,86 @@ +{ + "info": { + "authors": [ + { + "links": "", + "name": "mno" + } + ], + "bgi_version": "0.45.0", + "description": " 路线信息:该路线预计用时131.04秒,包含以下怪物:2只巡陆艇·尖端全能斥候型、2只巡陆艇·尖端火力地效型。", + "enable_monster_loot_split": false, + "hash_res": "75306089", + "last_modified_time": 1767444400744, + "map_match_method": "", + "map_name": "Teyvat", + "name": "7304挪德卡莱月矩力设计局东南", + "tags": [], + "type": "collect", + "version": "1.0" + }, + "positions": [ + { + "action": "", + "action_params": "", + "id": 1, + "move_mode": "walk", + "type": "teleport", + "x": 9551.0087890625, + "y": 3104.666015625 + }, + { + "action": "", + "action_params": "", + "id": 2, + "move_mode": "dash", + "type": "target", + "x": 9570.078125, + "y": 3105.393798828125 + }, + { + "action": "", + "action_params": "", + "id": 3, + "move_mode": "jump", + "type": "path", + "x": 9579.7705078125, + "y": 3116.25439453125 + }, + { + "action": "combat_script", + "action_params": "keypress(f),wait(0.2),keypress(f),wait(3)", + "id": 4, + "move_mode": "dash", + "type": "target", + "x": 9577.814453125, + "y": 3148.953125 + }, + { + "action": "fight", + "action_params": "", + "id": 5, + "move_mode": "dash", + "type": "path", + "x": 9577.9033203125, + "y": 3138.46728515625 + }, + { + "action": "fight", + "action_params": "", + "id": 6, + "move_mode": "walk", + "type": "path", + "x": 9593.1025390625, + "y": 3154.80029296875 + }, + { + "action": "combat_script", + "action_params": "wait(1)", + "id": 7, + "move_mode": "walk", + "type": "orientation", + "x": 9593.1025390625, + "y": 3154.80029296875 + } + ] +} \ No newline at end of file diff --git a/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7305挪德卡莱月矩力设计局东南.json b/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7305挪德卡莱月矩力设计局东南.json new file mode 100644 index 000000000..8b8899ab0 --- /dev/null +++ b/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7305挪德卡莱月矩力设计局东南.json @@ -0,0 +1,105 @@ +{ + "info": { + "authors": [ + { + "links": "", + "name": "mno" + } + ], + "bgi_version": "0.45.0", + "description": " 路线信息:该路线预计用时87.82秒,包含以下怪物:1只愚人众特辖队·先锋士、1只愚人众特辖队·疗愈师、1只愚人众特辖队·掷弹兵、1只巡陆艇·近战攻坚型、1只巡陆艇·尖端全能攻坚型、1只巡陆艇·尖端全能斥候型、1只巡陆艇·尖端火力地效型。", + "enable_monster_loot_split": false, + "hash_res": "75306089", + "last_modified_time": 1767368709631, + "map_match_method": "", + "map_name": "Teyvat", + "name": "7305挪德卡莱月矩力设计局东南", + "tags": [], + "type": "collect", + "version": "1.0" + }, + "positions": [ + { + "action": "", + "action_params": "", + "id": 1, + "move_mode": "walk", + "type": "teleport", + "x": 9701.7763671875, + "y": 3144.46240234375 + }, + { + "action": "combat_script", + "action_params": "芙宁娜 e", + "id": 2, + "move_mode": "dash", + "type": "path", + "x": 9715.828125, + "y": 3116.19140625 + }, + { + "action": "combat_script", + "action_params": "attack", + "id": 3, + "move_mode": "dash", + "type": "path", + "x": 9729.6572265625, + "y": 3130.7548828125 + }, + { + "action": "", + "action_params": "", + "id": 4, + "move_mode": "dash", + "type": "path", + "x": 9735.580078125, + "y": 3106.866943359375 + }, + { + "action": "fight", + "action_params": "", + "id": 5, + "move_mode": "dash", + "type": "path", + "x": 9732.6123046875, + "y": 3119.919921875 + }, + { + "action": "", + "action_params": "", + "id": 6, + "move_mode": "dash", + "type": "path", + "x": 9737.82421875, + "y": 3116.259765625 + }, + { + "action": "", + "action_params": "", + "id": 7, + "move_mode": "dash", + "type": "path", + "x": 9745.1064453125, + "y": 3108.36669921875 + }, + { + "action": "fight", + "action_params": "", + "id": 8, + "locked": false, + "move_mode": "dash", + "type": "path", + "x": 9751.5458984375, + "y": 3103.028076171875 + }, + { + "action": "fight", + "action_params": "", + "id": 9, + "move_mode": "dash", + "type": "orientation", + "x": 9751.5458984375, + "y": 3103.028076171875 + } + ] +} \ No newline at end of file diff --git a/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7306挪德卡莱月矩力设计局南.json b/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7306挪德卡莱月矩力设计局南.json new file mode 100644 index 000000000..ede44948c --- /dev/null +++ b/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7306挪德卡莱月矩力设计局南.json @@ -0,0 +1,107 @@ +{ + "info": { + "authors": [ + { + "links": "", + "name": "mno" + } + ], + "bgi_version": "0.45.0", + "description": " 路线信息:该路线预计用时69.5秒,包含以下怪物:1只愚人众特辖队·支援兵、1只愚人众特辖队·榴铳手、2只愚人众特辖队·先锋士、1只愚人众特辖队·疗愈师、1只愚人众特辖队·掷弹兵、1只巡陆艇·尖端全能斥候型。", + "enable_monster_loot_split": false, + "hash_res": "75306089", + "last_modified_time": 1767368998227, + "map_match_method": "", + "map_name": "Teyvat", + "name": "7306挪德卡莱月矩力设计局南", + "tags": [], + "type": "collect", + "version": "1.0" + }, + "positions": [ + { + "action": "", + "action_params": "", + "id": 1, + "move_mode": "walk", + "type": "teleport", + "x": 9825.5869140625, + "y": 3032.5341796875 + }, + { + "action": "fight", + "action_params": "", + "id": 2, + "locked": false, + "move_mode": "dash", + "type": "path", + "x": 9845.734375, + "y": 3002.70947265625 + }, + { + "action": "log_output", + "action_params": "如果此处无怪需要先对话开怪,后续来会自动出怪", + "id": 3, + "move_mode": "dash", + "type": "path", + "x": 9845.734375, + "y": 3002.70947265625 + }, + { + "action": "", + "action_params": "", + "id": 4, + "move_mode": "dash", + "type": "path", + "x": 9837.58203125, + "y": 3003.9765625 + }, + { + "action": "", + "action_params": "", + "id": 5, + "move_mode": "dash", + "type": "path", + "x": 9839.8251953125, + "y": 2952.51025390625 + }, + { + "action": "", + "action_params": "", + "id": 6, + "move_mode": "dash", + "type": "path", + "x": 9849.185546875, + "y": 2944.66015625 + }, + { + "action": "fight", + "action_params": "", + "id": 7, + "locked": false, + "move_mode": "dash", + "type": "path", + "x": 9845.8701171875, + "y": 2907.82373046875 + }, + { + "action": "log_output", + "action_params": "如果此处无怪需要先对话开怪,后续来会自动出怪", + "id": 8, + "locked": false, + "move_mode": "dash", + "type": "orientation", + "x": 9845.8701171875, + "y": 2907.82373046875 + }, + { + "action": "combat_script", + "action_params": "wait(1)", + "id": 9, + "move_mode": "dash", + "type": "orientation", + "x": 9845.8701171875, + "y": 2907.82373046875 + } + ] +} \ No newline at end of file diff --git a/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7307挪德卡莱月矩力设计局南.json b/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7307挪德卡莱月矩力设计局南.json new file mode 100644 index 000000000..460042b51 --- /dev/null +++ b/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7307挪德卡莱月矩力设计局南.json @@ -0,0 +1,78 @@ +{ + "info": { + "authors": [ + { + "links": "", + "name": "mno" + } + ], + "bgi_version": "0.45.0", + "description": " 路线信息:该路线预计用时57.74秒,包含以下怪物:1只愚人众特辖队·支援兵、2只愚人众特辖队·先锋士、1只愚人众特辖队·冰雹重炮手。", + "enable_monster_loot_split": false, + "hash_res": "75306089", + "last_modified_time": 1767369411577, + "map_match_method": "", + "map_name": "Teyvat", + "name": "7307挪德卡莱月矩力设计局南", + "tags": [], + "type": "collect", + "version": "1.0" + }, + "positions": [ + { + "action": "", + "action_params": "", + "id": 1, + "move_mode": "walk", + "type": "teleport", + "x": 9900.01953125, + "y": 2832.7138671875 + }, + { + "action": "", + "action_params": "", + "id": 2, + "move_mode": "dash", + "type": "path", + "x": 9903.97265625, + "y": 2886.14794921875 + }, + { + "action": "", + "action_params": "", + "id": 3, + "move_mode": "dash", + "type": "path", + "x": 9939.2587890625, + "y": 2886.4580078125 + }, + { + "action": "combat_script", + "action_params": "芙宁娜 e,keydown(w),dash(3.5),keyup(w)", + "id": 4, + "move_mode": "dash", + "type": "path", + "x": 9950.234375, + "y": 2873.972412109375 + }, + { + "action": "fight", + "action_params": "", + "id": 5, + "locked": false, + "move_mode": "jump", + "type": "path", + "x": 9969.490234375, + "y": 2847.7587890625 + }, + { + "action": "combat_script", + "action_params": "wait(1)", + "id": 6, + "move_mode": "jump", + "type": "orientation", + "x": 9969.490234375, + "y": 2847.7587890625 + } + ] +} \ No newline at end of file diff --git a/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7308挪德卡莱月矩力设计局西.json b/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7308挪德卡莱月矩力设计局西.json new file mode 100644 index 000000000..a770bbecc --- /dev/null +++ b/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7308挪德卡莱月矩力设计局西.json @@ -0,0 +1,87 @@ +{ + "info": { + "authors": [ + { + "links": "", + "name": "mno" + } + ], + "bgi_version": "0.45.0", + "description": " 路线信息:该路线预计用时83.24秒,包含以下怪物:1只愚人众特辖队·疗愈师、1只愚人众特辖队·火刃突击队、1只巡陆艇·强侦攻坚型、1只巡陆艇·尖端全能攻坚型。", + "enable_monster_loot_split": false, + "hash_res": "75306089", + "last_modified_time": 1767369555593, + "map_match_method": "", + "map_name": "Teyvat", + "name": "7308挪德卡莱月矩力设计局西", + "tags": [], + "type": "collect", + "version": "1.0" + }, + "positions": [ + { + "action": "", + "action_params": "", + "id": 1, + "move_mode": "walk", + "type": "teleport", + "x": 10103.197265625, + "y": 3142.159423828125 + }, + { + "action": "fight", + "action_params": "", + "id": 2, + "move_mode": "dash", + "type": "path", + "x": 10119, + "y": 3172.24755859375 + }, + { + "action": "", + "action_params": "", + "id": 3, + "move_mode": "walk", + "type": "teleport", + "x": 10103.197265625, + "y": 3142.159423828125 + }, + { + "action": "combat_script", + "action_params": "芙宁娜 e", + "id": 4, + "move_mode": "dash", + "type": "path", + "x": 10080.9228515625, + "y": 3122.03564453125 + }, + { + "action": "", + "action_params": "", + "id": 5, + "move_mode": "dash", + "type": "path", + "x": 10101.1904296875, + "y": 3104.951416015625 + }, + { + "action": "fight", + "action_params": "", + "id": 6, + "locked": false, + "move_mode": "dash", + "type": "path", + "x": 10088.96875, + "y": 3097.80810546875 + }, + { + "action": "combat_script", + "action_params": "wait(1)", + "id": 7, + "move_mode": "dash", + "type": "orientation", + "x": 10088.96875, + "y": 3097.80810546875 + } + ] +} \ No newline at end of file diff --git a/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7309挪德卡莱月矩力设计局北.json b/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7309挪德卡莱月矩力设计局北.json new file mode 100644 index 000000000..07a0692fb --- /dev/null +++ b/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7309挪德卡莱月矩力设计局北.json @@ -0,0 +1,69 @@ +{ + "info": { + "authors": [ + { + "links": "", + "name": "mno" + } + ], + "bgi_version": "0.45.0", + "description": " 路线信息:该路线预计用时52.67秒,包含以下怪物:1只愚人众特辖队·线列军、1只愚人众特辖队·榴铳手、1只愚人众特辖队·疗愈师。", + "enable_monster_loot_split": false, + "hash_res": "75306089", + "last_modified_time": 1767369835272, + "map_match_method": "", + "map_name": "Teyvat", + "name": "7309挪德卡莱月矩力设计局北", + "tags": [], + "type": "collect", + "version": "1.0" + }, + "positions": [ + { + "action": "", + "action_params": "", + "id": 1, + "move_mode": "walk", + "type": "teleport", + "x": 9874.779296875, + "y": 3589.151611328125 + }, + { + "action": "", + "action_params": "", + "id": 2, + "move_mode": "jump", + "type": "path", + "x": 9869.9794921875, + "y": 3567.856201171875 + }, + { + "action": "", + "action_params": "", + "id": 3, + "move_mode": "dash", + "type": "path", + "x": 9880.6640625, + "y": 3565.200439453125 + }, + { + "action": "fight", + "action_params": "", + "id": 4, + "locked": false, + "move_mode": "dash", + "type": "path", + "x": 9881.3603515625, + "y": 3552.405517578125 + }, + { + "action": "combat_script", + "action_params": "wait(1)", + "id": 5, + "move_mode": "dash", + "type": "orientation", + "x": 9881.3603515625, + "y": 3552.405517578125 + } + ] +} \ No newline at end of file diff --git a/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7310挪德卡莱月矩力设计局北.json b/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7310挪德卡莱月矩力设计局北.json new file mode 100644 index 000000000..b01b9d6f1 --- /dev/null +++ b/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7310挪德卡莱月矩力设计局北.json @@ -0,0 +1,69 @@ +{ + "info": { + "authors": [ + { + "links": "", + "name": "mno" + } + ], + "bgi_version": "0.45.0", + "description": " 路线信息:该路线预计用时77.84秒,包含以下怪物:2只愚人众特辖队·先锋士、1只愚人众特辖队·火刃突击队、1只愚人众特辖队·雷霰近卫军。", + "enable_monster_loot_split": false, + "hash_res": "75306089", + "last_modified_time": 1767369995646, + "map_match_method": "", + "map_name": "Teyvat", + "name": "7310挪德卡莱月矩力设计局北", + "tags": [], + "type": "collect", + "version": "1.0" + }, + "positions": [ + { + "action": "", + "action_params": "", + "id": 1, + "move_mode": "walk", + "type": "teleport", + "x": 9874.77734375, + "y": 3589.15283203125 + }, + { + "action": "fight", + "action_params": "", + "id": 2, + "move_mode": "dash", + "type": "path", + "x": 9925.9716796875, + "y": 3592.256591796875 + }, + { + "action": "stop_flying", + "action_params": "", + "id": 3, + "move_mode": "fly", + "type": "path", + "x": 9952.859375, + "y": 3586.307373046875 + }, + { + "action": "fight", + "action_params": "", + "id": 4, + "locked": false, + "move_mode": "jump", + "type": "path", + "x": 9957.375, + "y": 3585.138427734375 + }, + { + "action": "combat_script", + "action_params": "wait(1)", + "id": 5, + "move_mode": "dash", + "type": "orientation", + "x": 9957.375, + "y": 3585.138427734375 + } + ] +} \ No newline at end of file diff --git a/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7311挪德卡莱月矩力设计局北.json b/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7311挪德卡莱月矩力设计局北.json new file mode 100644 index 000000000..0d429acd5 --- /dev/null +++ b/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7311挪德卡莱月矩力设计局北.json @@ -0,0 +1,97 @@ +{ + "info": { + "authors": [ + { + "links": "", + "name": "mno" + } + ], + "bgi_version": "0.45.0", + "description": " 路线信息:该路线预计用时61.31秒,包含以下怪物:2只愚人众特辖队·掷弹兵、1只愚人众特辖队·冰雹重炮手、2只巡陆艇·强侦攻坚型、1只巡陆艇·强侦地效型。", + "enable_monster_loot_split": false, + "hash_res": "75306089", + "last_modified_time": 1767370181602, + "map_match_method": "", + "map_name": "Teyvat", + "name": "7311挪德卡莱月矩力设计局北", + "tags": [], + "type": "collect", + "version": "1.0" + }, + "positions": [ + { + "action": "", + "action_params": "", + "id": 1, + "move_mode": "walk", + "type": "teleport", + "x": 9874.775390625, + "y": 3589.146484375 + }, + { + "action": "stop_flying", + "action_params": "", + "id": 2, + "move_mode": "fly", + "type": "path", + "x": 9862.07421875, + "y": 3607.859130859375 + }, + { + "action": "fight", + "action_params": "", + "id": 3, + "locked": false, + "move_mode": "dash", + "type": "path", + "x": 9860.0478515625, + "y": 3619.155029296875 + }, + { + "action": "", + "action_params": "", + "id": 4, + "move_mode": "dash", + "type": "path", + "x": 9860.0478515625, + "y": 3619.155029296875 + }, + { + "action": "", + "action_params": "", + "id": 5, + "move_mode": "dash", + "type": "path", + "x": 9869.197265625, + "y": 3629.58251953125 + }, + { + "action": "", + "action_params": "", + "id": 6, + "move_mode": "dash", + "type": "path", + "x": 9900.91015625, + "y": 3627.00537109375 + }, + { + "action": "fight", + "action_params": "", + "id": 7, + "locked": false, + "move_mode": "dash", + "type": "path", + "x": 9904.6435546875, + "y": 3608.608154296875 + }, + { + "action": "combat_script", + "action_params": "wait(1)", + "id": 8, + "move_mode": "dash", + "type": "orientation", + "x": 9904.6435546875, + "y": 3608.608154296875 + } + ] +} \ No newline at end of file diff --git a/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7312挪德卡莱月矩力设计局东.json b/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7312挪德卡莱月矩力设计局东.json new file mode 100644 index 000000000..ec48e38e3 --- /dev/null +++ b/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/1-其他/7312挪德卡莱月矩力设计局东.json @@ -0,0 +1,60 @@ +{ + "info": { + "authors": [ + { + "links": "", + "name": "mno" + } + ], + "bgi_version": "0.45.0", + "description": " 路线信息:该路线预计用时49.1秒,包含以下怪物:1只愚人众特辖队·冰雹重炮手、1只巡陆艇·近战攻坚型、2只巡陆艇·强侦地效型。", + "enable_monster_loot_split": false, + "hash_res": "75306089", + "last_modified_time": 1767370355535, + "map_match_method": "", + "map_name": "Teyvat", + "name": "7312挪德卡莱月矩力设计局东", + "tags": [], + "type": "collect", + "version": "1.0" + }, + "positions": [ + { + "action": "", + "action_params": "", + "id": 1, + "move_mode": "walk", + "type": "teleport", + "x": 9590.744140625, + "y": 3399.408935546875 + }, + { + "action": "combat_script", + "action_params": "芙宁娜 e", + "id": 2, + "move_mode": "dash", + "type": "path", + "x": 9581.0986328125, + "y": 3356.0869140625 + }, + { + "action": "fight", + "action_params": "", + "id": 3, + "locked": false, + "move_mode": "dash", + "type": "path", + "x": 9605.796875, + "y": 3378.40478515625 + }, + { + "action": "combat_script", + "action_params": "wait(1)", + "id": 4, + "move_mode": "dash", + "type": "orientation", + "x": 9605.796875, + "y": 3378.40478515625 + } + ] +} \ No newline at end of file diff --git a/repo/js/AutoHoeingOneDragon/settings/默认账户1.json b/repo/js/AutoHoeingOneDragon/settings/默认账户1.json new file mode 100644 index 000000000..7ab3a6b1b --- /dev/null +++ b/repo/js/AutoHoeingOneDragon/settings/默认账户1.json @@ -0,0 +1,20 @@ +{ + "tagsForGroup1": "蕈兽", + "tagsForGroup2": "小怪", + "tagsForGroup3": "", + "tagsForGroup4": "", + "tagsForGroup5": "", + "tagsForGroup6": "", + "tagsForGroup7": "", + "tagsForGroup8": "", + "tagsForGroup9": "", + "tagsForGroup10": "", + "disableSelfOptimization": false, + "eEfficiencyIndex": "2.5", + "mEfficiencyIndex": "0.5", + "splitFactor": "0", + "targetEliteNum": "400", + "targetMonsterNum": "1675", + "priorityTags": "", + "excludeTags": "" +} \ No newline at end of file diff --git a/repo/js/义父立本/README.md b/repo/js/义父立本/README.md new file mode 100644 index 000000000..4f6cdfb64 --- /dev/null +++ b/repo/js/义父立本/README.md @@ -0,0 +1 @@ +原则上仅用于1080p分辨率,其他分辨率能够使用纯属巧合,出现问题后果自负 \ No newline at end of file diff --git a/repo/js/义父立本/assets/RecognitionObject/F图标.png b/repo/js/义父立本/assets/RecognitionObject/F图标.png new file mode 100644 index 0000000000000000000000000000000000000000..ab9a13e8539a04c0b1205e5e692612ed7a2ff514 GIT binary patch literal 390 zcmV;10eSw3P)phAxh!!_lYk4O|_%95@I%6oh+>B4lxJ5w2uN8<40}bAwQ7 zlbW`8^f!Jazwi5!|3r++WK^5@e_hiwgpl7s2q8_=$eSsq!x*ntt4|&K{r-GD-xw9T zq9}adpH8P>kRS-Es?zI(5R_8WG&>uFFbu<=D|Wk`<2bJCa?T&pwQW0}&pRDL=x{ic zS8&b=A!(XEv~1UKu~=Mml+v3igb=bzi2Fg&>f{FR&_M`2&-?C^B*}}*0st(_`slOW zZp*Ti_f_PsJ9K$F0Kj^^{^}FQab4H1=nz5}sP6HGasU7T07*qoM6N<$f=<4*?*IS* literal 0 HcmV?d00001 diff --git a/repo/js/义父立本/assets/RecognitionObject/剧情图标.png b/repo/js/义父立本/assets/RecognitionObject/剧情图标.png new file mode 100644 index 0000000000000000000000000000000000000000..886f62789c237b1fd63b5554061b6aed4a99a520 GIT binary patch literal 798 zcmV+(1L6FMP)j-uwTR@nws>$rm3Qd)I>iNY9v~ZSc*-IjcHnwa`;KRJG+ZVJ?asx3bHhS zh+N9dYDMktkiahgLjwz|)T?TfC!5{m+26eL&df7q5=Pf6i#b^(wiJ@`5;0Vy7_yiv zQ$9*wgu-B1%sFVPp|O2z%u-^wBNro4KteJ$ZXd6E++1F%DX-LA1A&Lh^M?crpH_6aTxjyeYLsJAntSl|0PT~qz!l+DcQ|?)8bcRptZf}`} zhAZk`sMH!oXU-Iodzw0pdt6S6Bq@^gy4TWtqTrFaB8K6hXKr?yrbwD1zfMjVd)_{% zdZto0C{UGJBmaYsV?OV?dvi6(g+vU6WORA)8z6`o2LogN67G)Q-8*2eu5VJQpBB}S zhhD;s?6AH4@AR*G85*1%hD8if+)o3NCdtho%V~Z;htAcDk=1Iedf1pJp3VAvrSiL6 z%kH+Pt9ww}s(;nl=W#jHd?L*!mKJg)FV4*#!H|f#0@wV0q`dMv;(4x+jL{U(wHviM zgVj2InlCx%bIGj;2iY^O$vk{xu}XiX6bc7f)6j@kXE64d&|W~q@E6LzTZ_)n)?tJZe-?A62fF}(`*I^e z);u)QqBC^AF&*p$vzS9sKLFtGKHPTQ7z(s?7+Z7(yUqUlFq*|&(B}pK%s7~mb+cOS z)wkSd&8>QUXCLcwX8452!RFw!|12#n{sl>K>;a%eYc8 z*KJmN?W3!6-MisnsFkI;f6et=XY%7^F-HUP$@7;VKaQQBP$3VCK`h6yVz~0YP#h9Q cce^+L02*fz^8n>r>I4Ek3D;CnGzqmi zCo?$y<>D=-odky zH?ycPI#a!T*>SnVMHDPHPzsD2I@Sdpf6eq*d9vOeMhCaq_o#I?GCVSfN?O{uM+2>{ z+P*j;NqoWAVIm_&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u)4o?`RTmszoT<`~mc@gIooxL@F-bmO?S&PYiD_s^)8 zq(id+kH_||o6^bk^T~V@iE%_F4A8hp?sP=P;P01-=Jm*EFxWkVQ;3x4J7$VmZsix1 zu|l%iCn5Q~$B4xts52p1tU1mvQoX>H0i0q#yWtZwde9EF&JcP(5Ef_61iXv1QVkDi z@}n$R?Oj*je=5+YvDdbv=)pIXp6yoe9DSUX4^j9N0AzS*hPU0yp(iNbB}x(Q{@d)b;~nuZS6Nn<5mb;JR^h5sBJ8o~UGqfhEjwanjn_9piD zaIlRix{iX>^-RWJ20J0+`9qDaz(^JOwEb2YurYHRD`*UDEMBAeJJabF z8;VxdqyhK%b-=vGO_$J*H>YG~dwFH%Lh;3$fpA+Rh4LQgh)2iHEV(MAE8~If~su)Fe=%SRn zaDZ@HX~O(Lk57|Mc)<<}nhc_bkE<-PKaDB3$lwH%& z(Zs;?(Ruh2&J0$Y9s5i-6Q_aAu02AQUXMNAm)1CdyHS&?n=^vT=R!$S?{Bdl(!iKH z%FMzDaS)~F^b)8L7Wq=#{Fn2R-*VW@_DV+e{ng~ZiI;Lq19h+UlPJNs;H+N;aS^fi zW4?tB_RkRa!z2VJr+*<`r2&V5)k&0!2Hhbhe~Cpy9Ak!eYF_U=wYgh!<>oDTQCSub zg+hl$#$K;`3fk8W52r~1?JL=N<|SaAxxwzbunf+oa-j7$j9pmWuIJu!RXp<#>ke?2zg+5$6@H$l;|*Cb=pB zbM9$+vawED;co#n!a@p~*XUmw-6^~cd|WOOijkOM$b+bTm3-9Hu+|amJ~1dalt?PRCAb~Jpvxb0d9fNqvQCPf z#)03isP6%d0ndS{sJH4%+mgDY+wji|P5O#~R$UW0uGAhEoU}YF26&E30S~KaU=t8e tat&=?I%v}v8v>Dp81M@Ki^xmg$=fCqki)e}5`fk$NK;i$rAo;z`hTYm={*1d literal 0 HcmV?d00001 diff --git a/repo/js/义父立本/assets/前往立本.json b/repo/js/义父立本/assets/前往立本.json new file mode 100644 index 000000000..cb1fd1f2b --- /dev/null +++ b/repo/js/义父立本/assets/前往立本.json @@ -0,0 +1,67 @@ +{ + "info": { + "authors": [ + { + "links": "", + "name": "mno" + } + ], + "bgi_version": "0.45.0", + "description": "", + "enable_monster_loot_split": false, + "last_modified_time": 1767589093917, + "map_match_method": "", + "map_name": "Teyvat", + "name": "前往立本", + "tags": [], + "type": "collect", + "version": "1.0" + }, + "positions": [ + { + "action": "", + "action_params": "", + "id": 1, + "move_mode": "walk", + "type": "teleport", + "x": -867.68359375, + "y": 2281.378173828125 + }, + { + "action": "", + "action_params": "", + "id": 2, + "move_mode": "dash", + "type": "path", + "x": -895.017578125, + "y": 2257.43359375 + }, + { + "action": "", + "action_params": "", + "id": 3, + "move_mode": "dash", + "type": "path", + "x": -916.962890625, + "y": 2263.5703125 + }, + { + "action": "", + "action_params": "", + "id": 4, + "move_mode": "dash", + "type": "path", + "x": -934.943359375, + "y": 2253.947509765625 + }, + { + "action": "", + "action_params": "", + "id": 5, + "move_mode": "walk", + "type": "target", + "x": -936.40234375, + "y": 2254.87841796875 + } + ] +} \ No newline at end of file diff --git a/repo/js/义父立本/main.js b/repo/js/义父立本/main.js new file mode 100644 index 000000000..7b6059e58 --- /dev/null +++ b/repo/js/义父立本/main.js @@ -0,0 +1,70 @@ +let checkInterval = +settings.checkInterval || 50; +let waitTime = 40; +(async function () { + //启用自动剧情 + //dispatcher.addTimer(new RealtimeTimer("AutoSkip")); + let attempts = 0; + let success = false; + if (genshin.width !== 1920 || genshin.height !== 1080) { + log.warn("游戏窗口非 1920×1080,可能导致图像识别失败,如果执意使用可能造成异常,后果自负"); + await sleep(5000); + } + while (attempts < 3) { + attempts++; + await pathingScript.runFile(`assets/前往立本.json`); + keyPress("F"); + await sleep(2000); + while (true) { + let res1 = await findPNG("剧情图标", 1); + if (!res1) { + break; + } + keyPress("VK_SPACE"); + let res2 = await findPNG("F图标", 1); + if (res2) { + keyPress("F"); + } + await sleep(100); + } + await sleep(2000); + if (await clickPNG("确认兑换", waitTime)) { + log.info("成功进入立本"); + await sleep(1000); + click(960, 840); + success = true; + break; + } + } + + if (!success) { + log.error("3次重试均失败"); + } +})(); + +async function clickPNG(png, maxAttempts = 20) { + //log.info(`调试-点击目标${png},重试次数${maxAttempts}`); + const pngRo = RecognitionObject.TemplateMatch(file.ReadImageMatSync(`assets/RecognitionObject/${png}.png`)); + pngRo.Threshold = 0.9; + pngRo.InitTemplate(); + return await findAndClick(pngRo, true, maxAttempts); +} + +async function findPNG(png, maxAttempts = 20) { + //log.info(`调试-识别目标${png},重试次数${maxAttempts}`); + const pngRo = RecognitionObject.TemplateMatch(file.ReadImageMatSync(`assets/RecognitionObject/${png}.png`)); + pngRo.Threshold = 0.9; + pngRo.InitTemplate(); + return await findAndClick(pngRo, false, maxAttempts); +} + +async function findAndClick(target, doClick = true, maxAttempts = 60) { + for (let i = 0; i < maxAttempts; i++) { + const rg = captureGameRegion(); + try { + const res = rg.find(target); + if (res.isExist()) { await sleep(checkInterval * 2 + 50); if (doClick) { res.click(); } return true; } + } finally { rg.dispose(); } + if (i < maxAttempts - 1) await sleep(checkInterval); + } + return false; +} \ No newline at end of file diff --git a/repo/js/义父立本/manifest.json b/repo/js/义父立本/manifest.json new file mode 100644 index 000000000..b3a09b730 --- /dev/null +++ b/repo/js/义父立本/manifest.json @@ -0,0 +1,16 @@ +{ + "manifest_version": 1, + "name": "义父立本", + "version": "1.0", + "bgi_version": "0.44.8", + "description": "谢谢老板", + "saved_files": [], + "authors": [ + { + "name": "mno", + "links": "https://github.com/Bedrockx" + } + ], + "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 000000000..ced00eca2 --- /dev/null +++ b/repo/js/义父立本/settings.json @@ -0,0 +1,8 @@ +[ + { + "name": "checkInterval", + "type": "input-text", + "label": "识别间隔(毫秒),仅建议在设备反应较慢出现识别错误时适当调大", + "default": "50" + } +] \ No newline at end of file