js(战斗好感): 盗宝团优化路线 (#929)

* Add files via upload

* Update main.js
This commit is contained in:
2025-05-26 21:13:52 +08:00
committed by GitHub
parent 64753d75aa
commit 83b152df9a
4 changed files with 37 additions and 36 deletions

View File

@@ -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": ""
}
]
}

View File

@@ -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"
}
]
}

View File

@@ -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": ""
}
]
}

View File

@@ -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 };
}
}