mirror of
https://github.com/babalae/bettergi-scripts-list.git
synced 2026-03-16 03:33:25 +08:00
js:提瓦特扫描仪 AAA狗粮团购 (#1705)
This commit is contained in:
@@ -2,3 +2,7 @@
|
||||
|
||||
路线有问题去超市汐佬
|
||||
|
||||
配置方法:啥也不用配置,记得在狗粮批发那边勾选联机狗粮选项
|
||||
|
||||
分解和统计功能暂时懒得做,经验自己数
|
||||
|
||||
|
||||
@@ -0,0 +1,246 @@
|
||||
{
|
||||
"info": {
|
||||
"name": "01【额外】稻妻-踏鞴砂大炮点5",
|
||||
"type": "collect",
|
||||
"authors": [
|
||||
{
|
||||
"name": "汐",
|
||||
"links": ""
|
||||
}
|
||||
],
|
||||
"version": "1.0",
|
||||
"description": "",
|
||||
"map_name": "Teyvat",
|
||||
"bgi_version": "0.45.0",
|
||||
"tags": [],
|
||||
"last_modified_time": 1753124058473,
|
||||
"enable_monster_loot_split": false
|
||||
},
|
||||
"positions": [
|
||||
{
|
||||
"id": 1,
|
||||
"x": -3236.439453125,
|
||||
"y": -3533.951171875,
|
||||
"action": "",
|
||||
"move_mode": "walk",
|
||||
"action_params": "",
|
||||
"type": "teleport"
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"x": -3247.587890625,
|
||||
"y": -3539.9248046875,
|
||||
"action": "",
|
||||
"move_mode": "dash",
|
||||
"action_params": "",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"x": -3278.250023700497,
|
||||
"y": -3540.438212424282,
|
||||
"action": "stop_flying",
|
||||
"move_mode": "fly",
|
||||
"action_params": "",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"x": -3276.6572265625,
|
||||
"y": -3544.4013671875,
|
||||
"action": "combat_script",
|
||||
"move_mode": "walk",
|
||||
"action_params": "keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f),a(0.2);万叶 attack(0.08),keydown(E),wait(0.7),keyup(E),attack(0.2),wait(0.5);琴 attack(0.08),keydown(E),wait(0.4),moveby(1000,0),wait(0.2),moveby(1000,0),wait(0.2),moveby(1000,0),wait(0.2),moveby(1000,-3500),wait(1.8),keyup(E),wait(0.3),click(middle);",
|
||||
"type": "target"
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"x": -3016.8056640625,
|
||||
"y": -3623.626953125,
|
||||
"action": "",
|
||||
"move_mode": "walk",
|
||||
"action_params": "",
|
||||
"type": "teleport"
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"x": -3040.125237004977,
|
||||
"y": -3608.999242101827,
|
||||
"action": "",
|
||||
"move_mode": "run",
|
||||
"action_params": "",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"x": -3074.1253397071323,
|
||||
"y": -3578.2522736945193,
|
||||
"action": "",
|
||||
"move_mode": "dash",
|
||||
"action_params": "",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"x": -3109.0632327403855,
|
||||
"y": -3564.844113791123,
|
||||
"action": "",
|
||||
"move_mode": "run",
|
||||
"action_params": "",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 9,
|
||||
"x": -3113.9374209983416,
|
||||
"y": -3571.280939261749,
|
||||
"action": "combat_script",
|
||||
"move_mode": "dash",
|
||||
"action_params": "keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f),keypress(x);万叶 attack(0.08),keydown(E),wait(0.51),keyup(E),attack(0.2),wait(0.5);琴 attack(0.08),keydown(E),wait(0.4),moveby(1000,0),wait(0.2),moveby(1000,0),wait(0.2),moveby(1000,0),wait(0.2),moveby(1000,-3500),wait(1.8),keyup(E),wait(0.3),click(middle);",
|
||||
"type": "target"
|
||||
},
|
||||
{
|
||||
"id": 10,
|
||||
"x": -3115.124970374378,
|
||||
"y": -3571.7186438942554,
|
||||
"action": "combat_script",
|
||||
"move_mode": "walk",
|
||||
"action_params": "keypress(f),wait(0.2),keypress(f)",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 11,
|
||||
"x": -3109.0000316006626,
|
||||
"y": -3564.8438030528723,
|
||||
"action": "",
|
||||
"move_mode": "dash",
|
||||
"action_params": "",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 12,
|
||||
"x": -3100.468753950083,
|
||||
"y": -3480.6870452610965,
|
||||
"action": "",
|
||||
"move_mode": "dash",
|
||||
"action_params": "",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 13,
|
||||
"x": -3096.4687519750423,
|
||||
"y": -3479.9685377885107,
|
||||
"action": "combat_script",
|
||||
"move_mode": "walk",
|
||||
"action_params": "keypress(f),wait(0.2),keypress(f)",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 14,
|
||||
"x": -3095.8125079001657,
|
||||
"y": -3477.156219684073,
|
||||
"action": "combat_script",
|
||||
"move_mode": "fly",
|
||||
"action_params": "keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f)",
|
||||
"type": "target"
|
||||
},
|
||||
{
|
||||
"id": 15,
|
||||
"x": -3098.966796875,
|
||||
"y": -3478.0517578125,
|
||||
"type": "path",
|
||||
"move_mode": "walk",
|
||||
"action": "combat_script",
|
||||
"action_params": "keypress(f);万叶 attack(0.08),keydown(E),wait(0.7),keyup(E),attack(0.2),wait(0.5);琴 attack(0.08),keydown(E),wait(0.4),moveby(1000,0),wait(0.2),moveby(1000,0),wait(0.2),moveby(1000,0),wait(0.2),moveby(1000,-3500),wait(1.8),keyup(E),wait(0.3),click(middle);"
|
||||
},
|
||||
{
|
||||
"id": 16,
|
||||
"x": -3156.6171875,
|
||||
"y": -3886.07421875,
|
||||
"action": "",
|
||||
"move_mode": "walk",
|
||||
"action_params": "",
|
||||
"type": "teleport"
|
||||
},
|
||||
{
|
||||
"id": 17,
|
||||
"x": -3177.130859375,
|
||||
"y": -3862.318359375,
|
||||
"action": "",
|
||||
"move_mode": "run",
|
||||
"action_params": "",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 18,
|
||||
"x": -3190.5712890625,
|
||||
"y": -3857.5703125,
|
||||
"action": "combat_script",
|
||||
"move_mode": "fly",
|
||||
"action_params": "keypress(VK_SPACE),wait(2.5),click",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 19,
|
||||
"x": -3228.685546875,
|
||||
"y": -3848.0908203125,
|
||||
"action": "",
|
||||
"move_mode": "dash",
|
||||
"action_params": "",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 20,
|
||||
"x": -3228.562496049917,
|
||||
"y": -3839.6248938942554,
|
||||
"action": "combat_script",
|
||||
"move_mode": "walk",
|
||||
"action_params": "keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f)",
|
||||
"type": "target"
|
||||
},
|
||||
{
|
||||
"id": 21,
|
||||
"x": -3260.33984375,
|
||||
"y": -3859.4716796875,
|
||||
"action": "",
|
||||
"move_mode": "dash",
|
||||
"action_params": "",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 22,
|
||||
"x": -3273.0625,
|
||||
"y": -3879.003762623488,
|
||||
"action": "stop_flying",
|
||||
"move_mode": "fly",
|
||||
"action_params": "",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 23,
|
||||
"x": -3298.0312480249577,
|
||||
"y": -3918.9686059993473,
|
||||
"action": "combat_script",
|
||||
"move_mode": "dash",
|
||||
"action_params": "keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f)",
|
||||
"type": "target"
|
||||
},
|
||||
{
|
||||
"id": 24,
|
||||
"x": -3300.468773700497,
|
||||
"y": -3918.000037894908,
|
||||
"action": "combat_script",
|
||||
"move_mode": "walk",
|
||||
"action_params": "keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f);万叶 attack(0.08),keydown(E),wait(0.7),keyup(E),attack(0.2),wait(0.5);琴 attack(0.08),keydown(E),wait(0.4),moveby(1000,0),wait(0.2),moveby(1000,0),wait(0.2),moveby(1000,0),wait(0.2),moveby(1000,-3500),wait(1.8),keyup(E),wait(0.3),click(middle);",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 25,
|
||||
"x": -3300.468773700497,
|
||||
"y": -3918.000037894908,
|
||||
"action": "set_time",
|
||||
"move_mode": "walk",
|
||||
"action_params": "06:00",
|
||||
"type": "orientation"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,280 @@
|
||||
{
|
||||
"info": {
|
||||
"authors": [
|
||||
{
|
||||
"links": "",
|
||||
"name": "汐"
|
||||
}
|
||||
],
|
||||
"bgi_version": "0.45.0",
|
||||
"description": "",
|
||||
"enable_monster_loot_split": false,
|
||||
"last_modified_time": 1755960748548,
|
||||
"map_match_method": "",
|
||||
"map_name": "Teyvat",
|
||||
"name": "02【额外】须弥-水天丛林7",
|
||||
"tags": [],
|
||||
"type": "collect",
|
||||
"version": ""
|
||||
},
|
||||
"positions": [
|
||||
{
|
||||
"action": "",
|
||||
"id": 1,
|
||||
"move_mode": "walk",
|
||||
"type": "teleport",
|
||||
"x": 3128.6962890625,
|
||||
"y": -1734.62841796875
|
||||
},
|
||||
{
|
||||
"action": "log_output",
|
||||
"action_params": "[额外点-水天丛林]如果没有\"降水位\"全程在水里游不懂这边在干什么?\n麻烦去bilibili搜相关攻略!!!",
|
||||
"id": 2,
|
||||
"move_mode": "walk",
|
||||
"type": "orientation",
|
||||
"x": 3162.83740234375,
|
||||
"y": -1776.4501953125
|
||||
},
|
||||
{
|
||||
"action": "stop_flying",
|
||||
"action_params": "5000",
|
||||
"id": 3,
|
||||
"move_mode": "fly",
|
||||
"type": "path",
|
||||
"x": 3162.83740234375,
|
||||
"y": -1776.4501953125
|
||||
},
|
||||
{
|
||||
"action": "combat_script",
|
||||
"action_params": "keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f)",
|
||||
"id": 4,
|
||||
"move_mode": "walk",
|
||||
"type": "target",
|
||||
"x": 3162.83740234375,
|
||||
"y": -1776.4501953125
|
||||
},
|
||||
{
|
||||
"action": "",
|
||||
"id": 5,
|
||||
"move_mode": "walk",
|
||||
"type": "path",
|
||||
"x": 3165.9248046875,
|
||||
"y": -1770.85107421875
|
||||
},
|
||||
{
|
||||
"action": "",
|
||||
"id": 6,
|
||||
"move_mode": "dash",
|
||||
"type": "path",
|
||||
"x": 3175.1484375,
|
||||
"y": -1776.59130859375
|
||||
},
|
||||
{
|
||||
"action": "",
|
||||
"action_params": "",
|
||||
"id": 7,
|
||||
"move_mode": "walk",
|
||||
"type": "target",
|
||||
"x": 3178.7470703125,
|
||||
"y": -1766.18896484375
|
||||
},
|
||||
{
|
||||
"action": "",
|
||||
"id": 8,
|
||||
"move_mode": "dash",
|
||||
"type": "path",
|
||||
"x": 3185.72119140625,
|
||||
"y": -1755.3798828125
|
||||
},
|
||||
{
|
||||
"action": "",
|
||||
"action_params": "",
|
||||
"id": 9,
|
||||
"move_mode": "dash",
|
||||
"type": "path",
|
||||
"x": 3175.1171875,
|
||||
"y": -1734.619140625
|
||||
},
|
||||
{
|
||||
"action": "combat_script",
|
||||
"action_params": "keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f)",
|
||||
"id": 10,
|
||||
"move_mode": "dash",
|
||||
"type": "target",
|
||||
"x": 3177.01318359375,
|
||||
"y": -1719.6650390625
|
||||
},
|
||||
{
|
||||
"action": "",
|
||||
"action_params": "",
|
||||
"id": 11,
|
||||
"move_mode": "run",
|
||||
"type": "path",
|
||||
"x": 3200.78125,
|
||||
"y": -1725.468252005715
|
||||
},
|
||||
{
|
||||
"action": "",
|
||||
"action_params": "",
|
||||
"id": 12,
|
||||
"move_mode": "dash",
|
||||
"type": "path",
|
||||
"x": 3212.3544921875,
|
||||
"y": -1695.31396484375
|
||||
},
|
||||
{
|
||||
"action": "",
|
||||
"id": 13,
|
||||
"move_mode": "dash",
|
||||
"type": "path",
|
||||
"x": 3239.5,
|
||||
"y": -1671.6881086596813
|
||||
},
|
||||
{
|
||||
"action": "combat_script",
|
||||
"action_params": "keypress(f),wait(0.2),keypress(f)keypress(f);芙宁娜 e;",
|
||||
"id": 14,
|
||||
"move_mode": "dash",
|
||||
"type": "target",
|
||||
"x": 3243.9375118502485,
|
||||
"y": -1676.0623635783286
|
||||
},
|
||||
{
|
||||
"action": "",
|
||||
"action_params": "",
|
||||
"id": 15,
|
||||
"move_mode": "walk",
|
||||
"type": "path",
|
||||
"x": 3247.74853515625,
|
||||
"y": -1670.6923828125
|
||||
},
|
||||
{
|
||||
"action": "combat_script",
|
||||
"action_params": "keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f);万叶 attack(0.08),keydown(E),wait(0.51),keyup(E),attack(0.2),wait(0.5);琴 attack(0.08),keydown(E),wait(0.4),moveby(1000,0),wait(0.2),moveby(1000,0),wait(0.2),moveby(1000,0),wait(0.2),moveby(1000,-3500),wait(1.8),keyup(E),wait(0.3),click(middle);芙宁娜 e;",
|
||||
"id": 16,
|
||||
"move_mode": "climb",
|
||||
"type": "target",
|
||||
"x": 3247.68753950083,
|
||||
"y": -1668.0624696840732
|
||||
},
|
||||
{
|
||||
"action": "",
|
||||
"id": 17,
|
||||
"move_mode": "dash",
|
||||
"type": "path",
|
||||
"x": 3280.98681640625,
|
||||
"y": -1663.34814453125
|
||||
},
|
||||
{
|
||||
"action": "combat_script",
|
||||
"action_params": "keypress(f);芙宁娜 e;",
|
||||
"id": 18,
|
||||
"move_mode": "run",
|
||||
"type": "path",
|
||||
"x": 3303.05859375,
|
||||
"y": -1658.505859375
|
||||
},
|
||||
{
|
||||
"action": "",
|
||||
"id": 19,
|
||||
"move_mode": "dash",
|
||||
"type": "path",
|
||||
"x": 3326.64697265625,
|
||||
"y": -1620.5849609375
|
||||
},
|
||||
{
|
||||
"action": "combat_script",
|
||||
"action_params": "keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f);万叶 attack(0.08),keydown(E),wait(0.51),keyup(E),attack(0.2),wait(0.5);琴 attack(0.08),keydown(E),wait(0.4),moveby(1000,0),wait(0.2),moveby(1000,0),wait(0.2),moveby(1000,0),wait(0.2),moveby(1000,-3500),wait(1.8),keyup(E),wait(0.3),click(middle);",
|
||||
"id": 20,
|
||||
"move_mode": "dash",
|
||||
"type": "target",
|
||||
"x": 3333.64697265625,
|
||||
"y": -1609.584960937501
|
||||
},
|
||||
{
|
||||
"action": "",
|
||||
"id": 21,
|
||||
"move_mode": "run",
|
||||
"type": "path",
|
||||
"x": 3341.15234375,
|
||||
"y": -1621.7734375
|
||||
},
|
||||
{
|
||||
"action": "",
|
||||
"id": 22,
|
||||
"move_mode": "run",
|
||||
"type": "path",
|
||||
"x": 3352.87890625,
|
||||
"y": -1650.6552734375
|
||||
},
|
||||
{
|
||||
"action": "",
|
||||
"id": 23,
|
||||
"move_mode": "dash",
|
||||
"type": "path",
|
||||
"x": 3343.59326171875,
|
||||
"y": -1723.4775390625
|
||||
},
|
||||
{
|
||||
"action": "combat_script",
|
||||
"action_params": "keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f);万叶 attack(0.08),keydown(E),wait(0.51),keyup(E),attack(0.2),wait(0.5);琴 attack(0.08),keydown(E),wait(0.4),moveby(1000,0),wait(0.2),moveby(1000,0),wait(0.2),moveby(1000,0),wait(0.2),moveby(1000,-3500),wait(1.8),keyup(E),wait(0.3),click(middle);芙宁娜 attack(0.08),e;",
|
||||
"id": 24,
|
||||
"move_mode": "climb",
|
||||
"type": "target",
|
||||
"x": 3330.30322265625,
|
||||
"y": -1734.029296875
|
||||
},
|
||||
{
|
||||
"action": "combat_script",
|
||||
"action_params": "keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f)",
|
||||
"id": 25,
|
||||
"move_mode": "dash",
|
||||
"type": "target",
|
||||
"x": 3301.59375,
|
||||
"y": -1787.4057630722546
|
||||
},
|
||||
{
|
||||
"action": "",
|
||||
"id": 26,
|
||||
"move_mode": "dash",
|
||||
"type": "path",
|
||||
"x": 3282.2421875,
|
||||
"y": -1822.77490234375
|
||||
},
|
||||
{
|
||||
"action": "combat_script",
|
||||
"action_params": "keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f);万叶 attack(0.08),keydown(E),wait(0.51),keyup(E),attack(0.2),wait(0.5);琴 attack(0.08),keydown(E),wait(0.4),moveby(1000,0),wait(0.2),moveby(1000,0),wait(0.2),moveby(1000,0),wait(0.2),moveby(1000,-3500),wait(1.8),keyup(E),wait(0.3),click(middle);",
|
||||
"id": 27,
|
||||
"move_mode": "dash",
|
||||
"type": "target",
|
||||
"x": 3234.1875,
|
||||
"y": -1829.9999336007622
|
||||
},
|
||||
{
|
||||
"action": "",
|
||||
"id": 28,
|
||||
"move_mode": "jump",
|
||||
"type": "path",
|
||||
"x": 3223.75,
|
||||
"y": -1830.7515050493948
|
||||
},
|
||||
{
|
||||
"action": "combat_script",
|
||||
"action_params": "keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f);万叶 attack(0.08),keydown(E),wait(0.51),keyup(E),attack(0.2),wait(0.5);琴 attack(0.08),keydown(E),wait(0.4),moveby(1000,0),wait(0.2),moveby(1000,0),wait(0.2),moveby(1000,0),wait(0.2),moveby(1000,-3500),wait(1.8),keyup(E),wait(0.3),click(middle);",
|
||||
"id": 29,
|
||||
"move_mode": "dash",
|
||||
"type": "target",
|
||||
"x": 3204.9062085241294,
|
||||
"y": -1832.2812272630545
|
||||
},
|
||||
{
|
||||
"action": "",
|
||||
"action_params": "",
|
||||
"id": 30,
|
||||
"move_mode": "walk",
|
||||
"type": "path",
|
||||
"x": 3202.5625,
|
||||
"y": -1832.1875
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,93 @@
|
||||
{
|
||||
"info": {
|
||||
"name": "03【额外】须弥-凡爷屋顶罐子1",
|
||||
"type": "collect",
|
||||
"authors": [
|
||||
{
|
||||
"name": "汐",
|
||||
"links": ""
|
||||
}
|
||||
],
|
||||
"version": "1.0",
|
||||
"description": "",
|
||||
"map_name": "Teyvat",
|
||||
"bgi_version": "0.45.0",
|
||||
"tags": [],
|
||||
"last_modified_time": 1752762953297,
|
||||
"enable_monster_loot_split": false
|
||||
},
|
||||
"positions": [
|
||||
{
|
||||
"id": 1,
|
||||
"x": 4403.0673828125,
|
||||
"y": -1870.4541015625,
|
||||
"action": "",
|
||||
"move_mode": "walk",
|
||||
"action_params": "",
|
||||
"type": "teleport"
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"x": 4390.72265625,
|
||||
"y": -1875.52783203125,
|
||||
"action": "",
|
||||
"move_mode": "walk",
|
||||
"action_params": "",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"x": 4302.42431640625,
|
||||
"y": -1889.50146484375,
|
||||
"action": "combat_script",
|
||||
"move_mode": "dash",
|
||||
"action_params": "keypress(t),wait(2.5),keypress(t),wait(0.5),keypress(t),wait(1.6),keypress(t),wait(0.5),keypress(t),wait(0.5),keypress(t)",
|
||||
"type": "orientation"
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"x": 4240.0224609375,
|
||||
"y": -1850.310546875,
|
||||
"action": "",
|
||||
"move_mode": "dash",
|
||||
"action_params": "",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"x": 4215.19921875,
|
||||
"y": -1831.75830078125,
|
||||
"action": "combat_script",
|
||||
"move_mode": "walk",
|
||||
"action_params": "keypress(t),wait(0.3),keypress(t),wait(0.3),keypress(t)",
|
||||
"type": "orientation"
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"x": 4157.42041015625,
|
||||
"y": -1827.27734375,
|
||||
"action": "",
|
||||
"move_mode": "dash",
|
||||
"action_params": "",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"x": 4118.218726299502,
|
||||
"y": -1832.15625,
|
||||
"action": "stop_flying",
|
||||
"move_mode": "fly",
|
||||
"action_params": "",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"x": 4114.74658203125,
|
||||
"y": -1835.58154296875,
|
||||
"action": "combat_script",
|
||||
"move_mode": "walk",
|
||||
"action_params": "keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f),",
|
||||
"type": "target"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,155 @@
|
||||
{
|
||||
"info": {
|
||||
"authors": [
|
||||
{
|
||||
"links": "",
|
||||
"name": "汐"
|
||||
}
|
||||
],
|
||||
"bgi_version": "0.45.0",
|
||||
"description": "",
|
||||
"enable_monster_loot_split": false,
|
||||
"last_modified_time": 1755889573606,
|
||||
"map_match_method": "",
|
||||
"map_name": "Teyvat",
|
||||
"name": "04【额外】枫丹-科学院瓶子3",
|
||||
"tags": [],
|
||||
"type": "collect",
|
||||
"version": ""
|
||||
},
|
||||
"positions": [
|
||||
{
|
||||
"action": "",
|
||||
"id": 1,
|
||||
"move_mode": "walk",
|
||||
"type": "teleport",
|
||||
"x": 4301.3232421875,
|
||||
"y": 4764.947265625
|
||||
},
|
||||
{
|
||||
"action": "",
|
||||
"action_params": "",
|
||||
"id": 2,
|
||||
"move_mode": "run",
|
||||
"type": "path",
|
||||
"x": 4274.67578125,
|
||||
"y": 4763.36572265625
|
||||
},
|
||||
{
|
||||
"action": "",
|
||||
"action_params": "",
|
||||
"id": 3,
|
||||
"move_mode": "dash",
|
||||
"type": "path",
|
||||
"x": 4263.67822265625,
|
||||
"y": 4730.74853515625
|
||||
},
|
||||
{
|
||||
"action": "stop_flying",
|
||||
"action_params": "",
|
||||
"id": 4,
|
||||
"move_mode": "fly",
|
||||
"type": "path",
|
||||
"x": 4282.37548828125,
|
||||
"y": 4658.40869140625
|
||||
},
|
||||
{
|
||||
"action": "",
|
||||
"action_params": "",
|
||||
"id": 5,
|
||||
"move_mode": "dash",
|
||||
"type": "path",
|
||||
"x": 4279.187606652239,
|
||||
"y": 4592.75
|
||||
},
|
||||
{
|
||||
"action": "combat_script",
|
||||
"action_params": "attack(0.3),keypress(f),attack(0.3),keypress(f),attack(0.5),keypress(f);迪希雅 e;",
|
||||
"id": 6,
|
||||
"move_mode": "dash",
|
||||
"type": "path",
|
||||
"x": 4280.90625,
|
||||
"y": 4580.906427064634
|
||||
},
|
||||
{
|
||||
"action": "combat_script",
|
||||
"action_params": "attack(0.25),keypress(f),j,keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f),s(0.1);万叶 attack(0.08),keydown(E),wait(0.7),keyup(E),attack(0.2);琴 attack(0.08),keydown(E),wait(0.4),moveby(1000,0),wait(0.2),moveby(1000,0),wait(0.2),moveby(1000,0),wait(0.2),moveby(1000,-3500),wait(1.8),keyup(E),wait(0.3),click(middle);",
|
||||
"id": 7,
|
||||
"move_mode": "climb",
|
||||
"type": "target",
|
||||
"x": 4281.57421875,
|
||||
"y": 4579.0537109375
|
||||
},
|
||||
{
|
||||
"action": "",
|
||||
"id": 8,
|
||||
"move_mode": "walk",
|
||||
"type": "teleport",
|
||||
"x": 4301.3232421875,
|
||||
"y": 4764.947265625
|
||||
},
|
||||
{
|
||||
"action": "",
|
||||
"action_params": "",
|
||||
"id": 9,
|
||||
"move_mode": "walk",
|
||||
"type": "path",
|
||||
"x": 4308.716796875,
|
||||
"y": 4769.0986328125
|
||||
},
|
||||
{
|
||||
"action": "",
|
||||
"action_params": "",
|
||||
"id": 10,
|
||||
"move_mode": "run",
|
||||
"type": "path",
|
||||
"x": 4336.39697265625,
|
||||
"y": 4785.6689453125
|
||||
},
|
||||
{
|
||||
"action": "combat_script",
|
||||
"action_params": "attack(0.25),keypress(f),j,wait(0.5),attack(0.25),keypress(f);迪希雅 e;",
|
||||
"id": 11,
|
||||
"move_mode": "run",
|
||||
"type": "target",
|
||||
"x": 4381.029296875,
|
||||
"y": 4827.1484375
|
||||
},
|
||||
{
|
||||
"action": "combat_script",
|
||||
"action_params": "attack(0.25),keypress(f),j,keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f);万叶 attack(0.08),keydown(E),wait(0.51),keyup(E),attack(0.2);琴 attack(0.08),keydown(E),wait(0.4),moveby(1000,0),wait(0.2),moveby(1000,0),wait(0.2),moveby(1000,0),wait(0.2),moveby(1000,-3500),wait(1.8),keyup(E),wait(0.3),click(middle);",
|
||||
"id": 12,
|
||||
"move_mode": "climb",
|
||||
"type": "target",
|
||||
"x": 4381.66357421875,
|
||||
"y": 4828.92529296875
|
||||
},
|
||||
{
|
||||
"action": "",
|
||||
"action_params": "",
|
||||
"id": 13,
|
||||
"move_mode": "run",
|
||||
"type": "path",
|
||||
"x": 4439.24462890625,
|
||||
"y": 4852.3349609375
|
||||
},
|
||||
{
|
||||
"action": "combat_script",
|
||||
"action_params": "attack(0.25),keypress(f),j,wait(0.5),attack(0.25),keypress(f);迪希雅 e;",
|
||||
"id": 14,
|
||||
"move_mode": "dash",
|
||||
"type": "path",
|
||||
"x": 4458.78173828125,
|
||||
"y": 4870.20458984375
|
||||
},
|
||||
{
|
||||
"action": "combat_script",
|
||||
"action_params": "attack(0.25),keypress(f),j,keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f);万叶 attack(0.08),keydown(E),wait(0.51),keyup(E),attack(0.2);琴 attack(0.08),keydown(E),wait(0.4),moveby(1000,0),wait(0.2),moveby(1000,0),wait(0.2),moveby(1000,0),wait(0.2),moveby(1000,-3500),wait(1.8),keyup(E),wait(0.3),click(middle);",
|
||||
"id": 15,
|
||||
"move_mode": "climb",
|
||||
"type": "target",
|
||||
"x": 4458.78173828125,
|
||||
"y": 4870.20458984375
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,342 @@
|
||||
{
|
||||
"info": {
|
||||
"name": "05【额外】纳塔-鸡屁股9",
|
||||
"type": "collect",
|
||||
"authors": [
|
||||
{
|
||||
"name": "汐",
|
||||
"links": ""
|
||||
}
|
||||
],
|
||||
"version": "",
|
||||
"description": "",
|
||||
"map_name": "Teyvat",
|
||||
"bgi_version": "0.45.0",
|
||||
"tags": [],
|
||||
"last_modified_time": 1755784052446,
|
||||
"enable_monster_loot_split": false,
|
||||
"map_match_method": ""
|
||||
},
|
||||
"positions": [
|
||||
{
|
||||
"id": 1,
|
||||
"x": 8738.1943359375,
|
||||
"y": -1857.46533203125,
|
||||
"action": "",
|
||||
"move_mode": "walk",
|
||||
"type": "teleport"
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"x": 8756.15625,
|
||||
"y": -1848.7205981121242,
|
||||
"action": "stop_flying",
|
||||
"move_mode": "fly",
|
||||
"action_params": "",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"x": 8765.125,
|
||||
"y": -1825.2190930627294,
|
||||
"action": "combat_script",
|
||||
"move_mode": "dash",
|
||||
"action_params": "keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f);万叶 attack(0.08),keydown(E),wait(0.7),keyup(E),attack(0.2);琴 attack(0.08),keydown(E),wait(0.4),moveby(1000,0),wait(0.2),moveby(1000,0),wait(0.2),moveby(1000,0),wait(0.2),moveby(1000,-3500),wait(1.8),keyup(E),wait(0.3),click(middle);",
|
||||
"type": "target"
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"x": 8439.59765625,
|
||||
"y": -2107.0283203125,
|
||||
"action": "",
|
||||
"move_mode": "walk",
|
||||
"type": "teleport"
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"x": 8415.802734375,
|
||||
"y": -2075.837890625,
|
||||
"action": "",
|
||||
"move_mode": "run",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"x": 8398.21875,
|
||||
"y": -2009.6521443137826,
|
||||
"action": "combat_script",
|
||||
"move_mode": "fly",
|
||||
"action_params": "keypress(VK_SPACE),wait(3.5),attack(0.2)",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"x": 8390.189453125,
|
||||
"y": -1989.59619140625,
|
||||
"action": "combat_script",
|
||||
"move_mode": "dash",
|
||||
"action_params": "keypress(f),wait(0.4),keypress(f),wait(0.3),keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f),a(0.2),keypress(f),wait(0.4),keypress(f),a(0.2),keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f)",
|
||||
"type": "target"
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"x": 8376.9453125,
|
||||
"y": -1970.0234375,
|
||||
"action": "",
|
||||
"move_mode": "dash",
|
||||
"action_params": "",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 9,
|
||||
"x": 8376.9453125,
|
||||
"y": -1970.0234375,
|
||||
"action": "combat_script",
|
||||
"move_mode": "climb",
|
||||
"action_params": "keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f);万叶 attack(0.08),keydown(E),wait(0.51),keyup(E),attack(0.2);琴 attack(0.08),keydown(E),wait(0.4),moveby(1000,0),wait(0.2),moveby(1000,0),wait(0.2),moveby(1000,0),wait(0.2),moveby(1000,-3500),wait(1.8),keyup(E),wait(0.3),click(middle);",
|
||||
"type": "target"
|
||||
},
|
||||
{
|
||||
"id": 10,
|
||||
"x": 8258.3486328125,
|
||||
"y": -1744.6220703125,
|
||||
"action": "",
|
||||
"move_mode": "walk",
|
||||
"type": "teleport"
|
||||
},
|
||||
{
|
||||
"id": 11,
|
||||
"x": 8234.75,
|
||||
"y": -1720.24462890625,
|
||||
"action": "",
|
||||
"move_mode": "run",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 12,
|
||||
"x": 8229.5791015625,
|
||||
"y": -1713.064453125,
|
||||
"action": "combat_script",
|
||||
"move_mode": "dash",
|
||||
"action_params": "keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f);万叶 attack(0.08),keydown(E),wait(0.51),keyup(E),attack(0.2);琴 attack(0.08),keydown(E),wait(0.4),moveby(1000,0),wait(0.2),moveby(1000,0),wait(0.2),moveby(1000,0),wait(0.2),moveby(1000,-3500),wait(1.8),keyup(E),wait(0.3),click(middle);",
|
||||
"type": "target"
|
||||
},
|
||||
{
|
||||
"id": 13,
|
||||
"x": 7857.4638671875,
|
||||
"y": -1751.333984375,
|
||||
"action": "",
|
||||
"move_mode": "walk",
|
||||
"type": "teleport"
|
||||
},
|
||||
{
|
||||
"id": 14,
|
||||
"x": 7867.369140625,
|
||||
"y": -1744.93603515625,
|
||||
"action": "stop_flying",
|
||||
"move_mode": "fly",
|
||||
"action_params": "",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 15,
|
||||
"x": 7975.76171875,
|
||||
"y": -1741.60595703125,
|
||||
"action": "",
|
||||
"move_mode": "run",
|
||||
"action_params": "",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 16,
|
||||
"x": 7998.86328125,
|
||||
"y": -1745.2353515625,
|
||||
"action": "combat_script",
|
||||
"move_mode": "fly",
|
||||
"action_params": "keypress(VK_SPACE),wait(1.5),attack(0.2)",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 17,
|
||||
"x": 7994.86328125,
|
||||
"y": -1745.2353515625,
|
||||
"action": "combat_script",
|
||||
"move_mode": "climb",
|
||||
"action_params": "keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f);万叶 attack(0.08),keydown(E),wait(0.51),keyup(E),attack(0.2);琴 attack(0.08),keydown(E),wait(0.4),moveby(1000,0),wait(0.2),moveby(1000,0),wait(0.2),moveby(1000,0),wait(0.2),moveby(1000,-3500),wait(1.8),keyup(E),wait(0.3),click(middle);",
|
||||
"type": "target"
|
||||
},
|
||||
{
|
||||
"id": 18,
|
||||
"x": 8054.341796875,
|
||||
"y": -1717.56201171875,
|
||||
"action": "",
|
||||
"move_mode": "dash",
|
||||
"action_params": "",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 19,
|
||||
"x": 8057.59521484375,
|
||||
"y": -1716.146484375,
|
||||
"action": "combat_script",
|
||||
"move_mode": "climb",
|
||||
"action_params": "keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f);万叶 attack(0.08),keydown(E),wait(0.51),keyup(E),attack(0.2);琴 attack(0.08),keydown(E),wait(0.4),moveby(1000,0),wait(0.2),moveby(1000,0),wait(0.2),moveby(1000,0),wait(0.2),moveby(1000,-3500),wait(1.8),keyup(E),wait(0.3),click(middle);",
|
||||
"type": "target"
|
||||
},
|
||||
{
|
||||
"id": 20,
|
||||
"x": 8400.59765625,
|
||||
"y": -1221.3232421875,
|
||||
"action": "",
|
||||
"move_mode": "walk",
|
||||
"type": "teleport"
|
||||
},
|
||||
{
|
||||
"id": 21,
|
||||
"x": 8375.59381715141,
|
||||
"y": -1223.9997574725849,
|
||||
"action": "",
|
||||
"move_mode": "dash",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 22,
|
||||
"x": 8264.1640625,
|
||||
"y": -1248.92578125,
|
||||
"action": "",
|
||||
"move_mode": "run",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 23,
|
||||
"x": 8128.015625,
|
||||
"y": -1269.7314453125,
|
||||
"action": "",
|
||||
"move_mode": "dash",
|
||||
"action_params": "",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 24,
|
||||
"x": 8123.9375,
|
||||
"y": -1274.374911467683,
|
||||
"action": "combat_script",
|
||||
"move_mode": "climb",
|
||||
"action_params": "keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f);万叶 attack(0.08),keydown(E),wait(0.48),keyup(E),attack(0.2),wait(1);琴 attack(0.08),keydown(E),wait(0.4),moveby(1000,0),wait(0.2),moveby(1000,0),wait(0.2),moveby(1000,0),wait(0.2),moveby(1000,-3500),wait(1.8),keyup(E),wait(0.3),click(middle);",
|
||||
"type": "target"
|
||||
},
|
||||
{
|
||||
"id": 25,
|
||||
"x": 8124.875,
|
||||
"y": -1278.406072935365,
|
||||
"action": "combat_script",
|
||||
"move_mode": "climb",
|
||||
"action_params": "keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f);万叶 attack(0.08),keydown(E),wait(0.51),keyup(E),attack(0.2);琴 attack(0.08),keydown(E),wait(0.4),moveby(1000,0),wait(0.2),moveby(1000,0),wait(0.2),moveby(1000,0),wait(0.2),moveby(1000,-3500),wait(1.8),keyup(E),wait(0.3),click(middle);",
|
||||
"type": "target"
|
||||
},
|
||||
{
|
||||
"id": 26,
|
||||
"x": 8122.61083984375,
|
||||
"y": -1331.15625,
|
||||
"action": "",
|
||||
"move_mode": "dash",
|
||||
"action_params": "",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 27,
|
||||
"x": 8118.8388671875,
|
||||
"y": -1388.3310546875,
|
||||
"action": "stop_flying",
|
||||
"move_mode": "fly",
|
||||
"action_params": "",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 28,
|
||||
"x": 8121.0458984375,
|
||||
"y": -1400.533203125,
|
||||
"action": "",
|
||||
"move_mode": "dash",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 29,
|
||||
"x": 8139.08251953125,
|
||||
"y": -1451.94140625,
|
||||
"action": "",
|
||||
"move_mode": "run",
|
||||
"action_params": "",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 30,
|
||||
"x": 8144.810546875,
|
||||
"y": -1470.71484375,
|
||||
"action": "combat_script",
|
||||
"move_mode": "run",
|
||||
"action_params": "keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f)",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 31,
|
||||
"x": 8144.810546875,
|
||||
"y": -1470.71484375,
|
||||
"action": "combat_script",
|
||||
"move_mode": "climb",
|
||||
"action_params": "keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f);万叶 attack(0.08),keydown(E),wait(0.51),keyup(E),attack(0.2);琴 attack(0.08),keydown(E),wait(0.4),moveby(1000,0),wait(0.2),moveby(1000,0),wait(0.2),moveby(1000,0),wait(0.2),moveby(1000,-3500),wait(1.8),keyup(E),wait(0.3),click(middle);",
|
||||
"type": "target"
|
||||
},
|
||||
{
|
||||
"id": 32,
|
||||
"x": 9782.4208984375,
|
||||
"y": -1764.7216796875,
|
||||
"action": "force_tp",
|
||||
"move_mode": "walk",
|
||||
"type": "teleport"
|
||||
},
|
||||
{
|
||||
"id": 33,
|
||||
"x": 9888.5888671875,
|
||||
"y": -1760.61376953125,
|
||||
"action": "",
|
||||
"move_mode": "run",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 34,
|
||||
"x": 9899.2236328125,
|
||||
"y": -1761.6298828125,
|
||||
"action": "combat_script",
|
||||
"move_mode": "run",
|
||||
"action_params": "keypress(t),wait(0.2),keypress(t),wait(2.8),keypress(e),wait(1)",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 35,
|
||||
"x": 9904.220703125,
|
||||
"y": -1797.63037109375,
|
||||
"action": "",
|
||||
"move_mode": "climb",
|
||||
"action_params": "",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 36,
|
||||
"x": 9896.1865234375,
|
||||
"y": -1867.02294921875,
|
||||
"action": "combat_script",
|
||||
"move_mode": "dash",
|
||||
"action_params": "keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f),",
|
||||
"type": "target"
|
||||
},
|
||||
{
|
||||
"id": 37,
|
||||
"x": 9782.4208984375,
|
||||
"y": -1764.7216796875,
|
||||
"action": "force_tp",
|
||||
"move_mode": "walk",
|
||||
"type": "teleport"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,466 @@
|
||||
{
|
||||
"info": {
|
||||
"name": "06【额外】纳塔-灵谜纹13",
|
||||
"type": "collect",
|
||||
"authors": [
|
||||
{
|
||||
"name": "汐",
|
||||
"links": ""
|
||||
}
|
||||
],
|
||||
"version": "",
|
||||
"description": "",
|
||||
"map_name": "Teyvat",
|
||||
"bgi_version": "0.45.0",
|
||||
"tags": [],
|
||||
"last_modified_time": 1755788191640,
|
||||
"enable_monster_loot_split": false,
|
||||
"map_match_method": ""
|
||||
},
|
||||
"positions": [
|
||||
{
|
||||
"id": 1,
|
||||
"x": 9706.740234375,
|
||||
"y": -1544.9267578125,
|
||||
"action": "force_tp",
|
||||
"move_mode": "walk",
|
||||
"type": "teleport"
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"x": 9708.062551351079,
|
||||
"y": -1552.8425676788502,
|
||||
"action": "combat_script",
|
||||
"move_mode": "walk",
|
||||
"action_params": "keypress(t),wait(1)",
|
||||
"type": "orientation"
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"x": 9714.2470703125,
|
||||
"y": -1553.619140625,
|
||||
"action": "combat_script",
|
||||
"move_mode": "climb",
|
||||
"action_params": "keydown(VK_SPACE),wait(0.5),keyup(VK_SPACE)",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"x": 9749.525390625,
|
||||
"y": -1556.62353515625,
|
||||
"action": "combat_script",
|
||||
"move_mode": "climb",
|
||||
"action_params": "j,wait(4.5),j,wait(0.3),mousedown,,wait(1.2)",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"x": 9728.71875,
|
||||
"y": -1558.3119024068583,
|
||||
"action": "",
|
||||
"move_mode": "walk",
|
||||
"action_params": "",
|
||||
"type": "orientation"
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"x": 9728.71875,
|
||||
"y": -1558.3119024068583,
|
||||
"action": "combat_script",
|
||||
"move_mode": "walk",
|
||||
"action_params": "mousedown,wait(0.5),moveby(0,0),mouseup,wait(0.4),click(middle),wait(0.2),mousedown",
|
||||
"type": "orientation"
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"x": 9741.8935546875,
|
||||
"y": -1560.5,
|
||||
"action": "combat_script",
|
||||
"move_mode": "walk",
|
||||
"action_params": "mousedown,wait(0.5),moveby(-150,3000),wait(0.2),moveby(0,1000),wait(0.5),mouseup",
|
||||
"type": "orientation"
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"x": 9735.5009765625,
|
||||
"y": -1551.27734375,
|
||||
"action": "",
|
||||
"move_mode": "climb",
|
||||
"action_params": "",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 9,
|
||||
"x": 9725.619140625,
|
||||
"y": -1548.080078125,
|
||||
"action": "combat_script",
|
||||
"move_mode": "walk",
|
||||
"action_params": "mousedown,wait(0.5),moveby(-100,0),wait(0.3),mouseup",
|
||||
"type": "orientation"
|
||||
},
|
||||
{
|
||||
"id": 10,
|
||||
"x": 9685.828125,
|
||||
"y": -1621.1796875,
|
||||
"action": "force_tp",
|
||||
"move_mode": "walk",
|
||||
"type": "teleport"
|
||||
},
|
||||
{
|
||||
"id": 11,
|
||||
"x": 9640.75,
|
||||
"y": -1649.750265596952,
|
||||
"action": "combat_script",
|
||||
"move_mode": "fly",
|
||||
"action_params": "keypress(VK_SPACE),wait(2),click",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 12,
|
||||
"x": 9632.9375,
|
||||
"y": -1649.75,
|
||||
"action": "combat_script",
|
||||
"move_mode": "climb",
|
||||
"action_params": "wait(0.2),keypress(t),wait(1)",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 13,
|
||||
"x": 9634.3095703125,
|
||||
"y": -1604.0791015625,
|
||||
"action": "combat_script",
|
||||
"move_mode": "walk",
|
||||
"action_params": "mousedown,wait(0.5),moveby(-100,700),wait(0.5),mouseup",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 14,
|
||||
"x": 9471.2314453125,
|
||||
"y": -1673.68798828125,
|
||||
"action": "force_tp",
|
||||
"move_mode": "walk",
|
||||
"type": "teleport"
|
||||
},
|
||||
{
|
||||
"id": 15,
|
||||
"x": 9465.599609375,
|
||||
"y": -1683.74169921875,
|
||||
"action": "combat_script",
|
||||
"move_mode": "fly",
|
||||
"action_params": "keypress(VK_SPACE),wait(5.5),click",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 16,
|
||||
"x": 9462.500094801992,
|
||||
"y": -1682.562772843342,
|
||||
"action": "combat_script",
|
||||
"move_mode": "walk",
|
||||
"action_params": "click(middle),wait(0.2)",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 17,
|
||||
"x": 9456.8203125,
|
||||
"y": -1678.62451171875,
|
||||
"action": "combat_script",
|
||||
"move_mode": "walk",
|
||||
"action_params": "keypress(t),wait(0.2),keypress(t),wait(1)",
|
||||
"type": "orientation"
|
||||
},
|
||||
{
|
||||
"id": 18,
|
||||
"x": 9445.937371622305,
|
||||
"y": -1654.687227156658,
|
||||
"action": "",
|
||||
"move_mode": "walk",
|
||||
"action_params": "",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 19,
|
||||
"x": 9442.78125,
|
||||
"y": -1641.1874557338415,
|
||||
"action": "combat_script",
|
||||
"move_mode": "walk",
|
||||
"action_params": "mousedown,wait(0.5),mouseup",
|
||||
"type": "orientation"
|
||||
},
|
||||
{
|
||||
"id": 20,
|
||||
"x": 9506.048828125,
|
||||
"y": -1620.984375,
|
||||
"action": "combat_script",
|
||||
"move_mode": "walk",
|
||||
"action_params": "mousedown,wait(0.5),mouseup",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 21,
|
||||
"x": 9310.8916015625,
|
||||
"y": -1423.18115234375,
|
||||
"action": "force_tp",
|
||||
"move_mode": "walk",
|
||||
"type": "teleport"
|
||||
},
|
||||
{
|
||||
"id": 22,
|
||||
"x": 9316.2021484375,
|
||||
"y": -1547.384765625,
|
||||
"action": "combat_script",
|
||||
"move_mode": "run",
|
||||
"action_params": "wait(0.5)",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 23,
|
||||
"x": 9324,
|
||||
"y": -1569.874291741461,
|
||||
"action": "stop_flying",
|
||||
"move_mode": "fly",
|
||||
"action_params": "800",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 24,
|
||||
"x": 9330.85546875,
|
||||
"y": -1566.92529296875,
|
||||
"action": "combat_script",
|
||||
"move_mode": "climb",
|
||||
"action_params": "wait(0.2),keypress(t),wait(0.2),keypress(t),wait(1)",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 25,
|
||||
"x": 9351.0263671875,
|
||||
"y": -1568.23193359375,
|
||||
"action": "",
|
||||
"move_mode": "walk",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 26,
|
||||
"x": 9377.249725469235,
|
||||
"y": -1532.406522843342,
|
||||
"action": "",
|
||||
"move_mode": "walk",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 27,
|
||||
"x": 9365.312519750414,
|
||||
"y": -1522.9377425274151,
|
||||
"action": "combat_script",
|
||||
"move_mode": "walk",
|
||||
"action_params": "wait(0.2),mousedown,wait(0.5),moveby(0,-350),wait(0.5),mouseup,wait(0.2)",
|
||||
"type": "orientation"
|
||||
},
|
||||
{
|
||||
"id": 28,
|
||||
"x": 9384.5791089671,
|
||||
"y": -1534.5418715107808,
|
||||
"action": "combat_script",
|
||||
"move_mode": "walk",
|
||||
"action_params": "wait(0.5),keydown(VK_SPACE),wait(0.8),keyup(VK_SPACE)",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 29,
|
||||
"x": 9386.125,
|
||||
"y": -1556.3126106653963,
|
||||
"action": "combat_script",
|
||||
"move_mode": "walk",
|
||||
"action_params": "keypress(VK_SPACE),wait(3)",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 30,
|
||||
"x": 9387.359319217927,
|
||||
"y": -1554.6093742049898,
|
||||
"action": "",
|
||||
"move_mode": "walk",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 31,
|
||||
"x": 9396.500233054892,
|
||||
"y": -1544.375469896867,
|
||||
"action": "combat_script",
|
||||
"move_mode": "walk",
|
||||
"action_params": "mousedown,wait(0.5),moveby(0,0),wait(0.5),mouseup",
|
||||
"type": "orientation"
|
||||
},
|
||||
{
|
||||
"id": 32,
|
||||
"x": 10112.83203125,
|
||||
"y": -140.45068359375,
|
||||
"action": "force_tp",
|
||||
"move_mode": "walk",
|
||||
"type": "teleport"
|
||||
},
|
||||
{
|
||||
"id": 33,
|
||||
"x": 10114.3486328125,
|
||||
"y": -125.248046875,
|
||||
"action": "",
|
||||
"move_mode": "run",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 34,
|
||||
"x": 10113.01171875,
|
||||
"y": -115.5380859375,
|
||||
"action": "",
|
||||
"move_mode": "fly",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 35,
|
||||
"x": 10087.82421875,
|
||||
"y": -91.89111328125,
|
||||
"action": "combat_script",
|
||||
"move_mode": "fly",
|
||||
"action_params": "keypress(VK_SPACE),wait(0.5),click,wait(1),keypress(t),wait(1),keypress(t),wait(2.8),",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 36,
|
||||
"x": 10065.249703743779,
|
||||
"y": -88.56289410704994,
|
||||
"action": "combat_script",
|
||||
"move_mode": "walk",
|
||||
"action_params": "mousedown,wait(0.5),moveby(0,0),wait(0.5),mouseup",
|
||||
"type": "orientation"
|
||||
},
|
||||
{
|
||||
"id": 37,
|
||||
"x": 10085.5625,
|
||||
"y": -87.2763671875,
|
||||
"action": "",
|
||||
"move_mode": "walk",
|
||||
"action_params": "",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 38,
|
||||
"x": 10087.3232421875,
|
||||
"y": -88.92724609375,
|
||||
"action": "combat_script",
|
||||
"move_mode": "walk",
|
||||
"action_params": "keydown(VK_SPACE),wait(0.8),keyup(VK_SPACE)",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 39,
|
||||
"x": 10100.80859375,
|
||||
"y": -89.8603515625,
|
||||
"action": "combat_script",
|
||||
"move_mode": "fly",
|
||||
"action_params": "wait(1.0),keypress(VK_SPACE),wait(3)",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 40,
|
||||
"x": 10093.937417048259,
|
||||
"y": -97.18748484203661,
|
||||
"action": "combat_script",
|
||||
"move_mode": "walk",
|
||||
"action_params": "mousedown,wait(0.5),mouseup",
|
||||
"type": "orientation"
|
||||
},
|
||||
{
|
||||
"id": 41,
|
||||
"x": 10070.23828125,
|
||||
"y": 25.62353515625,
|
||||
"action": "force_tp",
|
||||
"move_mode": "walk",
|
||||
"type": "teleport"
|
||||
},
|
||||
{
|
||||
"id": 42,
|
||||
"x": 10071.25,
|
||||
"y": 76.87442453993754,
|
||||
"action": "combat_script",
|
||||
"move_mode": "run",
|
||||
"action_params": "wait(0.2),keypress(t),wait(2.8),keydown(VK_SPACE),wait(0.5),keyup(VK_SPACE)",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 43,
|
||||
"x": 10078.5927734375,
|
||||
"y": 99.3046875,
|
||||
"action": "combat_script",
|
||||
"move_mode": "walk",
|
||||
"action_params": "mousedown,wait(0.5),moveby(150,-700),wait(0.5),mouseup",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 44,
|
||||
"x": 10070.23828125,
|
||||
"y": 25.62353515625,
|
||||
"action": "force_tp",
|
||||
"move_mode": "walk",
|
||||
"type": "teleport"
|
||||
},
|
||||
{
|
||||
"id": 45,
|
||||
"x": 10061,
|
||||
"y": 98.50185917866474,
|
||||
"action": "",
|
||||
"move_mode": "run",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 46,
|
||||
"x": 10044.75,
|
||||
"y": 130.50026559695198,
|
||||
"action": "",
|
||||
"move_mode": "run",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 47,
|
||||
"x": 10035.4375,
|
||||
"y": 154.6257082585389,
|
||||
"action": "",
|
||||
"move_mode": "run",
|
||||
"action_params": "",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 48,
|
||||
"x": 10026.3955078125,
|
||||
"y": 158.45166015625,
|
||||
"action": "combat_script",
|
||||
"move_mode": "walk",
|
||||
"action_params": "wait(0.2),keypress(t),wait(1.35),keydown(VK_SPACE),wait(0.5),keyup(VK_SPACE),wait(0.5),mousedown",
|
||||
"type": "orientation"
|
||||
},
|
||||
{
|
||||
"id": 49,
|
||||
"x": 10024.146484375,
|
||||
"y": 145.75244140625,
|
||||
"action": "combat_script",
|
||||
"move_mode": "walk",
|
||||
"action_params": "mousedown,wait(0.2),moveby(-330,850),wait(0.5),mouseup",
|
||||
"type": "orientation"
|
||||
},
|
||||
{
|
||||
"id": 50,
|
||||
"x": 9971.1162109375,
|
||||
"y": 250.4990234375,
|
||||
"action": "force_tp",
|
||||
"move_mode": "walk",
|
||||
"type": "teleport"
|
||||
},
|
||||
{
|
||||
"id": 51,
|
||||
"x": 9965.439453125,
|
||||
"y": 251.40380859375,
|
||||
"action": "combat_script",
|
||||
"move_mode": "climb",
|
||||
"action_params": "wait(0.2),keypress(t),wait(2.8),keydown(VK_SPACE),wait(0.5),keyup(VK_SPACE),wait(0.4),mousedown,wait(0.5),moveby(700,550),wait(0.5),mouseup",
|
||||
"type": "path"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,103 @@
|
||||
{
|
||||
"info": {
|
||||
"name": "98【额外】璃月-层岩地下1",
|
||||
"type": "collect",
|
||||
"authors": [
|
||||
{
|
||||
"name": "汐",
|
||||
"links": ""
|
||||
}
|
||||
],
|
||||
"version": "1.0",
|
||||
"description": "",
|
||||
"map_name": "TheChasm",
|
||||
"bgi_version": "0.45.0",
|
||||
"tags": [],
|
||||
"last_modified_time": 1755631122950,
|
||||
"enable_monster_loot_split": false,
|
||||
"map_match_method": ""
|
||||
},
|
||||
"positions": [
|
||||
{
|
||||
"id": 1,
|
||||
"x": 333.7164306640625,
|
||||
"y": 975.9010009765625,
|
||||
"action": "",
|
||||
"move_mode": "walk",
|
||||
"action_params": "",
|
||||
"type": "teleport"
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"x": 293.12629167712043,
|
||||
"y": 972.0627501063971,
|
||||
"action": "",
|
||||
"move_mode": "fly",
|
||||
"action_params": "",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"x": 271.49997629950235,
|
||||
"y": 972.7187803159268,
|
||||
"action": "stop_flying",
|
||||
"move_mode": "fly",
|
||||
"action_params": "1000",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"x": 272.46872629950235,
|
||||
"y": 972.5937954738904,
|
||||
"action": "",
|
||||
"move_mode": "climb",
|
||||
"action_params": "",
|
||||
"type": "target"
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"x": 276.78125,
|
||||
"y": 960.65224391264,
|
||||
"action": "combat_script",
|
||||
"move_mode": "walk",
|
||||
"action_params": "w(0.01),wait(0.2),w(0.01),wait(0.2),attack(0.4),wait(1),keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f),s(0.2)",
|
||||
"type": "orientation"
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"x": 274.687255859375,
|
||||
"y": 971.2099609375,
|
||||
"action": "combat_script",
|
||||
"move_mode": "climb",
|
||||
"action_params": "w(0.01),wait(0.2),w(0.01),wait(0.2),attack(0.08),keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f),wait(1),s(0.2);万叶 s(0.1),attack(0.08),keydown(E),wait(0.51),keyup(E),attack(0.2);wait(0.2),keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f)",
|
||||
"type": "target"
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"x": 272.3437598752073,
|
||||
"y": 970.6874772630549,
|
||||
"action": "combat_script",
|
||||
"move_mode": "climb",
|
||||
"action_params": "w(0.01),wait(0.2),w(0.01),wait(0.2),attack(0.4),wait(1),keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f),s(0.1),wait(0.2),keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f)",
|
||||
"type": "target"
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"x": 275.21875,
|
||||
"y": 965.5621790703497,
|
||||
"action": "combat_script",
|
||||
"move_mode": "dash",
|
||||
"action_params": "attack(0.3)",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 9,
|
||||
"x": 275.7218017578125,
|
||||
"y": 964.794189453125,
|
||||
"action": "combat_script",
|
||||
"move_mode": "climb",
|
||||
"action_params": "keypress(f);万叶 attack(0.08),keydown(E),wait(0.8),keyup(E),attack(0.2);琴 attack(0.08),keydown(E),wait(0.4),moveby(1000,0),wait(0.2),moveby(1000,0),wait(0.2),moveby(1000,0),wait(0.2),moveby(1000,-3500),wait(1.8),keyup(E),wait(0.3),click(middle);",
|
||||
"type": "path"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -8,6 +8,7 @@ let p2EndingRoute = settings.p2EndingRoute || "度假村";
|
||||
let p3EndingRoute = settings.p3EndingRoute || "智障厅";
|
||||
let p4EndingRoute = settings.p4EndingRoute || "清籁丸";
|
||||
let accountName = settings.accountName || "默认账户";
|
||||
let runExtra = settings.runExtra || false;
|
||||
|
||||
//文件路径
|
||||
//摧毁狗粮
|
||||
@@ -50,6 +51,8 @@ let _infoPoints = null; // 缓存 assets/info.json 解析后的数组
|
||||
}
|
||||
|
||||
if (groupNumBer === 1) {
|
||||
// 启用自动拾取的实时任务
|
||||
dispatcher.addTimer(new RealtimeTimer("AutoPick"));
|
||||
//自己是房主,检测总人数
|
||||
log.info("是1p,检测当前总人数");
|
||||
const totalNumber = await findTotalNumber();
|
||||
@@ -109,6 +112,11 @@ let _infoPoints = null; // 缓存 assets/info.json 解析后的数组
|
||||
} else {
|
||||
log.info("超时仍未回到主界面,主动退出");
|
||||
}
|
||||
} else if (runExtra) {
|
||||
log.info("请确保联机收尾已结束,将开始运行额外路线");
|
||||
// 启用自动拾取的实时任务
|
||||
dispatcher.addTimer(new RealtimeTimer("AutoPick"));
|
||||
await runExtraPath();
|
||||
}
|
||||
|
||||
for (i = 0; i < 3; i++) {
|
||||
@@ -140,6 +148,7 @@ let _infoPoints = null; // 缓存 assets/info.json 解析后的数组
|
||||
|
||||
//等待主界面状态
|
||||
async function waitForMainUI(requirement, timeOut = 60 * 1000) {
|
||||
log.info(`等待至多${timeOut}毫秒`)
|
||||
const startTime = Date.now();
|
||||
while (Date.now() - startTime < timeOut) {
|
||||
const mainUIState = await isMainUI();
|
||||
@@ -170,32 +179,28 @@ async function isMainUI() {
|
||||
let template = file.ReadImageMatSync(imagePath);
|
||||
let recognitionObject = RecognitionObject.TemplateMatch(template, xMin, yMin, width, height);
|
||||
|
||||
// 尝试次数设置为 2 次
|
||||
const maxAttempts = 2;
|
||||
// 尝试次数设置为 5 次
|
||||
const maxAttempts = 5;
|
||||
|
||||
let attempts = 0;
|
||||
while (attempts < maxAttempts && !state.cancelRequested) {
|
||||
while (attempts < maxAttempts) {
|
||||
try {
|
||||
|
||||
gameRegion = captureGameRegion();
|
||||
let result = gameRegion.find(recognitionObject);
|
||||
gameRegion.dispose();
|
||||
if (result.isExist()) {
|
||||
//log.info("处于主界面");
|
||||
return true; // 如果找到图标,返回 true
|
||||
}
|
||||
} catch (error) {
|
||||
log.error(`识别图像时发生异常: ${error.message}`);
|
||||
if (state.cancelRequested) {
|
||||
break; // 如果请求了取消,则退出循环
|
||||
}
|
||||
|
||||
return false; // 发生异常时返回 false
|
||||
}
|
||||
attempts++; // 增加尝试次数
|
||||
await sleep(50); // 每次检测间隔 50 毫秒
|
||||
}
|
||||
if (state.cancelRequested) {
|
||||
log.info("图像识别任务已取消");
|
||||
}
|
||||
return false; // 如果尝试次数达到上限或取消,返回 false
|
||||
}
|
||||
|
||||
@@ -482,6 +487,27 @@ async function runEndingPath(i) {
|
||||
log.info(`${folderName} 的全部路线已跑完`);
|
||||
}
|
||||
|
||||
/**
|
||||
* 执行额外路线
|
||||
*/
|
||||
async function runExtraPath() {
|
||||
|
||||
const folderPath = `assets/ArtifactsPath/额外/执行`;
|
||||
const files = await readFolder(folderPath, true);
|
||||
|
||||
if (files.length === 0) {
|
||||
log.warn(`文件夹 ${folderPath} 下未找到任何 JSON 路线文件`);
|
||||
return;
|
||||
}
|
||||
|
||||
for (const { fullPath } of files) {
|
||||
log.info(`开始执行路线: ${fullPath}`);
|
||||
await pathingScript.runFile(fullPath);
|
||||
}
|
||||
|
||||
log.info(`${folderName} 的全部路线已跑完`);
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据玩家编号执行占位路线的全部 JSON 文件
|
||||
* @param {number} i 1 | 2 | 3 | 4
|
||||
@@ -618,6 +644,28 @@ async function writeRecord(accountName) {
|
||||
}
|
||||
}
|
||||
|
||||
async function findAndClick(target, maxAttempts = 20) {
|
||||
for (let attempts = 0; attempts < maxAttempts; attempts++) {
|
||||
const gameRegion = captureGameRegion();
|
||||
try {
|
||||
const result = gameRegion.find(target);
|
||||
if (result.isExist) {
|
||||
result.click();
|
||||
return true; // 成功立刻返回
|
||||
}
|
||||
log.warn(`识别失败,第 ${attempts + 1} 次重试`);
|
||||
} catch (err) {
|
||||
} finally {
|
||||
gameRegion.dispose();
|
||||
}
|
||||
if (attempts < maxAttempts - 1) { // 最后一次不再 sleep
|
||||
await sleep(250);
|
||||
}
|
||||
}
|
||||
log.error("已达到重试次数上限,仍未找到目标");
|
||||
return false;
|
||||
}
|
||||
|
||||
async function processArtifacts(times = 1) {
|
||||
await genshin.returnMainUi();
|
||||
await sleep(500);
|
||||
@@ -786,27 +834,7 @@ async function processArtifacts(times = 1) {
|
||||
return result;
|
||||
}
|
||||
|
||||
async function findAndClick(target, maxAttempts = 20) {
|
||||
for (let attempts = 0; attempts < maxAttempts; attempts++) {
|
||||
const gameRegion = captureGameRegion();
|
||||
try {
|
||||
const result = gameRegion.find(target);
|
||||
if (result.isExist) {
|
||||
result.click();
|
||||
return true; // 成功立刻返回
|
||||
}
|
||||
log.warn(`识别失败,第 ${attempts + 1} 次重试`);
|
||||
} catch (err) {
|
||||
} finally {
|
||||
gameRegion.dispose();
|
||||
}
|
||||
if (attempts < maxAttempts - 1) { // 最后一次不再 sleep
|
||||
await sleep(250);
|
||||
}
|
||||
}
|
||||
log.error("已达到重试次数上限,仍未找到目标");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
async function destroyArtifacts(times = 1) {
|
||||
await genshin.returnMainUi();
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"manifest_version": 1,
|
||||
"name": "AAA狗粮联机团购",
|
||||
"version": "0.0.4",
|
||||
"version": "1.0.0",
|
||||
"tags": [
|
||||
"狗粮"
|
||||
],
|
||||
|
||||
@@ -47,6 +47,11 @@
|
||||
],
|
||||
"default": "踏鞴砂"
|
||||
},
|
||||
{
|
||||
"name": "runExtra",
|
||||
"type": "checkbox",
|
||||
"label": "运行额外路线,运行完联机收尾后单人运行时勾选"
|
||||
},
|
||||
{
|
||||
"name": "decomposeMode",
|
||||
"type": "select",
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
"type": "orientation",
|
||||
"move_mode": "walk",
|
||||
"action": "combat_script",
|
||||
"action_params": "keypress(w); 荧 attack,wait(2),keypress(f); 空 attack,wait(2),keypress(f);"
|
||||
"action_params": "keypress(w);荧 attack,wait(2),keypress(f);空 attack,wait(2),keypress(f);"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -27,7 +27,7 @@
|
||||
"type": "path",
|
||||
"move_mode": "walk",
|
||||
"action": "combat_script",
|
||||
"action_params": "keypress(w); 荧 attack,wait(2),keypress(f); 空 attack,wait(2),keypress(f);"
|
||||
"action_params": "keypress(w);荧 attack,wait(2),keypress(f);空 attack,wait(2),keypress(f);"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -27,7 +27,7 @@
|
||||
"type": "path",
|
||||
"move_mode": "walk",
|
||||
"action": "combat_script",
|
||||
"action_params": "keypress(w); 荧 attack,wait(2),keypress(f); 空 attack,wait(2),keypress(f);"
|
||||
"action_params": "keypress(w);荧 attack,wait(2),keypress(f);空 attack,wait(2),keypress(f);"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -27,7 +27,7 @@
|
||||
"type": "path",
|
||||
"move_mode": "walk",
|
||||
"action": "combat_script",
|
||||
"action_params": "keypress(w); 荧 attack,wait(2),keypress(f); 空 attack,wait(2),keypress(f);"
|
||||
"action_params": "keypress(w);荧 attack,wait(2),keypress(f);空 attack,wait(2),keypress(f);"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -27,7 +27,7 @@
|
||||
"type": "path",
|
||||
"move_mode": "walk",
|
||||
"action": "combat_script",
|
||||
"action_params": "keypress(w); 荧 attack,wait(2),keypress(f); 空 attack,wait(2),keypress(f);"
|
||||
"action_params": "keypress(w);荧 attack,wait(2),keypress(f);空 attack,wait(2),keypress(f);"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -36,7 +36,7 @@
|
||||
"type": "orientation",
|
||||
"move_mode": "walk",
|
||||
"action": "combat_script",
|
||||
"action_params": "keypress(w); 荧 attack,wait(2),keypress(f); 空 attack,wait(2),keypress(f);"
|
||||
"action_params": "keypress(w);荧 attack,wait(2),keypress(f);空 attack,wait(2),keypress(f);"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user