js:锄地一条龙1.9.8 (#2240)

1.修复了不使用模板匹配时sort方法报错的问题
2.修改路线7102,一只霜夜灵嗣超进化了
This commit is contained in:
mno
2025-10-25 12:28:20 +08:00
committed by GitHub
parent 0cd13c7e1c
commit b5150bda06
3 changed files with 6 additions and 9 deletions

View File

@@ -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++) {

View File

@@ -1,7 +1,7 @@
{
"manifest_version": 1,
"name": "锄地一条龙",
"version": "1.9.7",
"version": "1.9.8",
"description": "一站式解决自动化锄地支持只拾取狗粮请仔细阅读README.md后使用",
"authors": [
{

View File

@@ -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,