From 53f873183f82ef83f5a39095d864ad82fa70f0f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B7=E4=B8=AA=E5=90=8D=E5=AD=97=E5=A5=BD=E9=9A=BE?= =?UTF-8?q?=E7=9A=84=E5=96=B5?= <25520958+MisakaAldrich@users.noreply.github.com> Date: Sat, 27 Sep 2025 01:19:02 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=A6=9B=E6=9C=A8=20(#2009)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- repo/js/AutoWoodcutting-Pathing/README.md | 2 +- .../挪德卡莱-月矩力试验设计局-榛木-57个.json | 301 ++++++++++++++++++ repo/js/AutoWoodcutting-Pathing/main.js | 5 +- repo/js/AutoWoodcutting-Pathing/manifest.json | 2 +- 4 files changed, 306 insertions(+), 4 deletions(-) create mode 100644 repo/js/AutoWoodcutting-Pathing/assets/AutoPath/挪德卡莱-月矩力试验设计局-榛木-57个.json diff --git a/repo/js/AutoWoodcutting-Pathing/README.md b/repo/js/AutoWoodcutting-Pathing/README.md index 87391557b..9f36e4197 100644 --- a/repo/js/AutoWoodcutting-Pathing/README.md +++ b/repo/js/AutoWoodcutting-Pathing/README.md @@ -4,7 +4,7 @@ 脚本内置的路径仅供参考,随着软件及地图的更新,可能**并非最佳**采集路径,如有更好的路径,欢迎贡献 -目前脚本已支持5.7版本之前的全部木材和6.0版本的部分木材,清单如下:`桦木 萃华木 松木 垂香木 杉木 竹节 却砂木 梦见木 枫木 孔雀木 御伽木 证悟木 业果木 辉木 刺葵木 柽木 悬铃木 椴木 白梣木 香柏木 炬木 白栗栎木 燃爆木 灰灰楼林木 桃椰子木 银冷衫木 桤木` +目前脚本已支持5.7版本之前的全部木材和6.0版本的部分木材,清单如下:`桦木 萃华木 松木 垂香木 杉木 竹节 却砂木 梦见木 枫木 孔雀木 御伽木 证悟木 业果木 辉木 刺葵木 柽木 悬铃木 椴木 白梣木 香柏木 炬木 白栗栎木 燃爆木 灰灰楼林木 桃椰子木 银冷衫木 榛木 桤木` ## 原理说明 diff --git a/repo/js/AutoWoodcutting-Pathing/assets/AutoPath/挪德卡莱-月矩力试验设计局-榛木-57个.json b/repo/js/AutoWoodcutting-Pathing/assets/AutoPath/挪德卡莱-月矩力试验设计局-榛木-57个.json new file mode 100644 index 000000000..cfca1199e --- /dev/null +++ b/repo/js/AutoWoodcutting-Pathing/assets/AutoPath/挪德卡莱-月矩力试验设计局-榛木-57个.json @@ -0,0 +1,301 @@ +{ + "info": { + "authors": [ + { + "name": "起个名字好难的喵", + "links": "https://github.com/MisakaAldrich" + } + ], + "bgi_version": "0.51.0", + "description": "", + "enable_monster_loot_split": false, + "last_modified_time": 1758905934403, + "map_match_method": "", + "map_name": "Teyvat", + "name": "挪德卡莱-月矩力试验设计局-榛木-57个", + "tags": [], + "type": "collect", + "version": "1.0" + }, + "positions": [ + { + "action": "", + "action_params": "", + "id": 1, + "move_mode": "walk", + "type": "teleport", + "x": 9874.6055, + "y": 3588.8125 + }, + { + "action": "", + "action_params": "", + "id": 2, + "move_mode": "walk", + "type": "path", + "x": 9866.1328, + "y": 3580.4534 + }, + { + "action": "", + "action_params": "", + "id": 3, + "move_mode": "fly", + "type": "path", + "x": 9840.1201, + "y": 3568.9429 + }, + { + "action": "use_gadget", + "action_params": "", + "id": 4, + "move_mode": "dash", + "type": "path", + "x": 9808.2832, + "y": 3565.4539 + }, + { + "action": "", + "action_params": "", + "id": 5, + "move_mode": "dash", + "type": "path", + "x": 9837.0391, + "y": 3506.3804 + }, + { + "action": "use_gadget", + "action_params": "", + "id": 6, + "move_mode": "dash", + "type": "path", + "x": 9830.8828, + "y": 3478.2305 + }, + { + "action": "use_gadget", + "action_params": "", + "id": 7, + "move_mode": "dash", + "type": "path", + "x": 9802.3203, + "y": 3480.2502 + }, + { + "action": "use_gadget", + "action_params": "", + "id": 8, + "move_mode": "dash", + "type": "path", + "x": 9750.7578, + "y": 3534.22 + }, + { + "action": "use_gadget", + "action_params": "", + "id": 9, + "move_mode": "dash", + "type": "path", + "x": 9733.3984, + "y": 3495.5356 + }, + { + "action": "", + "action_params": "", + "id": 10, + "move_mode": "walk", + "type": "path", + "x": 9726.8242, + "y": 3485.926 + }, + { + "action": "use_gadget", + "action_params": "", + "id": 11, + "move_mode": "dash", + "type": "path", + "x": 9758.9902, + "y": 3458.2192 + }, + { + "action": "stop_flying", + "action_params": "", + "id": 12, + "move_mode": "fly", + "type": "path", + "x": 9746.7168, + "y": 3428.2258 + }, + { + "action": "use_gadget", + "action_params": "", + "id": 13, + "move_mode": "walk", + "type": "path", + "x": 9746.7168, + "y": 3428.2258 + }, + { + "action": "", + "action_params": "", + "id": 14, + "move_mode": "walk", + "type": "path", + "x": 9740.8418, + "y": 3426.3259 + }, + { + "action": "combat_script", + "action_params": "keypress(T),wait(0.2)", + "id": 15, + "move_mode": "walk", + "type": "orientation", + "x": 9701.3691, + "y": 3444.6226 + }, + { + "action": "use_gadget", + "action_params": "", + "id": 16, + "move_mode": "walk", + "type": "path", + "x": 9701.3691, + "y": 3444.6226 + }, + { + "action": "", + "action_params": "", + "id": 17, + "move_mode": "walk", + "type": "teleport", + "x": 9590.4863, + "y": 3399.0759 + }, + { + "action": "use_gadget", + "action_params": "", + "id": 18, + "move_mode": "dash", + "type": "path", + "x": 9565.8916, + "y": 3385.6265 + }, + { + "action": "use_gadget", + "action_params": "", + "id": 19, + "move_mode": "walk", + "type": "path", + "x": 9563.5029, + "y": 3369.2168 + }, + { + "action": "use_gadget", + "action_params": "", + "id": 20, + "move_mode": "dash", + "type": "path", + "x": 9543.2051, + "y": 3328.5415 + }, + { + "action": "use_gadget", + "action_params": "", + "id": 21, + "move_mode": "dash", + "type": "path", + "x": 9587.8047, + "y": 3324.0654 + }, + { + "action": "", + "action_params": "", + "id": 22, + "move_mode": "dash", + "type": "path", + "x": 9612.6943, + "y": 3320.3975 + }, + { + "action": "use_gadget", + "action_params": "", + "id": 23, + "move_mode": "jump", + "type": "path", + "x": 9626.1426, + "y": 3319.2527 + }, + { + "action": "", + "action_params": "", + "id": 24, + "move_mode": "walk", + "type": "path", + "x": 9630.6855, + "y": 3329.0168 + }, + { + "action": "use_gadget", + "action_params": "", + "id": 25, + "move_mode": "walk", + "type": "path", + "x": 9631.0332, + "y": 3339.2024 + }, + { + "action": "", + "action_params": "", + "id": 26, + "move_mode": "dash", + "type": "path", + "x": 9657.8467, + "y": 3326.4319 + }, + { + "action": "stop_flying", + "action_params": "1500", + "id": 27, + "move_mode": "fly", + "type": "path", + "x": 9692.1211, + "y": 3346.679 + }, + { + "action": "use_gadget", + "action_params": "", + "id": 28, + "move_mode": "walk", + "type": "path", + "x": 9692.1787, + "y": 3346.676 + }, + { + "action": "", + "action_params": "", + "id": 29, + "move_mode": "walk", + "type": "path", + "x": 9681.3711, + "y": 3369.5923 + }, + { + "action": "use_gadget", + "action_params": "", + "id": 30, + "move_mode": "walk", + "type": "path", + "x": 9662.9453, + "y": 3364.3254 + }, + { + "action": "use_gadget", + "action_params": "", + "id": 31, + "move_mode": "walk", + "type": "path", + "x": 9657.7617, + "y": 3378.7139 + } + ] +} \ No newline at end of file diff --git a/repo/js/AutoWoodcutting-Pathing/main.js b/repo/js/AutoWoodcutting-Pathing/main.js index aa5da2c22..270e6e20b 100644 --- a/repo/js/AutoWoodcutting-Pathing/main.js +++ b/repo/js/AutoWoodcutting-Pathing/main.js @@ -1,6 +1,6 @@ (async function () { - const woodType = ["桦木", "萃华木", "松木", "垂香木", "杉木", "竹节", "却砂木", "梦见木", "枫木", "孔雀木", "御伽木", "证悟木", "业果木", "辉木", "刺葵木", "柽木", "悬铃木", "椴木", "白梣木", "香柏木", "炬木", "白栗栎木", "燃爆木", "灰灰楼林木", "桃椰子木", "银冷杉木","桤木"]; - const singleWoodType = ["桦木", "萃华木", "松木", "杉木", "竹节", "却砂木", "梦见木", "枫木", "孔雀木", "御伽木", "证悟木", "业果木", "辉木", "刺葵木", "柽木", "白梣木", "炬木", "白栗栎木", "燃爆木", "灰灰楼林木", "桃椰子木", "银冷杉木","桤木"]; + const woodType = ["桦木", "萃华木", "松木", "却砂木", "竹节", "垂香木", "杉木", "梦见木", "枫木", "孔雀木", "御伽木", "辉木", "业果木", "证悟木", "刺葵木", "柽木", "悬铃木", "椴木", "白梣木", "香柏木", "炬木", "白栗栎木", "灰灰楼林木", "燃爆木", "桃椰子木", "银冷杉木", "榛木", "桤木"]; + const singleWoodType = ["桦木", "萃华木", "松木", "杉木", "竹节", "却砂木", "梦见木", "枫木", "孔雀木", "御伽木", "证悟木", "业果木", "辉木", "刺葵木", "柽木", "白梣木", "炬木", "白栗栎木", "燃爆木", "灰灰楼林木", "桃椰子木", "银冷杉木", "榛木", "桤木"]; const woodNumberMap = new Map(woodType.map(key => [key, 0])); let woodNumberMapCopy = new Map(); @@ -381,6 +381,7 @@ '燃爆木': { fileName: ['纳塔-隆崛坡-燃爆木-54个'] }, '桃椰子木': { fileName: ['纳塔-浮土静界-桃椰子木-0个(大循环)', '纳塔-浮土静界-桃椰子木-36个(循环)'], folderName: '纳塔-桃椰子木' }, '银冷杉木': { fileName: ['挪德卡莱-霜月之坊-银冷杉木-54个'] }, + '榛木': { fileName: ['挪德卡莱-月矩力试验设计局-榛木-57个'] }, '桤木': { fileName: ['挪德卡莱-伦波岛-桤木-87个'] } }; diff --git a/repo/js/AutoWoodcutting-Pathing/manifest.json b/repo/js/AutoWoodcutting-Pathing/manifest.json index e0e42a60c..8df79a18b 100644 --- a/repo/js/AutoWoodcutting-Pathing/manifest.json +++ b/repo/js/AutoWoodcutting-Pathing/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 1, "name": "自动伐木-地图追踪版", - "version": "2.1.3", + "version": "2.1.4", "description": "基于地图追踪的自动伐木,已支持5.7版本前的全部木材\n默认砍伐全部支持木材至2000上限\n自定义设置:\n-可更改砍伐木材种类和数量\n-可以单独设置每个木材数量\n-可设置队伍中是否包含一斗,按保底20%,计算砍伐数量时会除以1.2", "bgi_version": "0.51.0", "tags": [