auto artifacts: adapt to gi v5.5 (#468)

This commit is contained in:
Yang-z
2025-03-26 15:49:44 +08:00
committed by GitHub
parent 9b8fa09d49
commit 36921251a2
18 changed files with 175 additions and 117 deletions

View File

@@ -104,8 +104,8 @@
"move_mode": "walk" "move_mode": "walk"
}, },
{ {
"x": -3163.8154296875, "x": -3161.41015625,
"y": -3710.796875, "y": -3712.8056640625,
"type": "path", "type": "path",
"move_mode": "walk" "move_mode": "walk"
}, },

View File

@@ -9,8 +9,7 @@
{ {
"x": 730.2568359375, "x": 730.2568359375,
"y": 1062.2294921875, "y": 1062.2294921875,
"type": "teleport", "type": "teleport"
"move_mode": "walk"
}, },
{ {
"x": 739.3203125, "x": 739.3203125,
@@ -59,8 +58,7 @@
{ {
"x": 730.482421875, "x": 730.482421875,
"y": 1062.408203125, "y": 1062.408203125,
"type": "teleport", "type": "teleport"
"move_mode": "walk"
}, },
{ {
"x": 718.5, "x": 718.5,
@@ -159,10 +157,9 @@
}, },
{ {
"x": 525.5087890625, "x": 534.4443359375,
"y": 906.32080078125, "y": 897.138671875,
"type": "path", "type": "orientation"
"move_mode": "walk"
}, },
{ {
"x": 534.4443359375, "x": 534.4443359375,

View File

@@ -8,22 +8,40 @@
{ {
"x": 1121.0517578125, "x": 1121.0517578125,
"y": 1190.40087890625, "y": 1190.40087890625,
"type": "teleport", "type": "teleport"
"move_mode": "walk"
}, },
{ {
"x": 1134.4013671875, "x": 1124.08203125,
"y": 1255.51416015625, "y": 1212.24755859375,
"type": "path", "type": "path",
"move_mode": "dash" "move_mode": "fly",
"action": "stop_flying"
}, },
{ {
"x": 1142.4873046875, "x": 1127.49609375,
"y": 1269.95556640625, "y": 1252.48828125,
"type": "path",
"move_mode": "run"
},
{
"x": 1130.9638671875,
"y": 1263.8232421875,
"type": "path",
"move_mode": "fly",
"action": "stop_flying"
},
{
"x": 1144.708984375,
"y": 1267.79345703125,
"type": "path", "type": "path",
"move_mode": "walk" "move_mode": "walk"
}, },
{
"x": 1140.642578125,
"y": 1274.60986328125,
"type": "orientation"
},
{ {
"x": 1140.642578125, "x": 1140.642578125,
"y": 1274.60986328125, "y": 1274.60986328125,
@@ -60,29 +78,25 @@
"y": 1284.3994140625, "y": 1284.3994140625,
"type": "target", "type": "target",
"move_mode": "walk", "move_mode": "walk",
"action": "",
"No.": "2" "No.": "2"
}, },
{ {
"x": 1115.29296875, "x": 1115.29296875,
"y": 1284.30615234375, "y": 1284.30615234375,
"type": "orientation", "type": "orientation"
"move_mode": "walk"
}, },
{ {
"x": 1115.29296875, "x": 1115.29296875,
"y": 1284.30615234375, "y": 1284.30615234375,
"type": "target", "type": "target",
"move_mode": "walk", "move_mode": "walk",
"action": "",
"No.": "3" "No.": "3"
}, },
{ {
"x": 1118.2216796875, "x": 1118.2216796875,
"y": 1286.3212890625, "y": 1286.3212890625,
"type": "orientation", "type": "orientation"
"move_mode": "walk"
}, },
{ {
"x": 1118.2216796875, "x": 1118.2216796875,
@@ -91,14 +105,24 @@
"move_mode": "walk" "move_mode": "walk"
}, },
{ {
"x": 1114.53515625, "x": 1113.8134765625,
"y": 1287.65185546875, "y": 1289.39453125,
"type": "orientation"
},
{
"x": 1113.8134765625,
"y": 1289.39453125,
"type": "path", "type": "path",
"move_mode": "walk" "move_mode": "walk"
}, },
{ {
"x": 1111.4091796875, "x": 1112.013671875,
"y": 1282.98388671875, "y": 1283.3876953125,
"type": "orientation"
},
{
"x": 1112.013671875,
"y": 1283.3876953125,
"type": "path", "type": "path",
"move_mode": "walk" "move_mode": "walk"
}, },
@@ -126,7 +150,6 @@
"y": 1257.51513671875, "y": 1257.51513671875,
"type": "target", "type": "target",
"move_mode": "walk", "move_mode": "walk",
"action": "",
"No.": "4" "No.": "4"
}, },
@@ -147,7 +170,6 @@
"y": 1252.08203125, "y": 1252.08203125,
"type": "target", "type": "target",
"move_mode": "walk", "move_mode": "walk",
"action": "",
"No.": "5" "No.": "5"
}, },
{ {
@@ -155,9 +177,7 @@
"y": 1251.54443359375, "y": 1251.54443359375,
"type": "target", "type": "target",
"move_mode": "walk", "move_mode": "walk",
"action": "",
"No.": "5" "No.": "5"
} }
] ]
} }

