diff --git a/repo/js/AutoHoeingOneDragon/README.md b/repo/js/AutoHoeingOneDragon/README.md index a569c0cc..35fa2e66 100644 --- a/repo/js/AutoHoeingOneDragon/README.md +++ b/repo/js/AutoHoeingOneDragon/README.md @@ -38,6 +38,7 @@ - **选择执行第几个路径组:** 本js会分组运行地图追踪,分组方式详见后续选项,需要分组运行时请确保精英目标数量,小怪目标数量,各个路径组的标签等信息【完全相同】,复制配置组时未知原因无法正确复制配置,请不要使用 - **本路径组使用配队名称:** 填写该路径组使用的配队名称,js会自动切换 - **拾取模式:** 本js采用黑白名单结合的方式实现仅拾取部分物品(默认只拾取狗粮和晶蝶),如果你想要使用bgi默认的拾取以拾取绝大部分物品,请选择bgi拾取,如果不想拾取任何物品,请选择不拾取任何物品 + - **泥头车模式(实验性功能):** 接近战斗地点(距离5-30)时,提前让指定序号的角色开e,建议以下角色开启:芙宁娜,爱可菲,雷电将军。警告,可能会增加性能开销和降低稳定性。 - **账户名称:** 本js支持多用户,不同账户的记录分开存储,当你需要使用多用户时,请在这里填写不同的文本来区分不同账号的记录,如果你只使用一个账号,请不要修改该选项 - **路径组x标签:** 本js使用不同的标签来禁用或分组路线,多个标签之间使用中文逗号分隔,目前支持的标签如下 - - 水免:表明路线含有水元素伤害免疫的怪物,使用以水元素伤害为主的队伍处理该路线时可能较为麻烦 @@ -71,6 +72,10 @@ --- ### 更新日志 +### 1.1.8(2025.07.13) +1. 新增实验功能:泥头车模式 +2. 新增部分路线 +3. 优化了自定义配置的部分界面 ### 1.1.7(2025.07.13) 1. 获取结束坐标添加独立地图处理 2. 含有传奇或高危标签的路线将不再被视为小怪路线 diff --git a/repo/js/AutoHoeingOneDragon/assets/分层路线/1-分层精英/418须弥沙漠三运河之地(600_1,200_2).json b/repo/js/AutoHoeingOneDragon/assets/分层路线/1-分层精英/418须弥沙漠三运河之地(600_1,200_2).json new file mode 100644 index 00000000..cda940f0 --- /dev/null +++ b/repo/js/AutoHoeingOneDragon/assets/分层路线/1-分层精英/418须弥沙漠三运河之地(600_1,200_2).json @@ -0,0 +1,79 @@ +{ + "info": { + "name": "418须弥沙漠三运河之地(600_1,200_2)", + "type": "collect", + "author": "汐", + "version": "1.0", + "description": " 路线信息:该路线预计用时94.26秒,包含3只精英与2只小怪,预计收入1081摩拉,包含以下怪物:1只遗迹重机、2只遗迹巡弋者、2只伸缩风蕈兽。", + "map_name": "Teyvat", + "bgi_version": "0.45.0", + "tags": [], + "last_modified_time": 1751479769882 + }, + "positions": [ + { + "id": 1, + "x": 5173.60302734375, + "y": -498.49169921875, + "action": "", + "move_mode": "walk", + "action_params": "", + "type": "teleport" + }, + { + "id": 2, + "x": 5162.541015625, + "y": -514.2607421875, + "action": "stop_flying", + "move_mode": "fly", + "action_params": "", + "type": "path" + }, + { + "id": 3, + "x": 5152.812393347761, + "y": -527.9367269438635, + "action": "fight", + "move_mode": "dash", + "action_params": "", + "type": "path" + }, + { + "id": 4, + "x": 5146.248356765498, + "y": -541.2507882140999, + "action": "", + "move_mode": "dash", + "action_params": "", + "type": "path" + }, + { + "id": 5, + "x": 5139.562377547429, + "y": -550.8127273694517, + "action": "", + "move_mode": "jump", + "action_params": "", + "type": "path" + }, + { + "id": 6, + "x": 5109.09765625, + "y": -590.34765625, + "type": "path", + "move_mode": "dash", + "action": "fight", + "action_params": "", + "locked": false + }, + { + "id": 7, + "x": 5109.09765625, + "y": -590.34765625, + "type": "orientation", + "move_mode": "dash", + "action": "combat_script", + "action_params": "wait(1)" + } + ] +} \ No newline at end of file diff --git a/repo/js/AutoHoeingOneDragon/assets/分层路线/1-分层精英/419须弥沙漠巨人峡谷西北(600_1).json b/repo/js/AutoHoeingOneDragon/assets/分层路线/1-分层精英/419须弥沙漠巨人峡谷西北(600_1).json new file mode 100644 index 00000000..46c2c2fe --- /dev/null +++ b/repo/js/AutoHoeingOneDragon/assets/分层路线/1-分层精英/419须弥沙漠巨人峡谷西北(600_1).json @@ -0,0 +1,61 @@ +{ + "info": { + "name": "419须弥沙漠巨人峡谷西北(600_1)", + "type": "collect", + "author": "汐", + "version": "1.0", + "description": " 路线信息:该路线预计用时80.71秒,包含1只精英,预计收入600摩拉,包含以下怪物:1只遗迹重机。", + "map_name": "Teyvat", + "bgi_version": "0.45.0", + "tags": [], + "last_modified_time": 1751456889673 + }, + "positions": [ + { + "id": 1, + "action": "", + "move_mode": "walk", + "type": "teleport", + "x": 5485.2216796875, + "y": -1240.50732421875, + "action_params": "" + }, + { + "id": 2, + "x": 5473.3095703125, + "y": -1220.8349609375, + "type": "path", + "move_mode": "fly", + "action": "", + "action_params": "" + }, + { + "id": 3, + "x": 5438.2685546875, + "y": -1147.1142578125, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 4, + "x": 5458.98388671875, + "y": -1116.6484375, + "type": "path", + "move_mode": "dash", + "action": "fight", + "action_params": "", + "locked": false + }, + { + "id": 5, + "x": 5458.98388671875, + "y": -1116.6484375, + "type": "orientation", + "move_mode": "dash", + "action": "combat_script", + "action_params": "wait(1)" + } + ] +} \ No newline at end of file diff --git a/repo/js/AutoHoeingOneDragon/assets/分层路线/1-分层精英/420须弥沙漠折胫谷(600_1,200_1).json b/repo/js/AutoHoeingOneDragon/assets/分层路线/1-分层精英/420须弥沙漠折胫谷(600_1,200_1).json new file mode 100644 index 00000000..9e1c5a8e --- /dev/null +++ b/repo/js/AutoHoeingOneDragon/assets/分层路线/1-分层精英/420须弥沙漠折胫谷(600_1,200_1).json @@ -0,0 +1,115 @@ +{ + "info": { + "name": "420须弥沙漠折胫谷(600_1,200_1)", + "type": "collect", + "author": "汐", + "version": "1.0", + "description": "", + "map_name": "Teyvat", + "bgi_version": "0.45.0", + "tags": [], + "last_modified_time": 1751480779042 + }, + "positions": [ + { + "id": 1, + "x": 5686.673828125, + "y": -706.03369140625, + "action": "", + "move_mode": "walk", + "action_params": "", + "type": "teleport" + }, + { + "id": 2, + "x": 5692.84130859375, + "y": -703.3740234375, + "action": "", + "move_mode": "climb", + "action_params": "", + "type": "path" + }, + { + "id": 3, + "x": 5713.61767578125, + "y": -728.20556640625, + "action": "", + "move_mode": "dash", + "action_params": "", + "type": "path" + }, + { + "id": 4, + "x": 5718.09765625, + "y": -753.36474609375, + "action": "", + "move_mode": "dash", + "action_params": "", + "type": "path" + }, + { + "id": 5, + "x": 5723.87255859375, + "y": -788.5927734375, + "action": "combat_script", + "move_mode": "walk", + "action_params": "keypress(t)", + "type": "orientation" + }, + { + "id": 6, + "x": 5770.123046875, + "y": -835.1923828125, + "action": "stop_flying", + "move_mode": "fly", + "action_params": "", + "type": "path" + }, + { + "id": 7, + "x": 5810.6689453125, + "y": -849.20166015625, + "action": "", + "move_mode": "dash", + "action_params": "", + "type": "path" + }, + { + "id": 8, + "x": 5849.812456549088, + "y": -848.4378789490866, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 9, + "x": 5885.3818359375, + "y": -847.77978515625, + "type": "path", + "move_mode": "fly", + "action": "stop_flying", + "action_params": "" + }, + { + "id": 10, + "x": 5889.8935546875, + "y": -882.19287109375, + "type": "path", + "move_mode": "dash", + "action": "fight", + "action_params": "", + "locked": false + }, + { + "id": 11, + "x": 5889.8935546875, + "y": -882.19287109375, + "type": "orientation", + "move_mode": "dash", + "action": "combat_script", + "action_params": "wait(1)" + } + ] +} \ No newline at end of file diff --git a/repo/js/AutoHoeingOneDragon/assets/分层路线/1-分层精英/421须弥沙漠王者之城(600_1,200_2).json b/repo/js/AutoHoeingOneDragon/assets/分层路线/1-分层精英/421须弥沙漠王者之城(600_1,200_2).json new file mode 100644 index 00000000..44700b89 --- /dev/null +++ b/repo/js/AutoHoeingOneDragon/assets/分层路线/1-分层精英/421须弥沙漠王者之城(600_1,200_2).json @@ -0,0 +1,105 @@ +{ + "info": { + "name": "421须弥沙漠王者之城(600_1,200_2)", + "type": "collect", + "author": "汐", + "version": "1.0", + "description": " 路线信息:该路线预计用时107.69秒,包含3只精英与8只小怪,预计收入1324摩拉,包含以下怪物:1只丘丘人、5只打手丘丘人、2只射手丘丘人、1只火斧丘丘暴徒、1只丘丘岩盔王、1只火深渊法师。", + "map_name": "Teyvat", + "bgi_version": "0.45.0", + "tags": [], + "last_modified_time": 1751469270343 + }, + "positions": [ + { + "id": 1, + "x": 4424.97802734375, + "y": -739.78125, + "action": "", + "move_mode": "walk", + "action_params": "", + "type": "teleport" + }, + { + "id": 2, + "x": 4431.50439453125, + "y": -766.1884765625, + "action": "", + "move_mode": "dash", + "action_params": "", + "type": "path" + }, + { + "id": 3, + "x": 4436.07373046875, + "y": -785.423828125, + "action": "fight", + "move_mode": "dash", + "action_params": "", + "type": "path" + }, + { + "id": 4, + "x": 4454.01318359375, + "y": -797.76513671875, + "action": "", + "move_mode": "dash", + "action_params": "", + "type": "path" + }, + { + "id": 5, + "x": 4467.8818359375, + "y": -822.849609375, + "action": "", + "move_mode": "dash", + "action_params": "", + "type": "path" + }, + { + "id": 6, + "x": 4478.61376953125, + "y": -834.0859375, + "action": "", + "move_mode": "dash", + "action_params": "", + "type": "path" + }, + { + "id": 7, + "x": 4510.54248046875, + "y": -845.4658203125, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 8, + "x": 4521.109375, + "y": -841.2158203125, + "type": "path", + "move_mode": "dash", + "action": "combat_script", + "action_params": "attack(0.3)" + }, + { + "id": 9, + "x": 4548.60986328125, + "y": -811.35546875, + "action": "fight", + "move_mode": "dash", + "action_params": "", + "type": "path" + }, + { + "id": 10, + "x": 4548.60986328125, + "y": -811.35546875, + "action": "combat_script", + "move_mode": "dash", + "action_params": "wait(1)", + "type": "orientation" + } + ] +} \ No newline at end of file diff --git a/repo/js/AutoHoeingOneDragon/assets/分层路线/1-分层精英/422须弥沙漠赤王陵西北岩窟中层(600_1,200_1).json b/repo/js/AutoHoeingOneDragon/assets/分层路线/1-分层精英/422须弥沙漠赤王陵西北岩窟中层(600_1,200_1).json new file mode 100644 index 00000000..9d75994a --- /dev/null +++ b/repo/js/AutoHoeingOneDragon/assets/分层路线/1-分层精英/422须弥沙漠赤王陵西北岩窟中层(600_1,200_1).json @@ -0,0 +1,98 @@ +{ + "info": { + "name": "422须弥沙漠赤王陵西北岩窟中层(600_1,200_1)", + "type": "collect", + "author": "汐", + "version": "1.0", + "description": " 路线信息:该路线预计用时99.27秒,包含2只精英与2只小怪,预计收入881摩拉,包含以下怪物:1只丘丘人、1只打手丘丘人、1只丘丘岩盔王、1只元能构装体·重塑仪。", + "map_name": "Teyvat", + "bgi_version": "0.45.0", + "tags": [], + "last_modified_time": 1751460532770 + }, + "positions": [ + { + "id": 1, + "action": "", + "move_mode": "walk", + "type": "teleport", + "x": 5538.67919921875, + "y": -2051.5517578125, + "action_params": "" + }, + { + "id": 2, + "x": 5527.91455078125, + "y": -2042.0283203125, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 3, + "x": 5539.505859375, + "y": -2020.0107421875, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 4, + "x": 5538.3837890625, + "y": -2031.5341796875, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 5, + "x": 5528.21484375, + "y": -2036.56591796875, + "type": "path", + "move_mode": "dash", + "action": "fight", + "action_params": "", + "locked": false + }, + { + "id": 6, + "x": 5496.94775390625, + "y": -2048.9765625, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 7, + "x": 5461.22900390625, + "y": -2066.875, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 8, + "x": 5435.7890625, + "y": -2092.107421875, + "type": "path", + "move_mode": "dash", + "action": "fight", + "action_params": "", + "locked": false + }, + { + "id": 9, + "x": 5435.7890625, + "y": -2092.107421875, + "type": "orientation", + "move_mode": "dash", + "action": "combat_script", + "action_params": "wait(1)" + } + ] +} \ No newline at end of file diff --git a/repo/js/AutoHoeingOneDragon/assets/分层路线/1-分层精英/423须弥沙漠赤王陵东岩窟(600_1,200_1).json b/repo/js/AutoHoeingOneDragon/assets/分层路线/1-分层精英/423须弥沙漠赤王陵东岩窟(600_1,200_1).json new file mode 100644 index 00000000..977f5b93 --- /dev/null +++ b/repo/js/AutoHoeingOneDragon/assets/分层路线/1-分层精英/423须弥沙漠赤王陵东岩窟(600_1,200_1).json @@ -0,0 +1,123 @@ +{ + "info": { + "name": "423须弥沙漠赤王陵东岩窟(600_1,200_1)", + "type": "collect", + "author": "汐", + "version": "1.0", + "description": " 路线信息:该路线预计用时113.42秒,包含2只精英与1只小怪,预计收入840.5摩拉,包含以下怪物:1只丘丘岩盔王、1只元能构装体·勘探机、1只旋转火蕈兽。", + "map_name": "Teyvat", + "bgi_version": "0.45.0", + "tags": [], + "last_modified_time": 1751469624019 + }, + "positions": [ + { + "id": 1, + "x": 5383.056640625, + "y": -2456.3984375, + "action": "", + "move_mode": "walk", + "action_params": "", + "type": "teleport" + }, + { + "id": 2, + "x": 5382.50048828125, + "y": -2495.154296875, + "action": "", + "move_mode": "dash", + "action_params": "", + "type": "path" + }, + { + "id": 3, + "x": 5411.2470703125, + "y": -2523.923828125, + "action": "", + "move_mode": "dash", + "action_params": "", + "type": "path" + }, + { + "id": 4, + "x": 5398.5205078125, + "y": -2556.9306640625, + "action": "fight", + "move_mode": "dash", + "action_params": "", + "type": "path" + }, + { + "id": 5, + "x": 5381.80078125, + "y": -2589.697265625, + "action": "", + "move_mode": "dash", + "action_params": "", + "type": "path" + }, + { + "id": 6, + "x": 5351.478515625, + "y": -2606.2021484375, + "action": "combat_script", + "move_mode": "walk", + "action_params": "keypress(t),wait(0.3),keypress(t),wait(0.3),keypress(t)", + "type": "orientation" + }, + { + "id": 7, + "x": 5344.31005859375, + "y": -2609.97265625, + "action": "", + "move_mode": "walk", + "action_params": "", + "type": "path" + }, + { + "id": 8, + "x": 5317.9248046875, + "y": -2631.1796875, + "action": "combat_script", + "move_mode": "walk", + "action_params": "keypress(t),wait(0.3),keypress(t),wait(0.3),keypress(t)", + "type": "orientation" + }, + { + "id": 9, + "x": 5316.37451171875, + "y": -2637.859375, + "type": "path", + "move_mode": "walk", + "action": "", + "action_params": "" + }, + { + "id": 10, + "x": 5308.79296875, + "y": -2666.734375, + "action": "combat_script", + "move_mode": "walk", + "action_params": "keypress(t),wait(0.3),keypress(t),wait(0.3),keypress(t)", + "type": "orientation" + }, + { + "id": 11, + "x": 5299.78369140625, + "y": -2724.634765625, + "action": "fight", + "move_mode": "dash", + "action_params": "", + "type": "path" + }, + { + "id": 12, + "x": 5299.78369140625, + "y": -2724.634765625, + "action": "combat_script", + "move_mode": "dash", + "action_params": "wait(1)", + "type": "orientation" + } + ] +} \ No newline at end of file diff --git a/repo/js/AutoHoeingOneDragon/assets/分层路线/1-分层精英/424须弥鸡哥(600_1,200_3).json b/repo/js/AutoHoeingOneDragon/assets/分层路线/1-分层精英/424须弥鸡哥(600_1,200_3).json new file mode 100644 index 00000000..115ea299 --- /dev/null +++ b/repo/js/AutoHoeingOneDragon/assets/分层路线/1-分层精英/424须弥鸡哥(600_1,200_3).json @@ -0,0 +1,105 @@ +{ + "info": { + "name": "424须弥鸡哥(600_1,200_3)", + "type": "collect", + "author": "汐", + "version": "1.0", + "description": " 路线信息:该路线预计用时121秒,包含4只精英与2只小怪,预计收入1281摩拉,包含以下怪物:1只遗迹重机、2只遗迹歼击者、1只遗迹侦察者、2只旋转雷蕈兽。", + "map_name": "Teyvat", + "bgi_version": "0.45.0", + "tags": [], + "last_modified_time": 1751390103711 + }, + "positions": [ + { + "id": 1, + "x": 3932.162109375, + "y": -161.62353515625, + "action": "", + "move_mode": "walk", + "action_params": "", + "type": "teleport" + }, + { + "id": 2, + "x": 3932.2109375, + "y": -192.3134765625, + "action": "", + "move_mode": "dash", + "action_params": "", + "type": "path" + }, + { + "id": 3, + "x": 3923.1650390625, + "y": -225.3037109375, + "action": "combat_script", + "move_mode": "dash", + "action_params": "keypress(f);芙宁娜 e;爱可菲 e;钟离 a(0.1),e(hold),q;茜特菈莉 e,q;莱依拉 e;attack(4.5)", + "type": "path" + }, + { + "id": 4, + "x": 3936.3896484375, + "y": -237.6181640625, + "action": "", + "move_mode": "dash", + "action_params": "", + "type": "path" + }, + { + "id": 5, + "x": 3946.9375, + "y": -276.9072265625, + "action": "fight", + "move_mode": "dash", + "action_params": "", + "type": "path" + }, + { + "id": 6, + "x": 3942.4580078125, + "y": -262.28076171875, + "action": "", + "move_mode": "dash", + "action_params": "", + "type": "path" + }, + { + "id": 7, + "x": 3945.248046875, + "y": -250.9130859375, + "action": "", + "move_mode": "dash", + "action_params": "", + "type": "path" + }, + { + "id": 8, + "x": 3958.0576171875, + "y": -243.4267578125, + "action": "", + "move_mode": "dash", + "action_params": "", + "type": "path" + }, + { + "id": 9, + "x": 3974.890625, + "y": -249.2548828125, + "action": "fight", + "move_mode": "dash", + "action_params": "", + "type": "path" + }, + { + "id": 10, + "x": 3974.890625, + "y": -249.2548828125, + "action": "combat_script", + "move_mode": "dash", + "action_params": "wait(1)", + "type": "orientation" + } + ] +} \ No newline at end of file diff --git a/repo/js/AutoHoeingOneDragon/assets/分层路线/1-分层精英/425须弥鸡哥南(400_1,200_3).json b/repo/js/AutoHoeingOneDragon/assets/分层路线/1-分层精英/425须弥鸡哥南(400_1,200_3).json new file mode 100644 index 00000000..aee43fe4 --- /dev/null +++ b/repo/js/AutoHoeingOneDragon/assets/分层路线/1-分层精英/425须弥鸡哥南(400_1,200_3).json @@ -0,0 +1,214 @@ +{ + "info": { + "name": "425须弥鸡哥南(400_1,200_3)", + "type": "collect", + "author": "汐", + "version": "1.0", + "description": " 路线信息:该路线预计用时184.56秒,包含104只精英,预计收入21000摩拉,包含以下怪物:1只嗜雷·兽境幼兽、1只嗜雷·兽境猎犬、1只愚人众·藏镜仕女、1只遗迹龙兽·空巡。", + "map_name": "Teyvat", + "bgi_version": "0.45.0", + "tags": [], + "last_modified_time": 1751474053225 + }, + "positions": [ + { + "id": 1, + "x": 4045.3974609375, + "y": -240.75146484375, + "action": "", + "move_mode": "walk", + "action_params": "", + "type": "teleport" + }, + { + "id": 2, + "x": 4024.291015625, + "y": -250.07861328125, + "action": "", + "move_mode": "dash", + "action_params": "", + "type": "path" + }, + { + "id": 3, + "x": 3974.41015625, + "y": -273.60791015625, + "action": "stop_flying", + "move_mode": "fly", + "action_params": "1800", + "type": "path" + }, + { + "id": 4, + "x": 3934.437466424295, + "y": -288.03127273694554, + "action": "combat_script", + "move_mode": "dash", + "action_params": "attack(0.3),wait(2.5)", + "type": "path" + }, + { + "id": 5, + "x": 3938.68756715141, + "y": -288.53122726305446, + "action": "fight", + "move_mode": "climb", + "action_params": "", + "type": "path" + }, + { + "id": 6, + "x": 3916.8212890625, + "y": -308.85888671875, + "action": "", + "move_mode": "fly", + "action_params": "", + "type": "path" + }, + { + "id": 7, + "x": 3889.0966796875, + "y": -295.9599609375, + "action": "", + "move_mode": "dash", + "action_params": "", + "type": "path" + }, + { + "id": 8, + "x": 3899.921875, + "y": -267.03076171875, + "action": "combat_script", + "move_mode": "dash", + "action_params": "wait(1)", + "type": "path" + }, + { + "id": 9, + "x": 3899.921875, + "y": -267.03076171875, + "action": "fight", + "move_mode": "dash", + "action_params": "", + "type": "path" + }, + { + "id": 10, + "x": 3854.8120812912093, + "y": -307.49959073498667, + "action": "", + "move_mode": "dash", + "action_params": "", + "type": "path" + }, + { + "id": 11, + "x": 3841.5830078125, + "y": -302.87548828125, + "action": "", + "move_mode": "climb", + "action_params": "", + "type": "path" + }, + { + "id": 12, + "x": 3844.2919921875, + "y": -303.09423828125, + "action": "", + "move_mode": "climb", + "action_params": "", + "type": "target" + }, + { + "id": 13, + "x": 3847.1455078125, + "y": -301.9521484375, + "action": "", + "move_mode": "climb", + "action_params": "", + "type": "path" + }, + { + "id": 14, + "x": 3853.4140625, + "y": -308.47021484375, + "action": "", + "move_mode": "climb", + "action_params": "", + "type": "path" + }, + { + "id": 15, + "x": 3870.28125, + "y": -321.52880859375, + "action": "stop_flying", + "move_mode": "fly", + "action_params": "", + "type": "path" + }, + { + "id": 16, + "x": 3867.3330078125, + "y": -335.99560546875, + "action": "combat_script", + "move_mode": "jump", + "action_params": "attack(0.2)", + "type": "path" + }, + { + "id": 17, + "x": 3859.499976299503, + "y": -362.56228778851164, + "action": "", + "move_mode": "dash", + "action_params": "", + "type": "path" + }, + { + "id": 18, + "x": 3884.525390625, + "y": -366.38525390625, + "action": "combat_script", + "move_mode": "walk", + "action_params": "keypress(t),wait(0.2),keypress(t),wait(0.2),keypress(t)", + "type": "orientation", + "locked": false + }, + { + "id": 19, + "x": 3884.525390625, + "y": -366.38525390625, + "action": "", + "move_mode": "dash", + "action_params": "", + "type": "path" + }, + { + "id": 20, + "x": 3899.8046875, + "y": -374.6044921875, + "action": "stop_flying", + "move_mode": "fly", + "action_params": "", + "type": "path" + }, + { + "id": 21, + "x": 3943.0556640625, + "y": -381.1865234375, + "action": "fight", + "move_mode": "dash", + "action_params": "", + "type": "path" + }, + { + "id": 22, + "x": 3943.0556640625, + "y": -381.1865234375, + "action": "combat_script", + "move_mode": "walk", + "action_params": "wait(1)", + "type": "orientation" + } + ] +} \ No newline at end of file diff --git a/repo/js/AutoHoeingOneDragon/assets/分层路线/1-分层精英/426须弥童梦的切片(200_3).json b/repo/js/AutoHoeingOneDragon/assets/分层路线/1-分层精英/426须弥童梦的切片(200_3).json new file mode 100644 index 00000000..715c3ab8 --- /dev/null +++ b/repo/js/AutoHoeingOneDragon/assets/分层路线/1-分层精英/426须弥童梦的切片(200_3).json @@ -0,0 +1,52 @@ +{ + "info": { + "name": "426须弥童梦的切片(200_3)", + "type": "collect", + "author": "汐", + "version": "1.0", + "description": " 路线信息:该路线预计用时55.33秒,包含3只精英,预计收入600摩拉,包含以下怪物:1只遗迹巡弋者、1只遗迹歼击者、1只遗迹防卫者。", + "map_name": "Teyvat", + "bgi_version": "0.45.0", + "tags": [], + "last_modified_time": 1751396573803 + }, + "positions": [ + { + "id": 1, + "action": "", + "move_mode": "walk", + "type": "teleport", + "x": 3349.1943359375, + "y": -824.44384765625, + "action_params": "" + }, + { + "id": 2, + "x": 3341.642578125, + "y": -836.873046875, + "type": "path", + "move_mode": "fly", + "action": "combat_script", + "action_params": "wait(0.3),j,wait(1.5),attack(0.2)" + }, + { + "id": 3, + "x": 3331.478515625, + "y": -829.3427734375, + "type": "path", + "move_mode": "dash", + "action": "fight", + "action_params": "", + "locked": false + }, + { + "id": 4, + "x": 3331.478515625, + "y": -829.3427734375, + "type": "orientation", + "move_mode": "dash", + "action": "combat_script", + "action_params": "wait(1)" + } + ] +} \ No newline at end of file diff --git a/repo/js/AutoHoeingOneDragon/assets/分层路线/1-分层精英/427【高危】须弥童梦的切片(600_1).json b/repo/js/AutoHoeingOneDragon/assets/分层路线/1-分层精英/427【高危】须弥童梦的切片(600_1).json new file mode 100644 index 00000000..87413bff --- /dev/null +++ b/repo/js/AutoHoeingOneDragon/assets/分层路线/1-分层精英/427【高危】须弥童梦的切片(600_1).json @@ -0,0 +1,205 @@ +{ + "info": { + "name": "427【高危】须弥童梦的切片(600_1)", + "type": "collect", + "author": "汐", + "version": "1.0", + "description": " 路线信息:该路线预计用时368.66秒,包含101只精英与2只小怪,预计收入20721.5摩拉,包含以下怪物:1只丘丘雷兜王、1只旋转雷蕈兽、1只有翼草本真蕈。", + "map_name": "Teyvat", + "bgi_version": "0.45.0", + "tags": [], + "last_modified_time": 1751471190387 + }, + "positions": [ + { + "id": 1, + "x": 3202.12890625, + "y": -911.72509765625, + "action": "", + "move_mode": "walk", + "action_params": "", + "type": "teleport" + }, + { + "id": 2, + "x": 3259.708984375, + "y": -895.095703125, + "action": "", + "move_mode": "dash", + "action_params": "", + "type": "path" + }, + { + "id": 3, + "x": 3290.8046875, + "y": -894.0927734375, + "action": "stop_flying", + "move_mode": "fly", + "action_params": "1000", + "type": "path" + }, + { + "id": 4, + "x": 3299.16015625, + "y": -903.21728515625, + "action": "", + "move_mode": "climb", + "action_params": "", + "type": "path" + }, + { + "id": 5, + "x": 3299.16015625, + "y": -903.21728515625, + "action": "", + "move_mode": "climb", + "action_params": "", + "type": "target" + }, + { + "id": 6, + "x": 3295.9267578125, + "y": -907.69873046875, + "action": "", + "move_mode": "climb", + "action_params": "", + "type": "target" + }, + { + "id": 7, + "x": 3295.9267578125, + "y": -907.69873046875, + "action": "combat_script", + "move_mode": "walk", + "action_params": "keypress(x),wait(0.2),keypress(x),wait(0.2),keypress(x)", + "type": "orientation" + }, + { + "id": 8, + "x": 3292.53515625, + "y": -913.4716796875, + "action": "", + "move_mode": "walk", + "action_params": "", + "type": "path" + }, + { + "id": 9, + "x": 3275.6669921875, + "y": -920.248046875, + "action": "combat_script", + "move_mode": "dash", + "action_params": "w(2.5)", + "type": "orientation", + "locked": false + }, + { + "id": 10, + "x": 3275.6669921875, + "y": -920.248046875, + "action": "", + "move_mode": "dash", + "action_params": "", + "type": "path" + }, + { + "id": 11, + "x": 3261.5341796875, + "y": -903.16552734375, + "action": "combat_script", + "move_mode": "fly", + "action_params": "wait(0.3),j,wait(1.8),j", + "type": "path" + }, + { + "id": 12, + "x": 3227.9873046875, + "y": -906.3935546875, + "action": "stop_flying", + "move_mode": "fly", + "action_params": "", + "type": "path" + }, + { + "id": 13, + "x": 3214.9580078125, + "y": -896.2138671875, + "action": "", + "move_mode": "dash", + "action_params": "", + "type": "path" + }, + { + "id": 14, + "x": 3208.2119140625, + "y": -873.46484375, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 15, + "x": 3205.244140625, + "y": -850.14697265625, + "type": "path", + "move_mode": "dash", + "action": "combat_script", + "action_params": "keypress(f);钟离 a(0.1),e(hold);茜特菈莉 e,q;莱依拉 e;芙宁娜 e;爱可菲 e;恰斯卡 q;艾梅莉埃 e;流浪者 q;纳西妲 e;夜兰 e,q,attack(2);申鹤 e,q;万叶 attack(0.08),keydown(E),wait(0.51),keyup(E),attack(0.2);行秋 attack(0.2),e,q,attack(2);那维莱特 e,charge(3),j;莱欧斯利 e,q;attack(4.5)" + }, + { + "id": 16, + "x": 3199.4248046875, + "y": -855.6103515625, + "action": "", + "move_mode": "dash", + "action_params": "", + "type": "path" + }, + { + "id": 17, + "x": 3195.1904296875, + "y": -827.47265625, + "action": "", + "move_mode": "dash", + "action_params": "", + "type": "path" + }, + { + "id": 18, + "x": 3199.4248046875, + "y": -855.6103515625, + "action": "", + "move_mode": "dash", + "action_params": "", + "type": "orientation" + }, + { + "id": 19, + "x": 3199.4248046875, + "y": -855.6103515625, + "action": "combat_script", + "move_mode": "dash", + "action_params": "wait(1)", + "type": "path" + }, + { + "id": 20, + "x": 3212.0771484375, + "y": -851.87890625, + "action": "fight", + "move_mode": "dash", + "action_params": "", + "type": "path" + }, + { + "id": 21, + "x": 3212.0771484375, + "y": -851.87890625, + "action": "combat_script", + "move_mode": "climb", + "action_params": "wait(1)", + "type": "orientation" + } + ] +} \ No newline at end of file diff --git a/repo/js/AutoHoeingOneDragon/assets/分层路线/1-分层精英/428须弥茸蕈窟(600_1,200_5).json b/repo/js/AutoHoeingOneDragon/assets/分层路线/1-分层精英/428须弥茸蕈窟(600_1,200_5).json new file mode 100644 index 00000000..a9be535c --- /dev/null +++ b/repo/js/AutoHoeingOneDragon/assets/分层路线/1-分层精英/428须弥茸蕈窟(600_1,200_5).json @@ -0,0 +1,159 @@ +{ + "info": { + "name": "428须弥茸蕈窟(600_1,200_5)", + "type": "collect", + "author": "汐", + "version": "1.0", + "description": " 路线信息:该路线预计用时240.54秒,包含6只精英,预计收入1600摩拉,包含以下怪物:1只遗迹重机、2只遗迹巡弋者、1只遗迹歼击者、2只遗迹防卫者。", + "map_name": "Teyvat", + "bgi_version": "0.45.0", + "tags": [], + "last_modified_time": 1751479254056 + }, + "positions": [ + { + "id": 1, + "x": 2927.60546875, + "y": 105.40087890625, + "action": "", + "move_mode": "walk", + "action_params": "", + "type": "teleport" + }, + { + "id": 2, + "x": 2938.423828125, + "y": 115.11865234375, + "action": "", + "move_mode": "dash", + "action_params": "", + "type": "path" + }, + { + "id": 3, + "x": 2936.33984375, + "y": 143.78466796875, + "action": "", + "move_mode": "dash", + "action_params": "", + "type": "path" + }, + { + "id": 4, + "x": 2953.6357421875, + "y": 152.5009765625, + "action": "combat_script", + "move_mode": "walk", + "action_params": "keypress(t),wait(1.5),attack(0.5)", + "type": "orientation" + }, + { + "id": 5, + "x": 2935.7548828125, + "y": 168.3984375, + "action": "stop_flying", + "move_mode": "fly", + "action_params": "", + "type": "path" + }, + { + "id": 6, + "x": 2913.564453125, + "y": 176.80322265625, + "action": "", + "move_mode": "dash", + "action_params": "", + "type": "path" + }, + { + "id": 7, + "x": 2898.5908203125, + "y": 183.3671875, + "action": "fight", + "move_mode": "dash", + "action_params": "", + "type": "path" + }, + { + "id": 8, + "x": 2892.9345703125, + "y": 188.2724609375, + "action": "", + "move_mode": "walk", + "action_params": "", + "type": "path" + }, + { + "id": 9, + "x": 2867.0712890625, + "y": 201.232421875, + "action": "", + "move_mode": "dash", + "action_params": "", + "type": "path" + }, + { + "id": 10, + "x": 2845.5009765625, + "y": 214.2802734375, + "action": "", + "move_mode": "dash", + "action_params": "", + "type": "path" + }, + { + "id": 11, + "x": 2835.4013671875, + "y": 212.5078125, + "action": "fight", + "move_mode": "dash", + "action_params": "", + "type": "path" + }, + { + "id": 12, + "x": 2822.7744140625, + "y": 199.09228515625, + "action": "", + "move_mode": "walk", + "action_params": "", + "type": "target" + }, + { + "id": 13, + "x": 2819.517578125, + "y": 196.57421875, + "action": "", + "move_mode": "climb", + "action_params": "", + "type": "path" + }, + { + "id": 14, + "x": 2822.4130859375, + "y": 154.34326171875, + "action": "", + "move_mode": "dash", + "action_params": "", + "type": "path" + }, + { + "id": 15, + "x": 2839.2548828125, + "y": 133.06689453125, + "action": "fight", + "move_mode": "dash", + "action_params": "", + "type": "path" + }, + { + "id": 16, + "x": 2839.2548828125, + "y": 133.06689453125, + "action": "combat_script", + "move_mode": "dash", + "action_params": "wait(1)", + "type": "orientation" + } + ] +} \ No newline at end of file diff --git a/repo/js/AutoHoeingOneDragon/assets/分层路线/3-分层小怪/4201须弥上风蚀地东北.json b/repo/js/AutoHoeingOneDragon/assets/分层路线/3-分层小怪/4201须弥上风蚀地东北.json new file mode 100644 index 00000000..2fb20c21 --- /dev/null +++ b/repo/js/AutoHoeingOneDragon/assets/分层路线/3-分层小怪/4201须弥上风蚀地东北.json @@ -0,0 +1,86 @@ +{ + "info": { + "name": "4201须弥上风蚀地东北", + "type": "collect", + "authors": [ + { + "name": "mno", + "links": "" + } + ], + "version": "1.0", + "description": " 路线信息:该路线预计用时92.63秒,包含以下怪物:2只镀金旅团·机弩兵、3只镀金旅团·鸦喙戟手、1只镀金旅团·破阵者、1只镀金旅团·刀舞者、1只镀金旅团·沙中净水。", + "map_name": "Teyvat", + "bgi_version": "0.45.0", + "tags": [], + "last_modified_time": 1752328905599, + "enable_monster_loot_split": false + }, + "positions": [ + { + "id": 1, + "x": 4210.0634765625, + "y": -2711.734375, + "type": "teleport", + "move_mode": "walk", + "action": "", + "action_params": "" + }, + { + "id": 2, + "x": 4224.0947265625, + "y": -2652.341796875, + "type": "path", + "move_mode": "dash", + "action": "fight", + "action_params": "", + "locked": false + }, + { + "id": 3, + "x": 4224.0947265625, + "y": -2652.341796875, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 4, + "x": 4261.1279296875, + "y": -2619.4501953125, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 5, + "x": 4339.76025390625, + "y": -2593.375, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 6, + "x": 4341.583984375, + "y": -2602.3681640625, + "type": "path", + "move_mode": "walk", + "action": "fight", + "action_params": "", + "locked": false + }, + { + "id": 7, + "x": 4341.583984375, + "y": -2602.3681640625, + "type": "orientation", + "move_mode": "walk", + "action": "combat_script", + "action_params": "wait(1)" + } + ] +} \ No newline at end of file diff --git a/repo/js/AutoHoeingOneDragon/assets/分层路线/3-分层小怪/4202须弥上风蚀地北.json b/repo/js/AutoHoeingOneDragon/assets/分层路线/3-分层小怪/4202须弥上风蚀地北.json new file mode 100644 index 00000000..9e1ab965 --- /dev/null +++ b/repo/js/AutoHoeingOneDragon/assets/分层路线/3-分层小怪/4202须弥上风蚀地北.json @@ -0,0 +1,132 @@ +{ + "info": { + "name": "4202须弥上风蚀地北", + "type": "collect", + "authors": [ + { + "name": "mno", + "links": "" + } + ], + "version": "1.0", + "description": " 路线信息:该路线预计用时112.95秒,包含以下怪物:1只镀金旅团·阵前斧手、2只镀金旅团·机弩兵、3只镀金旅团·鸦喙戟手、2只镀金旅团·刀舞者、1只镀金旅团·白日鸣雷。", + "map_name": "Teyvat", + "bgi_version": "0.45.0", + "tags": [], + "last_modified_time": 1752329312841, + "enable_monster_loot_split": false + }, + "positions": [ + { + "id": 1, + "x": 4391.966796875, + "y": -2725.6220703125, + "type": "teleport", + "move_mode": "walk", + "action": "", + "action_params": "" + }, + { + "id": 2, + "x": 4407.6513671875, + "y": -2709.7265625, + "type": "path", + "move_mode": "fly", + "action": "stop_flying", + "action_params": "" + }, + { + "id": 3, + "x": 4452.0205078125, + "y": -2714.791015625, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 4, + "x": 4475.57958984375, + "y": -2701.8271484375, + "type": "path", + "move_mode": "dash", + "action": "fight", + "action_params": "", + "locked": false + }, + { + "id": 5, + "x": 4475.57958984375, + "y": -2701.8271484375, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 6, + "x": 4569.91552734375, + "y": -2645.916015625, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 7, + "x": 4550.90771484375, + "y": -2640.5341796875, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 8, + "x": 4537.556640625, + "y": -2642.8837890625, + "type": "path", + "move_mode": "dash", + "action": "fight", + "action_params": "", + "locked": false + }, + { + "id": 9, + "x": 4537.556640625, + "y": -2642.8837890625, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 10, + "x": 4608.84716796875, + "y": -2623.7490234375, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 11, + "x": 4612.96533203125, + "y": -2640.2001953125, + "type": "path", + "move_mode": "dash", + "action": "fight", + "action_params": "", + "locked": false + }, + { + "id": 12, + "x": 4612.96533203125, + "y": -2640.2001953125, + "type": "orientation", + "move_mode": "dash", + "action": "combat_script", + "action_params": "wait(1)" + } + ] +} \ No newline at end of file diff --git a/repo/js/AutoHoeingOneDragon/assets/分层路线/3-分层小怪/4203须弥圣显厅.json b/repo/js/AutoHoeingOneDragon/assets/分层路线/3-分层小怪/4203须弥圣显厅.json new file mode 100644 index 00000000..ce91264e --- /dev/null +++ b/repo/js/AutoHoeingOneDragon/assets/分层路线/3-分层小怪/4203须弥圣显厅.json @@ -0,0 +1,104 @@ +{ + "info": { + "name": "4203须弥圣显厅", + "type": "collect", + "authors": [ + { + "name": "mno", + "links": "" + } + ], + "version": "1.0", + "description": " 路线信息:该路线预计用时65.44秒,包含以下怪物:1只镀金旅团·阵前斧手、1只镀金旅团·刀舞者、1只镀金旅团·沙中净水、1只镀金旅团·白日鸣雷。", + "map_name": "Teyvat", + "bgi_version": "0.45.0", + "tags": [], + "last_modified_time": 1752332200284, + "enable_monster_loot_split": false + }, + "positions": [ + { + "id": 1, + "x": 4777.607421875, + "y": -1434.32421875, + "type": "teleport", + "move_mode": "walk", + "action": "", + "action_params": "" + }, + { + "id": 2, + "x": 4744.2529296875, + "y": -1435.029296875, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 3, + "x": 4711.8564453125, + "y": -1446.6708984375, + "type": "path", + "move_mode": "dash", + "action": "up_down_grab_leaf", + "action_params": "" + }, + { + "id": 4, + "x": 4687.775390625, + "y": -1449.75439453125, + "type": "path", + "move_mode": "walk", + "action": "up_down_grab_leaf", + "action_params": "", + "locked": false + }, + { + "id": 5, + "x": 4687.775390625, + "y": -1449.75439453125, + "type": "path", + "move_mode": "fly", + "action": "stop_flying", + "action_params": "1000" + }, + { + "id": 6, + "x": 4681.564453125, + "y": -1450.16015625, + "type": "path", + "move_mode": "walk", + "action": "fight", + "action_params": "" + }, + { + "id": 7, + "x": 4692.2412109375, + "y": -1479.869140625, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 8, + "x": 4708.748046875, + "y": -1483.51318359375, + "type": "path", + "move_mode": "dash", + "action": "fight", + "action_params": "", + "locked": false + }, + { + "id": 9, + "x": 4708.748046875, + "y": -1483.51318359375, + "type": "orientation", + "move_mode": "dash", + "action": "combat_script", + "action_params": "wait(1)" + } + ] +} \ No newline at end of file diff --git a/repo/js/AutoHoeingOneDragon/assets/分层路线/3-分层小怪/4204须弥圣显厅南.json b/repo/js/AutoHoeingOneDragon/assets/分层路线/3-分层小怪/4204须弥圣显厅南.json new file mode 100644 index 00000000..e6997241 --- /dev/null +++ b/repo/js/AutoHoeingOneDragon/assets/分层路线/3-分层小怪/4204须弥圣显厅南.json @@ -0,0 +1,94 @@ +{ + "info": { + "name": "4204须弥圣显厅南", + "type": "collect", + "authors": [ + { + "name": "mno", + "links": "" + } + ], + "version": "1.0", + "description": " 路线信息:该路线预计用时63.8秒,包含以下怪物:1只镀金旅团·刀舞者、1只镀金旅团·炽阳凝冰、1只镀金旅团·白日鸣雷。", + "map_name": "Teyvat", + "bgi_version": "0.45.0", + "tags": [], + "last_modified_time": 1752332384592, + "enable_monster_loot_split": false + }, + "positions": [ + { + "id": 1, + "x": 4777.59619140625, + "y": -1434.33447265625, + "type": "teleport", + "move_mode": "walk", + "action": "", + "action_params": "" + }, + { + "id": 2, + "x": 4747.89990234375, + "y": -1443.3154296875, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 3, + "x": 4750.2041015625, + "y": -1472.65283203125, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 4, + "x": 4751.0341796875, + "y": -1491.1083984375, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 5, + "x": 4757.4287109375, + "y": -1521.546875, + "type": "path", + "move_mode": "walk", + "action": "up_down_grab_leaf", + "action_params": "" + }, + { + "id": 6, + "x": 4738.5078125, + "y": -1533.74462890625, + "type": "path", + "move_mode": "walk", + "action": "up_down_grab_leaf", + "action_params": "" + }, + { + "id": 7, + "x": 4728.2568359375, + "y": -1556.125, + "type": "path", + "move_mode": "walk", + "action": "fight", + "action_params": "", + "locked": false + }, + { + "id": 8, + "x": 4728.2568359375, + "y": -1556.125, + "type": "orientation", + "move_mode": "walk", + "action": "combat_script", + "action_params": "wait(1)" + } + ] +} \ No newline at end of file diff --git a/repo/js/AutoHoeingOneDragon/assets/分层路线/3-分层小怪/4205须弥活力之家.json b/repo/js/AutoHoeingOneDragon/assets/分层路线/3-分层小怪/4205须弥活力之家.json new file mode 100644 index 00000000..21ef08eb --- /dev/null +++ b/repo/js/AutoHoeingOneDragon/assets/分层路线/3-分层小怪/4205须弥活力之家.json @@ -0,0 +1,132 @@ +{ + "info": { + "name": "4205须弥活力之家", + "type": "collect", + "authors": [ + { + "name": "mno", + "links": "" + } + ], + "version": "1.0", + "description": " 路线信息:该路线预计用时129.52秒,包含以下怪物:1只镀金旅团·阵前斧手、2只镀金旅团·机弩兵、4只镀金旅团·鸦喙戟手、1只镀金旅团·白日鸣雷。", + "map_name": "Teyvat", + "bgi_version": "0.45.0", + "tags": [], + "last_modified_time": 1752332953595, + "enable_monster_loot_split": false + }, + "positions": [ + { + "id": 1, + "x": 4078.0673828125, + "y": -2163.8984375, + "type": "teleport", + "move_mode": "walk", + "action": "", + "action_params": "" + }, + { + "id": 2, + "x": 4086.8349609375, + "y": -2177.087890625, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 3, + "x": 4050.3984375, + "y": -2202.7041015625, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 4, + "x": 4034.142578125, + "y": -2227.984375, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 5, + "x": 4003.0048828125, + "y": -2245.4609375, + "type": "path", + "move_mode": "dash", + "action": "fight", + "action_params": "", + "locked": false + }, + { + "id": 6, + "x": 4003.0048828125, + "y": -2245.4609375, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 7, + "x": 3986.39453125, + "y": -2244.7529296875, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 8, + "x": 3962.3564453125, + "y": -2263.1142578125, + "type": "path", + "move_mode": "dash", + "action": "fight", + "action_params": "", + "locked": false + }, + { + "id": 9, + "x": 3962.3564453125, + "y": -2263.1142578125, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 10, + "x": 3979.55859375, + "y": -2289.7841796875, + "type": "path", + "move_mode": "walk", + "action": "up_down_grab_leaf", + "action_params": "" + }, + { + "id": 11, + "x": 3981.455078125, + "y": -2293.5224609375, + "type": "path", + "move_mode": "walk", + "action": "fight", + "action_params": "", + "locked": false + }, + { + "id": 12, + "x": 3981.455078125, + "y": -2293.5224609375, + "type": "orientation", + "move_mode": "walk", + "action": "combat_script", + "action_params": "wait(1)" + } + ] +} \ No newline at end of file diff --git a/repo/js/AutoHoeingOneDragon/assets/分层路线/3-分层小怪/4206须弥愚妄行宫.json b/repo/js/AutoHoeingOneDragon/assets/分层路线/3-分层小怪/4206须弥愚妄行宫.json new file mode 100644 index 00000000..5c4aa8e1 --- /dev/null +++ b/repo/js/AutoHoeingOneDragon/assets/分层路线/3-分层小怪/4206须弥愚妄行宫.json @@ -0,0 +1,159 @@ +{ + "info": { + "name": "4206须弥愚妄行宫", + "type": "collect", + "authors": [ + { + "name": "mno", + "links": "" + } + ], + "version": "1.0", + "description": " 路线信息:该路线预计用时128.93秒,包含以下怪物:2只火史莱姆、1只大型火史莱姆、3只射手丘丘人、1只镀金旅团·阵前斧手、1只镀金旅团·刀舞者。", + "map_name": "Teyvat", + "bgi_version": "0.45.0", + "tags": [], + "last_modified_time": 1752333935195, + "enable_monster_loot_split": false + }, + "positions": [ + { + "id": 1, + "x": 4592.50927734375, + "y": -647.1630859375, + "type": "teleport", + "move_mode": "walk", + "action": "", + "action_params": "" + }, + { + "id": 2, + "x": 4610.19140625, + "y": -652.08984375, + "type": "path", + "move_mode": "fly", + "action": "", + "action_params": "" + }, + { + "id": 3, + "x": 4599.76171875, + "y": -673.5625, + "type": "path", + "move_mode": "fly", + "action": "stop_flying", + "action_params": "", + "locked": false + }, + { + "id": 4, + "x": 4599.76171875, + "y": -673.5625, + "type": "orientation", + "move_mode": "fly", + "action": "fight", + "action_params": "" + }, + { + "id": 5, + "x": 4592.50732421875, + "y": -647.16845703125, + "type": "teleport", + "move_mode": "walk", + "action": "", + "action_params": "" + }, + { + "id": 6, + "x": 4576.5791015625, + "y": -706.15966796875, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 7, + "x": 4557.32373046875, + "y": -731.05126953125, + "type": "path", + "move_mode": "dash", + "action": "fight", + "action_params": "", + "locked": false + }, + { + "id": 8, + "x": 4557.32373046875, + "y": -731.05126953125, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 9, + "x": 4549.1044921875, + "y": -768.912109375, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 10, + "x": 4542.794921875, + "y": -797.00244140625, + "type": "path", + "move_mode": "walk", + "action": "up_down_grab_leaf", + "action_params": "" + }, + { + "id": 11, + "x": 4586.0068359375, + "y": -793.16259765625, + "type": "path", + "move_mode": "dash", + "action": "fight", + "action_params": "" + }, + { + "id": 12, + "x": 4610.3017578125, + "y": -788.14892578125, + "type": "path", + "move_mode": "dash", + "action": "fight", + "action_params": "" + }, + { + "id": 13, + "x": 4636.31298828125, + "y": -865.46533203125, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 14, + "x": 4656.13671875, + "y": -840.5849609375, + "type": "path", + "move_mode": "dash", + "action": "fight", + "action_params": "", + "locked": false + }, + { + "id": 15, + "x": 4656.13671875, + "y": -840.5849609375, + "type": "orientation", + "move_mode": "dash", + "action": "combat_script", + "action_params": "wait(1)" + } + ] +} \ No newline at end of file diff --git a/repo/js/AutoHoeingOneDragon/assets/分层路线/3-分层小怪/4301须弥铁穆山.json b/repo/js/AutoHoeingOneDragon/assets/分层路线/3-分层小怪/4301须弥铁穆山.json new file mode 100644 index 00000000..663ed931 --- /dev/null +++ b/repo/js/AutoHoeingOneDragon/assets/分层路线/3-分层小怪/4301须弥铁穆山.json @@ -0,0 +1,113 @@ +{ + "info": { + "name": "4301须弥铁穆山", + "type": "collect", + "authors": [ + { + "name": "mno", + "links": "" + } + ], + "version": "1.0", + "description": " 路线信息:该路线预计用时128.61秒,包含以下怪物:1只镀金旅团·机弩兵、2只镀金旅团·鸦喙戟手、3只镀金旅团·破阵者、2只镀金旅团·沙中净水、1只镀金旅团·白日鸣雷。", + "map_name": "Teyvat", + "bgi_version": "0.45.0", + "tags": [], + "last_modified_time": 1752331584101, + "enable_monster_loot_split": false + }, + "positions": [ + { + "id": 1, + "action": "", + "move_mode": "walk", + "type": "teleport", + "x": 6161.0068359375, + "y": 2.13330078125, + "action_params": "" + }, + { + "id": 2, + "x": 6144.16162109375, + "y": 15.99169921875, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 3, + "x": 6095.73095703125, + "y": 73.005859375, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 4, + "x": 6089.9560546875, + "y": 79.5771484375, + "type": "path", + "move_mode": "dash", + "action": "fight", + "action_params": "", + "locked": false + }, + { + "id": 5, + "x": 6089.9560546875, + "y": 79.5771484375, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 6, + "x": 6065.5068359375, + "y": 116.29833984375, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 7, + "x": 6065.85693359375, + "y": 196.60888671875, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 8, + "x": 6070.4375, + "y": 211.93212890625, + "type": "path", + "move_mode": "dash", + "action": "fight", + "action_params": "", + "locked": false + }, + { + "id": 9, + "x": 6070.4375, + "y": 211.93212890625, + "type": "path", + "move_mode": "dash", + "action": "fight", + "action_params": "" + }, + { + "id": 10, + "x": 6080.71435546875, + "y": 204.435546875, + "type": "orientation", + "move_mode": "dash", + "action": "combat_script", + "action_params": "wait(1)" + } + ] +} \ No newline at end of file diff --git a/repo/js/AutoHoeingOneDragon/assets/分层路线/3-分层小怪/4302须弥苍石荒漠.json b/repo/js/AutoHoeingOneDragon/assets/分层路线/3-分层小怪/4302须弥苍石荒漠.json new file mode 100644 index 00000000..e86decd7 --- /dev/null +++ b/repo/js/AutoHoeingOneDragon/assets/分层路线/3-分层小怪/4302须弥苍石荒漠.json @@ -0,0 +1,96 @@ +{ + "info": { + "name": "4302须弥苍石荒漠", + "type": "collect", + "authors": [ + { + "name": "mno", + "links": "" + } + ], + "version": "1.0", + "description": " 路线信息:该路线预计用时116.52秒,包含以下怪物:2只镀金旅团·鸦喙戟手、1只镀金旅团·破阵者、1只镀金旅团·刀舞者、1只镀金旅团·沙中净水、1只镀金旅团·魔岩役使。", + "map_name": "Teyvat", + "bgi_version": "0.45.0", + "tags": [], + "last_modified_time": 1752334544036, + "enable_monster_loot_split": false + }, + "positions": [ + { + "id": 1, + "action": "", + "move_mode": "walk", + "type": "teleport", + "x": 6615.40771484375, + "y": 725.23583984375, + "action_params": "" + }, + { + "id": 2, + "x": 6630.86083984375, + "y": 724.78173828125, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 3, + "x": 6721.35107421875, + "y": 677.783203125, + "type": "path", + "move_mode": "fly", + "action": "stop_flying", + "action_params": "" + }, + { + "id": 4, + "x": 6757.2626953125, + "y": 651.271484375, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "", + "locked": false + }, + { + "id": 5, + "x": 6768.97021484375, + "y": 654.20068359375, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 6, + "x": 6757.2626953125, + "y": 651.271484375, + "type": "path", + "move_mode": "dash", + "action": "fight", + "action_params": "", + "locked": false + }, + { + "id": 7, + "x": 6757.2626953125, + "y": 651.271484375, + "type": "path", + "move_mode": "jump", + "action": "fight", + "action_params": "", + "locked": false + }, + { + "id": 8, + "x": 6757.2626953125, + "y": 651.271484375, + "type": "orientation", + "move_mode": "dash", + "action": "combat_script", + "action_params": "wait(1)" + } + ] +} \ No newline at end of file diff --git a/repo/js/AutoHoeingOneDragon/assets/分层路线/3-分层小怪/6206--纳塔_浮羽之湾北.json b/repo/js/AutoHoeingOneDragon/assets/分层路线/3-分层小怪/6206--纳塔_浮羽之湾北.json new file mode 100644 index 00000000..0d761b06 --- /dev/null +++ b/repo/js/AutoHoeingOneDragon/assets/分层路线/3-分层小怪/6206--纳塔_浮羽之湾北.json @@ -0,0 +1,95 @@ +{ + "info": { + "name": "6206--纳塔_浮羽之湾北", + "type": "collect", + "authors": [ + { + "name": "mno", + "links": "" + } + ], + "version": "1.0", + "description": " 路线信息:该路线预计用时82.66秒,包含以下怪物:1只铸砂勇士·叩问人、1只铸砂勇士·碎盾者、2只鳍游龙。", + "map_name": "Teyvat", + "bgi_version": "0.45.0", + "tags": [], + "last_modified_time": 1752326855645, + "enable_monster_loot_split": false + }, + "positions": [ + { + "id": 1, + "action": "force_tp", + "move_mode": "walk", + "type": "teleport", + "x": 10728.4189453125, + "y": -1379.1650390625, + "action_params": "" + }, + { + "id": 2, + "x": 10728.4189453125, + "y": -1379.1650390625, + "type": "orientation", + "move_mode": "walk", + "action": "combat_script", + "action_params": "爱可菲 e;玛薇卡 e;芙宁娜 e" + }, + { + "id": 3, + "x": 10699.7333984375, + "y": -1394.3798828125, + "type": "path", + "move_mode": "walk", + "action": "fight", + "action_params": "", + "locked": false + }, + { + "id": 4, + "x": 10728.4189453125, + "y": -1379.1650390625, + "type": "teleport", + "move_mode": "walk", + "action": "", + "action_params": "" + }, + { + "id": 5, + "x": 10741.2080078125, + "y": -1433.07666015625, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 6, + "x": 10781.5302734375, + "y": -1468.6240234375, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 7, + "x": 10803.720703125, + "y": -1466.7841796875, + "type": "path", + "move_mode": "dash", + "action": "fight", + "action_params": "", + "locked": false + }, + { + "id": 8, + "x": 10803.720703125, + "y": -1466.7841796875, + "type": "orientation", + "move_mode": "dash", + "action": "combat_script", + "action_params": "wait(1)" + } + ] +} \ No newline at end of file diff --git a/repo/js/AutoHoeingOneDragon/assets/分层路线/3-分层小怪/6207--纳塔_浮羽之湾南.json b/repo/js/AutoHoeingOneDragon/assets/分层路线/3-分层小怪/6207--纳塔_浮羽之湾南.json new file mode 100644 index 00000000..3c76c7d4 --- /dev/null +++ b/repo/js/AutoHoeingOneDragon/assets/分层路线/3-分层小怪/6207--纳塔_浮羽之湾南.json @@ -0,0 +1,260 @@ +{ + "info": { + "name": "6207--纳塔_浮羽之湾南", + "type": "collect", + "authors": [ + { + "name": "mno", + "links": "" + } + ], + "version": "1.0", + "description": " 路线信息:该路线预计用时213.02秒,包含以下怪物:2只铸砂勇士·叩问人、1只铸砂勇士·碎盾者、1只嵴锋龙武士·碎晶打者、2只暝视龙。", + "map_name": "Teyvat", + "bgi_version": "0.45.0", + "tags": [], + "last_modified_time": 1752328430080, + "enable_monster_loot_split": false + }, + "positions": [ + { + "id": 1, + "x": 10728.4189453125, + "y": -1379.1650390625, + "type": "teleport", + "move_mode": "walk", + "action": "", + "action_params": "" + }, + { + "id": 2, + "x": 10680.1943359375, + "y": -1350.12744140625, + "type": "path", + "move_mode": "dash", + "action": "combat_script", + "action_params": "芙宁娜 e" + }, + { + "id": 3, + "x": 10648.1728515625, + "y": -1364.958984375, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 4, + "x": 10600.185546875, + "y": -1356.8642578125, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 5, + "x": 10598.638671875, + "y": -1362.548828125, + "type": "path", + "move_mode": "dash", + "action": "fight", + "action_params": "", + "locked": false + }, + { + "id": 6, + "x": 10598.638671875, + "y": -1362.548828125, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 7, + "x": 10559.689453125, + "y": -1343.6904296875, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 8, + "x": 10495.193359375, + "y": -1366.0478515625, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 9, + "x": 10482.833984375, + "y": -1391.1337890625, + "type": "path", + "move_mode": "walk", + "action": "combat_script", + "action_params": "芙宁娜 e" + }, + { + "id": 10, + "x": 10474.4375, + "y": -1422.9150390625, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 11, + "x": 10475.912109375, + "y": -1455.6083984375, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 12, + "x": 10458.6884765625, + "y": -1472.7724609375, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 13, + "x": 10439.9384765625, + "y": -1482.19189453125, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "", + "locked": false + }, + { + "id": 14, + "x": 10439.9384765625, + "y": -1482.19189453125, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 15, + "x": 10435.892578125, + "y": -1492.873046875, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 16, + "x": 10418.1806640625, + "y": -1513.46337890625, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 17, + "x": 10385.466796875, + "y": -1541.7666015625, + "type": "path", + "move_mode": "dash", + "action": "fight", + "action_params": "", + "locked": false + }, + { + "id": 18, + "x": 10385.466796875, + "y": -1541.7666015625, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 19, + "x": 10388.6650390625, + "y": -1570.267578125, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 20, + "x": 10399.712890625, + "y": -1582.18017578125, + "type": "path", + "move_mode": "dash", + "action": "fight", + "action_params": "", + "locked": false + }, + { + "id": 21, + "x": 10399.712890625, + "y": -1582.18017578125, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 22, + "x": 10462.2705078125, + "y": -1599.9072265625, + "type": "path", + "move_mode": "fly", + "action": "stop_flying", + "action_params": "" + }, + { + "id": 23, + "x": 10483.185546875, + "y": -1603.60009765625, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 24, + "x": 10501.078125, + "y": -1632.2265625, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 25, + "x": 10565.9951171875, + "y": -1635.3623046875, + "type": "path", + "move_mode": "dash", + "action": "fight", + "action_params": "", + "locked": false + }, + { + "id": 26, + "x": 10565.9951171875, + "y": -1635.3623046875, + "type": "orientation", + "move_mode": "dash", + "action": "combat_script", + "action_params": "wait(1)" + } + ] +} \ No newline at end of file diff --git a/repo/js/AutoHoeingOneDragon/main.js b/repo/js/AutoHoeingOneDragon/main.js index 8bd8a1c9..55ec849a 100644 --- a/repo/js/AutoHoeingOneDragon/main.js +++ b/repo/js/AutoHoeingOneDragon/main.js @@ -2,6 +2,11 @@ const timeMoveUp = 500; const timeMoveDown = 1000; const pickupMode = settings.pickupMode || "js拾取,默认只拾取狗粮和晶蝶"; +if (settings.activeDumperMode) { //处理泥头车信息 + dumpers = settings.activeDumperMode.split(',').map(Number).filter(num => num === 1 || num === 2 || num === 3 || num === 4); +} else { + dumpers = []; +} (async function () { //自定义配置处理 @@ -415,15 +420,9 @@ async function assignGroups(pathings, group1Tags, group2Tags, group3Tags, group4 return groupCounts; } -async function runPathWithOcr(pathFilePath, targetTexts, blacklistKeywords) { - // 定义替换映射表 - const replacementMap = { - "监": "盐", - "卵": "卯" - }; +async function runPathWithOcr(pathFilePath, map_name, targetTexts, blacklistKeywords) { let thisMoveUpTime = 0; let lastMoveDown = 0; - let lastPickupTime = new Date(); let lastPickupItem = ""; // 定义状态变量 @@ -462,9 +461,6 @@ async function runPathWithOcr(pathFilePath, targetTexts, blacklistKeywords) { for (let i = 0; i < resList.count; i++) { let res = resList[i]; let correctedText = res.text; - for (let [wrongChar, correctChar] of Object.entries(replacementMap)) { - correctedText = correctedText.replace(new RegExp(wrongChar, 'g'), correctChar); - } // 如果 targetTexts 为空,则直接将所有文本视为匹配 if (targetTexts.length === 0) { @@ -625,19 +621,121 @@ async function runPathWithOcr(pathFilePath, targetTexts, blacklistKeywords) { } } + //处理泥头车模式 + async function dumper(pathFilePath, map_name) { + let lastDumperTimer = new Date(); + const dumperCD = 10000; + try { + const pathingContent = await file.readText(pathFilePath); + const parsedContent = JSON.parse(pathingContent); + const positions = parsedContent.positions; + // 初始化 hasT 为 false + let hasT = false; + + // 初始化 fightPositions 数组 + let fightPositions = []; + + // 遍历 positions 数组 + for (const pos of positions) { + // 检查 action_params 是否包含 keypress(T) + if (pos.action_params && pos.action_params.includes('keypress(T)')) { + hasT = true; + } + + // 如果 action 是 "fight",则添加到 fightPositions + if (pos.action === "fight") { + fightPositions.push({ + x: pos.x, + y: pos.y, + used: false + }); + } + } + + while (!state.completed && !state.cancelRequested) { + if (hasT) { + log.warn("当前路线含有按键T,暂时禁用泥头车") + break; + } + await sleep(1011); + let dumperDistance = 0; + try { + let shouldPressKeys = false; + const currentPosition = await genshin.getPositionFromMap(map_name); + + for (let i = 0; i < fightPositions.length; i++) { + const fightPos = fightPositions[i]; + + if (fightPos.used) { + continue; + } + + const distance = Math.sqrt( + Math.pow(currentPosition.x - fightPos.x, 2) + + Math.pow(currentPosition.y - fightPos.y, 2) + ); + + if (distance <= 30) { + fightPositions[i].used = true; + } + + if (distance > 5 && distance <= 30) { + if ((new Date() - lastDumperTimer) > dumperCD) { + shouldPressKeys = true; + lastDumperTimer = new Date(); + dumperDistance = distance; + } + } + } + + if (shouldPressKeys) { + log.info(`距离下个战斗地点距离${dumperDistance.toFixed(2)},启用泥头车`); + for (const key of dumpers) { + log.info(`[泥头车]:尝试切换${key}号角色施放e技能`) + keyPress(String(key)); + await sleep(400); + keyPress('e'); + await sleep(400); + keyPress('e'); + await sleep(400); + keyPress('e'); + await sleep(400); + } + } + } catch (error) { + } + if (state.cancelRequested) { + break; + } + } + } catch (error) { + log.error(`执行泥头车时出现异常: ${error.message}`); + } + } + // 启动路径文件执行任务 const pathTask = executePathFile(pathFilePath); - // 启动 OCR 检测和交互任务 - const ocrTask = performOcrAndInteract(imagePath, targetTexts, textxRange, texttolerance); + // 根据条件决定是否启动 OCR 检测和交互任务 + let ocrTask = null; + if (pickupMode === "js拾取,默认只拾取狗粮和晶蝶") { + ocrTask = performOcrAndInteract(imagePath, targetTexts, textxRange, texttolerance); + } - // 等待两个任务都完成 + // 启动泥头车 + let dumperTask = null; + if (dumpers.length > 0) { // 检查 dumpers 是否不为空 + dumperTask = dumper(pathFilePath, map_name); // 调用 dumper 函数 + } + + // 等待所有任务完成 try { - await Promise.allSettled([pathTask, ocrTask]); + await Promise.allSettled([pathTask, ocrTask, dumperTask]); } catch (error) { - log.error(`执行任务时发生错误:${error.message}`); + console.error(`执行任务时发生错误:${error.message}`); state.cancelRequested = true; // 设置取消标志 } finally { + state.completed = true; // 确保任务标记为完成 state.cancelRequested = true; // 设置取消标志 } } @@ -801,12 +899,8 @@ async function processPathingsByGroup(pathings, targetTexts, blacklistKeywords, // 输出路径已刷新并开始处理的信息 log.info(`该路线已刷新,开始处理。`); await fakeLog(`${pathing.fileName}`, false, true, 0); - if (pickupMode === "js拾取,默认只拾取狗粮和晶蝶") { - // 调用 runPathWithOcr 函数处理路径 - await runPathWithOcr(pathing.fullPath, targetTexts, blacklistKeywords); - } else { - await pathingScript.runFile(pathing.fullPath); - } + // 调用 runPathWithOcr 函数处理路径 + await runPathWithOcr(pathing.fullPath, pathing.map_name, targetTexts, blacklistKeywords); try { await sleep(1); } catch (error) { diff --git a/repo/js/AutoHoeingOneDragon/manifest.json b/repo/js/AutoHoeingOneDragon/manifest.json index 27a70d2c..5ac36154 100644 --- a/repo/js/AutoHoeingOneDragon/manifest.json +++ b/repo/js/AutoHoeingOneDragon/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 1, "name": "锄地一条龙", - "version": "1.1.7", + "version": "1.1.8", "description": "一站式解决自动化锄地,支持只拾取狗粮,请阅读README.md后使用", "authors": [ { diff --git a/repo/js/AutoHoeingOneDragon/pathing/2-小怪2000/0_6_纳塔/6001纳塔传奇莎孚.json b/repo/js/AutoHoeingOneDragon/pathing/2-小怪2000/0_6_纳塔/6001纳塔传奇莎孚.json new file mode 100644 index 00000000..d2ccebf9 --- /dev/null +++ b/repo/js/AutoHoeingOneDragon/pathing/2-小怪2000/0_6_纳塔/6001纳塔传奇莎孚.json @@ -0,0 +1,75 @@ +{ + "info": { + "name": "6001纳塔传奇莎孚", + "type": "collect", + "authors": [ + { + "name": "mno", + "links": "" + } + ], + "version": "1.0", + "description": " 路线信息:该路线预计用时139.26秒,包含以下怪物:5只小怪传奇倍率二。", + "map_name": "Teyvat", + "bgi_version": "0.45.0", + "tags": [], + "last_modified_time": 1752335152037, + "enable_monster_loot_split": false + }, + "positions": [ + { + "id": 1, + "x": 7853.67919921875, + "y": -1751.94921875, + "action": "", + "move_mode": "walk", + "action_params": "", + "type": "teleport" + }, + { + "id": 2, + "x": 7878.28662109375, + "y": -1813.33935546875, + "action": "", + "move_mode": "dash", + "action_params": "", + "type": "path" + }, + { + "id": 3, + "x": 7899.98681640625, + "y": -1819.5546875, + "action": "combat_script", + "move_mode": "dash", + "action_params": "attack(0.5)", + "type": "path" + }, + { + "id": 4, + "x": 7892.82080078125, + "y": -1817.7080078125, + "action": "fight", + "move_mode": "dash", + "action_params": "", + "type": "path" + }, + { + "id": 5, + "x": 7892.82080078125, + "y": -1817.7080078125, + "action": "fight", + "move_mode": "dash", + "action_params": "", + "type": "path" + }, + { + "id": 6, + "x": 7892.82080078125, + "y": -1817.7080078125, + "action": "combat_script", + "move_mode": "dash", + "action_params": "wait(1)", + "type": "orientation" + } + ] +} \ No newline at end of file diff --git a/repo/js/AutoHoeingOneDragon/pathing/2-小怪2000/0_6_纳塔/6002纳塔传奇莉莱.json b/repo/js/AutoHoeingOneDragon/pathing/2-小怪2000/0_6_纳塔/6002纳塔传奇莉莱.json new file mode 100644 index 00000000..a2f1c1b1 --- /dev/null +++ b/repo/js/AutoHoeingOneDragon/pathing/2-小怪2000/0_6_纳塔/6002纳塔传奇莉莱.json @@ -0,0 +1,77 @@ +{ + "info": { + "name": "6002纳塔传奇莉莱", + "type": "collect", + "authors": [ + { + "name": "mno", + "links": "" + } + ], + "version": "1.0", + "description": " 路线信息:该路线预计用时98.91秒,包含以下怪物:5只小怪传奇倍率二。", + "map_name": "Teyvat", + "bgi_version": "0.45.0", + "tags": [], + "last_modified_time": 1752335229887, + "enable_monster_loot_split": false + }, + "positions": [ + { + "id": 1, + "x": 9782.69140625, + "y": -1764.3212890625, + "type": "teleport", + "move_mode": "walk", + "action": "", + "action_params": "" + }, + { + "id": 2, + "x": 9788.7451171875, + "y": -1764.86328125, + "type": "path", + "move_mode": "dash", + "action": "", + "action_params": "" + }, + { + "id": 3, + "x": 9793.2685546875, + "y": -1690.27783203125, + "type": "path", + "move_mode": "dash", + "action": "combat_script", + "action_params": "attack(0.5)" + }, + { + "id": 4, + "x": 9799.669921875, + "y": -1704.36328125, + "type": "path", + "move_mode": "dash", + "action": "fight", + "action_params": "", + "locked": false + }, + { + "id": 5, + "x": 9799.669921875, + "y": -1704.36328125, + "type": "path", + "move_mode": "dash", + "action": "fight", + "action_params": "", + "locked": false + }, + { + "id": 6, + "x": 9799.669921875, + "y": -1704.36328125, + "type": "path", + "move_mode": "dash", + "action": "combat_script", + "action_params": "wait(1)" + } + ] +} \ No newline at end of file diff --git a/repo/js/AutoHoeingOneDragon/settings.json b/repo/js/AutoHoeingOneDragon/settings.json index 3cc24e1e..35efece5 100644 --- a/repo/js/AutoHoeingOneDragon/settings.json +++ b/repo/js/AutoHoeingOneDragon/settings.json @@ -2,7 +2,7 @@ { "name": "operationMode", "type": "select", - "label": "执行模式", + "label": "第一部分:路径组执行配置\n根据每个配置组的具体需求填写\n######################################################\n\n执行模式", "options": [ "运行锄地路线", "输出地图追踪文件", @@ -38,10 +38,15 @@ ], "default": "js拾取,默认只拾取狗粮和晶蝶" }, + { + "name": "activeDumperMode", + "type": "input-text", + "label": "泥头车模式,将在接近战斗点前提前释放部分角色e技能\n需要启用时填写这些角色在队伍中的编号\n有多个角色需要释放时用中文逗号分隔\n警告,实验性功能,可能增加性能开销和降低稳定性" + }, { "name": "accountName", "type": "input-text", - "label": "账户名称\n用于多用户运行时区分不同账户的记录\n单用户请勿修改", + "label": "######################################################\n\n第二部分:路线选择与分组配置\n确保不同路径组中该部分配置【完全相同】\n######################################################\n\n账户名称\n用于多用户运行时区分不同账户的记录\n单用户请勿修改", "default": "默认账户" }, {