From b5150bda06fe9d8f0188125ec2261f398b53a2cb Mon Sep 17 00:00:00 2001 From: mno <718135749@qq.com> Date: Sat, 25 Oct 2025 12:28:20 +0800 Subject: [PATCH] =?UTF-8?q?js=EF=BC=9A=E9=94=84=E5=9C=B0=E4=B8=80=E6=9D=A1?= =?UTF-8?q?=E9=BE=991.9.8=20(#2240)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1.修复了不使用模板匹配时sort方法报错的问题 2.修改路线7102,一只霜夜灵嗣超进化了 --- repo/js/AutoHoeingOneDragon/main.js | 2 +- repo/js/AutoHoeingOneDragon/manifest.json | 2 +- .../1-莫酱/0_7_挪德卡莱/7102挪德卡莱希汐岛北1.json | 11 ++++------- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/repo/js/AutoHoeingOneDragon/main.js b/repo/js/AutoHoeingOneDragon/main.js index e6952be4c..c2dc8f82e 100644 --- a/repo/js/AutoHoeingOneDragon/main.js +++ b/repo/js/AutoHoeingOneDragon/main.js @@ -526,7 +526,7 @@ async function runPath(fullPath, map_name) { } /* ===== 2. 重排 targetItems:当前路线拾取过的提前 ===== */ - if (currentPathing && currentPathing.items && currentPathing.items.length) { + if (targetItems && currentPathing && currentPathing.items && currentPathing.items.length) { // 用对象当 Set 做 O(1) 查询 const history = {}; for (let i = 0; i < currentPathing.items.length; i++) { diff --git a/repo/js/AutoHoeingOneDragon/manifest.json b/repo/js/AutoHoeingOneDragon/manifest.json index 05459e377..ff0c2d5ce 100644 --- a/repo/js/AutoHoeingOneDragon/manifest.json +++ b/repo/js/AutoHoeingOneDragon/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 1, "name": "锄地一条龙", - "version": "1.9.7", + "version": "1.9.8", "description": "一站式解决自动化锄地,支持只拾取狗粮,请仔细阅读README.md后使用", "authors": [ { diff --git a/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/0_7_挪德卡莱/7102挪德卡莱希汐岛北1.json b/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/0_7_挪德卡莱/7102挪德卡莱希汐岛北1.json index c02d31d18..b3c18d9e9 100644 --- a/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/0_7_挪德卡莱/7102挪德卡莱希汐岛北1.json +++ b/repo/js/AutoHoeingOneDragon/pathing/1-莫酱/0_7_挪德卡莱/7102挪德卡莱希汐岛北1.json @@ -1,4 +1,4 @@ -{ +{ "info": { "authors": [ { @@ -7,9 +7,9 @@ } ], "bgi_version": "0.45.0", - "description": " 路线信息:该路线预计用时110.66秒,包含以下怪物:1只凌晶·霜夜灵嗣、1只愚人众特辖队·线列军、1只愚人众特辖队·先锋士、1只愚人众特辖队·掷弹兵、1只愚人众特辖队·火刃突击队、1只愚人众特辖队·雷霰近卫军。", + "description": " 路线信息:该路线预计用时90.62秒,包含以下怪物:1只愚人众特辖队·线列军、1只愚人众特辖队·先锋士、1只愚人众特辖队·掷弹兵、1只愚人众特辖队·火刃突击队、1只愚人众特辖队·雷霰近卫军。", "enable_monster_loot_split": false, - "last_modified_time": 1757850486965, + "last_modified_time": 1761358292381, "map_match_method": "", "map_name": "Teyvat", "name": "7102挪德卡莱希汐岛北1", @@ -30,10 +30,9 @@ "y": 2277.678466796875 }, { - "action": "fight", + "action": "", "action_params": "", "id": 2, - "locked": false, "move_mode": "dash", "type": "path", "x": 10758.0146484375, @@ -61,7 +60,6 @@ "action": "fight", "action_params": "", "id": 5, - "locked": false, "move_mode": "dash", "type": "path", "x": 10735.4462890625, @@ -89,7 +87,6 @@ "action": "fight", "action_params": "", "id": 8, - "locked": false, "move_mode": "dash", "type": "path", "x": 10690.67578125,