View File

@@ -162,6 +162,8 @@
"y": -650.712890625, "y": -650.712890625,
"type": "target", "type": "target",
"move_mode": "walk", "move_mode": "walk",
"action": "combat_script",
"action_params": "wait(0.8)",
"#": "9" "#": "9"
}, },
{ {

View File

@@ -23,39 +23,49 @@
"type": "path", "type": "path",
"move_mode": "dash" "move_mode": "dash"
}, },
{
"x": -436.6220703125,
"y": 1190.56005859375,
"type": "path",
"move_mode": "dash"
},
{ {
"x": -473.318359375, "x": -473.318359375,
"y": 1170.80029296875, "y": 1170.80029296875,
"type": "path", "type": "path",
"move_mode": "dash" "move_mode": "run"
}, },
{ {
"x": -496.7890625, "x": -496.404296875,
"y": 1148.134765625, "y": 1148.88818359375,
"type": "path", "type": "path",
"move_mode": "dash" "move_mode": "dash"
}, },
{
"x": -508.4365234375,
"y": 1149.64013671875,
"type": "orientation"
},
{ {
"x": -508.7666015625, "x": -509.2255859375,
"y": 1148.521484375, "y": 1148.90234375,
"type": "target", "type": "target",
"move_mode": "walk", "move_mode": "walk",
"action":"1 2" "action":"1 2"
}, },
{ {
"x": -509.962890625, "x": -510.0771484375,
"y": 1146.2255859375, "y": 1146.16015625,
"type": "target", "type": "target",
"move_mode": "walk", "move_mode": "walk",
"action":"3" "action":"3"
}, },
{ {
"x": -510.00390625, "x": -511.048828125,
"y": 1146.1943359375, "y": 1143.35888671875,
"type": "target", "type": "path",
"move_mode": "walk", "move_mode": "walk"
"action":"3"
} }
] ]
} }

View File

@@ -29,13 +29,8 @@
"y": 3607.502685546875, "y": 3607.502685546875,
"type": "target", "type": "target",
"move_mode": "walk", "move_mode": "walk",
"#" : "1" "action": "combat_script",
}, "action_params": "wait(0.8)",
{
"x": 4455.14306640625,
"y": 3607.502685546875,
"type": "target",
"move_mode": "walk",
"#" : "1" "#" : "1"
}, },

View File

