diff --git a/repo/js/AutoFriendshipFight/assets/AutoPath/盗宝团-准备.json b/repo/js/AutoFriendshipFight/assets/AutoPath/盗宝团-准备.json index 91ba4e1d9..74930bfac 100644 --- a/repo/js/AutoFriendshipFight/assets/AutoPath/盗宝团-准备.json +++ b/repo/js/AutoFriendshipFight/assets/AutoPath/盗宝团-准备.json @@ -5,40 +5,34 @@ "author": "HZYgrandma", "version": "1.0", "description": "", - "bgi_version": "0.42.0" + "map_name": "Teyvat", + "bgi_version": "0.45.0" }, "positions": [ { "id": 1, - "x": -2740.6, - "y": -3410.69, + "x": -2740.6000000000004, + "y": -3410.6900000000005, "action": "", "move_mode": "walk", "type": "teleport" }, { "id": 2, - "x": -2739.48, - "y": -3437.85, + "x": -2764.4062480249577, + "y": -3465.687530315927, "action": "", "move_mode": "dash", "type": "path" }, { "id": 3, - "x": -2764.44, - "y": -3465.81, - "action": "", + "x": -2770.4169921875, + "y": -3450.8349609375, + "type": "path", "move_mode": "dash", - "type": "path" - }, - { - "id": 4, - "x": -2771.27, - "y": -3453.23, "action": "fight", - "move_mode": "dash", - "type": "path" + "action_params": "" } ] } \ No newline at end of file diff --git a/repo/js/AutoFriendshipFight/assets/AutoPath/盗宝团-战斗点.json b/repo/js/AutoFriendshipFight/assets/AutoPath/盗宝团-战斗点.json index d4c793bbd..82f98bdaf 100644 --- a/repo/js/AutoFriendshipFight/assets/AutoPath/盗宝团-战斗点.json +++ b/repo/js/AutoFriendshipFight/assets/AutoPath/盗宝团-战斗点.json @@ -5,16 +5,18 @@ "author": "HZYgrandma", "version": "1.0", "description": "", - "bgi_version": "0.43.4" + "map_name": "Teyvat", + "bgi_version": "0.45.0" }, "positions": [ { "id": 1, - "x": -2756.67, - "y": -3467.63, - "type": "path", + "x": -2757.28125, + "y": -3468.4376106653963, + "action": "", "move_mode": "dash", - "action": "" + "action_params": "", + "type": "path" } ] } \ No newline at end of file diff --git a/repo/js/AutoFriendshipFight/assets/AutoPath/盗宝团-触发点.json b/repo/js/AutoFriendshipFight/assets/AutoPath/盗宝团-触发点.json index 38e89dee9..2d6ab148f 100644 --- a/repo/js/AutoFriendshipFight/assets/AutoPath/盗宝团-触发点.json +++ b/repo/js/AutoFriendshipFight/assets/AutoPath/盗宝团-触发点.json @@ -1,36 +1,41 @@ -{ +{ "info": { - "name": "触发点", + "name": "盗宝团-触发点", "type": "collect", "author": "HZYgrandma", "version": "1.0", "description": "", - "bgi_version": "0.43.4" + "map_name": "Teyvat", + "bgi_version": "0.45.0" }, "positions": [ { "id": 1, + "x": -2738.38, + "y": -3414.45, "action": "", "move_mode": "walk", - "type": "teleport", - "x": -2738.38, - "y": -3414.45 + "action_params": "", + "type": "teleport" }, { "id": 2, - "x": -2739.72, - "y": -3400.15, + "x": -2736.6005859375, + "y": -3415.4443359375, "type": "path", "move_mode": "walk", - "action": "exit_and_relogin" + "action": "combat_script", + "action_params": "wait(0.5)", + "locked": false }, { - "id": 4, - "x": -2738.67, - "y": -3427.38, + "id": 3, + "x": -2736.6005859375, + "y": -3415.4443359375, "type": "path", - "move_mode": "dash", - "action": "" + "move_mode": "walk", + "action": "exit_and_relogin", + "action_params": "" } ] } \ No newline at end of file diff --git a/repo/js/AutoFriendshipFight/main.js b/repo/js/AutoFriendshipFight/main.js index bd303fbc5..ea32e7375 100644 --- a/repo/js/AutoFriendshipFight/main.js +++ b/repo/js/AutoFriendshipFight/main.js @@ -232,7 +232,7 @@ function getTargetCoordinates(enemyType) { return { x: 4840.55, y: -3078.01 }; // 这里需要替换为实际的愚人众战斗点坐标 } else { // 盗宝团战斗点坐标 - return { x: -2756.67, y: -3467.63 }; + return { x: -2757.281, y: -3468.437 }; } }