@@ -30,12 +30,13 @@
"#": "1" "#": "1"
}, },
{ {
"x": 4604.48583984375, "x": 4604.587890625,
"y": 4934.646484375, "y": 4933.91796875,
"type": "target", "type": "target",
"move_mode": "walk", "move_mode": "run",
"#": "1" "#": "1"
}, },
{ {
"x": 4609.60595703125, "x": 4609.60595703125,
"y": 4937.71826171875, "y": 4937.71826171875,

View File

@@ -87,9 +87,13 @@
}, },
{ {
"x0": 4568.73779296875, "x": 4569.19482421875,
"x": 4568.23779296875, "y": 4826.39501953125,
"y": 4826.36181640625, "type": "orientation"
},
{
"x": 4569.19482421875,
"y": 4826.39501953125,
"type": "target", "type": "target",
"move_mode": "walk", "move_mode": "walk",
"action": "combat_script", "action": "combat_script",

View File

@@ -177,10 +177,10 @@
click(660, 1010); await sleep(1000); // 分解 click(660, 1010); await sleep(1000); // 分解
click(300, 1020); await sleep(1000); // 快速选择 click(300, 1020); await sleep(1000); // 快速选择
click(200, 140); await sleep(500); // 1 // click(200, 140); await sleep(500); // 1
click(200, 220); await sleep(500); // 2 // click(200, 220); await sleep(500); // 2
click(200, 300); await sleep(500); // 3 // click(200, 300); await sleep(500); // 3
if (autoSalvage4) click(200, 380); await sleep(500); // 4 if (!autoSalvage4) { click(200, 380); await sleep(500); } // 4
click(340, 1000); await sleep(1000); // 确认选择 click(340, 1000); await sleep(1000); // 确认选择
click(1720, 1015); await sleep(1500); // 分解 click(1720, 1015); await sleep(1500); // 分解

View File

@@ -1,7 +1,7 @@
{ {
"manifest_version": 1, "manifest_version": 1,
"name": "狗粮ABE路线自动拾取分解", "name": "狗粮ABE路线自动拾取分解",
"version": "2.4.1", "version": "2.5.0",
"bgi_version": "0.42.0", "bgi_version": "0.42.0",
"description": "圣遗物狗粮AB及额外路线自动轮换自动分解就近恢复。", "description": "圣遗物狗粮AB及额外路线自动轮换自动分解就近恢复。",
"authors": [ "authors": [

View File

@@ -104,8 +104,8 @@
"move_mode": "walk" "move_mode": "walk"
}, },
{ {
"x": -3163.8154296875, "x": -3161.41015625,
"y": -3710.796875, "y": -3712.8056640625,
"type": "path", "type": "path",
"move_mode": "walk" "move_mode": "walk"
}, },

View File

@@ -9,8 +9,7 @@
{ {
"x": 730.2568359375, "x": 730.2568359375,
"y": 1062.2294921875, "y": 1062.2294921875,
"type": "teleport", "type": "teleport"
"move_mode": "walk"
}, },
{ {
"x": 739.3203125, "x": 739.3203125,
@@ -59,8 +58,7 @@
{ {
"x": 730.482421875, "x": 730.482421875,
"y": 1062.408203125, "y": 1062.408203125,
"type": "teleport", "type": "teleport"
"move_mode": "walk"
}, },
{ {
"x": 718.5, "x": 718.5,
@@ -159,10 +157,9 @@
}, },
{ {
"x": 525.5087890625, "x": 534.4443359375,
"y": 906.32080078125, "y": 897.138671875,
"type": "path", "type": "orientation"
"move_mode": "walk"
}, },
{ {
"x": 534.4443359375, "x": 534.4443359375,

View File

@@ -8,22 +8,40 @@
{ {
"x": 1121.0517578125, "x": 1121.0517578125,
"y": 1190.40087890625, "y": 1190.40087890625,
"type": "teleport", "type": "teleport"
"move_mode": "walk"
}, },
{ {
"x": 1134.4013671875, "x": 1124.08203125,
"y": 1255.51416015625, "y": 1212.24755859375,
"type": "path", "type": "path",
"move_mode": "dash" "move_mode": "fly",
"action": "stop_flying"
}, },
{ {
"x": 1142.4873046875, "x": 1127.49609375,
"y": 1269.95556640625, "y": 1252.48828125,
"type": "path",
"move_mode": "run"
},
{
"x": 1130.9638671875,
"y": 1263.8232421875,
"type": "path",
"move_mode": "fly",
"action": "stop_flying"
},
{
"x": 1144.708984375,
"y": 1267.79345703125,
"type": "path", "type": "path",
"move_mode": "walk" "move_mode": "walk"
}, },
{
"x": 1140.642578125,
"y": 1274.60986328125,
"type": "orientation"
},
{ {
"x": 1140.642578125, "x": 1140.642578125,
"y": 1274.60986328125, "y": 1274.60986328125,
@@ -60,29 +78,25 @@
"y": 1284.3994140625, "y": 1284.3994140625,
"type": "target", "type": "target",
"move_mode": "walk", "move_mode": "walk",
"action": "",
"No.": "2" "No.": "2"
}, },
{ {
"x": 1115.29296875, "x": 1115.29296875,
"y": 1284.30615234375, "y": 1284.30615234375,
"type": "orientation", "type": "orientation"
"move_mode": "walk"
}, },
{ {
"x": 1115.29296875, "x": 1115.29296875,
"y": 1284.30615234375, "y": 1284.30615234375,
"type": "target", "type": "target",
"move_mode": "walk", "move_mode": "walk",
"action": "",
"No.": "3" "No.": "3"
}, },
{ {
"x": 1118.2216796875, "x": 1118.2216796875,
"y": 1286.3212890625, "y": 1286.3212890625,
"type": "orientation", "type": "orientation"
"move_mode": "walk"
}, },
{ {
"x": 1118.2216796875, "x": 1118.2216796875,
@@ -91,14 +105,24 @@
"move_mode": "walk" "move_mode": "walk"
}, },
{ {
"x": 1114.53515625, "x": 1113.8134765625,
"y": 1287.65185546875, "y": 1289.39453125,
"type": "orientation"
},
{
"x": 1113.8134765625,
"y": 1289.39453125,
"type": "path", "type": "path",
"move_mode": "walk" "move_mode": "walk"
}, },
{ {
"x": 1111.4091796875, "x": 1112.013671875,
"y": 1282.98388671875, "y": 1283.3876953125,
"type": "orientation"
},
{
"x": 1112.013671875,
"y": 1283.3876953125,
"type": "path", "type": "path",
"move_mode": "walk" "move_mode": "walk"
}, },
@@ -126,7 +150,6 @@
"y": 1257.51513671875, "y": 1257.51513671875,
"type": "target", "type": "target",
"move_mode": "walk", "move_mode": "walk",
"action": "",
"No.": "4" "No.": "4"
}, },
@@ -147,7 +170,6 @@
"y": 1252.08203125, "y": 1252.08203125,
"type": "target", "type": "target",
"move_mode": "walk", "move_mode": "walk",
"action": "",
"No.": "5" "No.": "5"
}, },
{ {
@@ -155,9 +177,7 @@
"y": 1251.54443359375, "y": 1251.54443359375,
"type": "target", "type": "target",
"move_mode": "walk", "move_mode": "walk",
"action": "",
"No.": "5" "No.": "5"
} }
] ]
} }

View File

@@ -162,6 +162,8 @@
"y": -650.712890625, "y": -650.712890625,
"type": "target", "type": "target",
"move_mode": "walk", "move_mode": "walk",
"action": "combat_script",
"action_params": "wait(0.8)",
"#": "9" "#": "9"
}, },
{ {

View File

@@ -23,39 +23,49 @@
"type": "path", "type": "path",
"move_mode": "dash" "move_mode": "dash"
}, },
{
"x": -436.6220703125,
"y": 1190.56005859375,
"type": "path",
"move_mode": "dash"
},
{ {
"x": -473.318359375, "x": -473.318359375,
"y": 1170.80029296875, "y": 1170.80029296875,
"type": "path", "type": "path",
"move_mode": "dash" "move_mode": "run"
}, },
{ {
"x": -496.7890625, "x": -496.404296875,
"y": 1148.134765625, "y": 1148.88818359375,
"type": "path", "type": "path",
"move_mode": "dash" "move_mode": "dash"
}, },
{
"x": -508.4365234375,
"y": 1149.64013671875,
"type": "orientation"
},
{ {
"x": -508.7666015625, "x": -509.2255859375,
"y": 1148.521484375, "y": 1148.90234375,
"type": "target", "type": "target",
"move_mode": "walk", "move_mode": "walk",
"action":"1 2" "action":"1 2"
}, },
{ {
"x": -509.962890625, "x": -510.0771484375,
"y": 1146.2255859375, "y": 1146.16015625,
"type": "target", "type": "target",
"move_mode": "walk", "move_mode": "walk",
"action":"3" "action":"3"
}, },
{ {
"x": -510.00390625, "x": -511.048828125,
"y": 1146.1943359375, "y": 1143.35888671875,
"type": "target", "type": "path",
"move_mode": "walk", "move_mode": "walk"
"action":"3"
} }
] ]
} }

View File

@@ -29,13 +29,8 @@
"y": 3607.502685546875, "y": 3607.502685546875,
"type": "target", "type": "target",
"move_mode": "walk", "move_mode": "walk",
"#" : "1" "action": "combat_script",
}, "action_params": "wait(0.8)",
{
"x": 4455.14306640625,
"y": 3607.502685546875,
"type": "target",
"move_mode": "walk",
"#" : "1" "#" : "1"
}, },

View File

@@ -30,12 +30,13 @@
"#": "1" "#": "1"
}, },
{ {
"x": 4604.48583984375, "x": 4604.587890625,
"y": 4934.646484375, "y": 4933.91796875,
"type": "target", "type": "target",
"move_mode": "walk", "move_mode": "run",
"#": "1" "#": "1"
}, },
{ {
"x": 4609.60595703125, "x": 4609.60595703125,
"y": 4937.71826171875, "y": 4937.71826171875,

View File

@@ -87,9 +87,13 @@
}, },
{ {
"x0": 4568.73779296875, "x": 4569.19482421875,
"x": 4568.23779296875, "y": 4826.39501953125,
"y": 4826.36181640625, "type": "orientation"
},
{
"x": 4569.19482421875,
"y": 4826.39501953125,
"type": "target", "type": "target",
"move_mode": "walk", "move_mode": "walk",
"action": "combat_script", "action": "combat_script",