Auto全自动“枫丹”地脉花 (#546)

零、前言
测试中,注意事项不完善请谅解,如有BUG,QQ:119996800,随时欢迎反馈。
后续优化代码和使用说明,先测试看如何!
感谢平面镜和D捣蛋两位大佬的基础线路和逻辑。

一、省流注意事项:
1、目前设置两次自动战斗,加入了错误打开奖励页面的检测,解决误触领奖的错误,建议把超时时间设定为60秒以上,并勾选更快检测战斗结束,根据练度不同调整。
2、建议手动把自动拾取关闭,公版没有API接口可以关闭,开始前设置不自动拾取怪物的掉落物,能让线路运行更流畅。
3、禁用UID刷取地脉花有概率识别不成功,如更换纯色或没花纹的名片能大大提高识别率(99.99999%)。
4、寻路会先通过快速拖动进行识别,一般都能识别成功,如快速无法找到地脉花,会切换到放大拖动模式进行地脉花寻找,此时可能会寻找到之前没打完的线路。


二、配置简介:

1、《好感队伍》和《战斗队伍》填写:如填写了《好感队伍》(用于打完地脉花领取奖励和结束地脉花领取励练点、每日),则《战斗队伍》必须填写,否则无法运行。
冷知识:浓缩树脂只算一次地脉次数,所以在一条龙时可以不合树脂,打完地脉再领每日。如《好感队伍》和《战斗队伍》都不填,则不会切换队伍打地脉花,建议和配置器的配置设置队伍一致。

2、如果勾选了打完后,领取每日奖励《好感队伍》必填,建议无论是否需要,《好感队伍》和《战斗队伍》都填,都填一个队伍也行。

3、《刷取次数》默认为6,每条线路4~6朵花,如果不想刷太多次,可选择单线路模式,只会打一条线路内的花,数量为《刷取次数》,如果选择了《耗尽树脂模式》,线路打完也会继续寻找新的线路,直到耗尽浓缩和使用原粹树脂,不会使用小月亮,请放心。

4、默认选“1”刷蓝色的经验书地脉之花,选“2”为刷金黄色的摩拉地脉之花。

5、可填写需要禁用的UID,禁止此UID刷地脉花,通过派蒙页面左上角的UID进行文字识别,如有多个账号需禁用,使用“/”符号隔开,如12345678/99999999,经过测试,只要在UID数字后面为比较干净的颜色,没有特效动画的名片,识别了100次全正确,再多测看下。

5、作者测试用的BOX不要点,勾选后会报错,不要点!!!!

先写那么多,后需会优化代码规范,现在太乱了。
This commit is contained in:
kaedelcb
2025-04-09 20:54:36 +08:00
committed by GitHub
parent 6b347a6411
commit 4af5e4a31f
63 changed files with 3169 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
零、前言
测试中注意事项不完善请谅解如有BUGQQ119996800随时欢迎反馈。
后续优化代码和使用说明,先测试看如何!
感谢平面镜和D捣蛋两位大佬的基础线路和逻辑。
一、省流注意事项:
1、目前设置两次自动战斗加入了错误打开奖励页面的检测解决误触领奖的错误建议把超时时间设定为60秒以上并勾选更快检测战斗结束根据练度不同调整。
2、建议手动把自动拾取关闭公版没有API接口可以关闭开始前设置不自动拾取怪物的掉落物能让线路运行更流畅。
3、禁用UID刷取地脉花有概率识别不成功如更换纯色或没花纹的名片能大大提高识别率99.99999%)。
4、寻路会先通过快速拖动进行识别一般都能识别成功如快速无法找到地脉花会切换到放大拖动模式进行地脉花寻找此时可能会寻找到之前没打完的线路。
二、配置简介:
1、《好感队伍》和《战斗队伍》填写如填写了《好感队伍》用于打完地脉花领取奖励和结束地脉花领取励练点、每日则《战斗队伍》必须填写否则无法运行。
冷知识:浓缩树脂只算一次地脉次数,所以在一条龙时可以不合树脂,打完地脉再领每日。如《好感队伍》和《战斗队伍》都不填,则不会切换队伍打地脉花,建议和配置器的配置设置队伍一致。
2、如果勾选了打完后领取每日奖励《好感队伍》必填建议无论是否需要《好感队伍》和《战斗队伍》都填都填一个队伍也行。
3、《刷取次数》默认为6每条线路4~6朵花如果不想刷太多次可选择单线路模式只会打一条线路内的花数量为《刷取次数》如果选择了《耗尽树脂模式》线路打完也会继续寻找新的线路直到耗尽浓缩和使用原粹树脂不会使用小月亮请放心。
4、默认选“1”刷蓝色的经验书地脉之花选“2”为刷金黄色的摩拉地脉之花。
5、可填写需要禁用的UID禁止此UID刷地脉花通过派蒙页面左上角的UID进行文字识别如有多个账号需禁用使用“/”符号隔开如12345678/99999999,经过测试只要在UID数字后面为比较干净的颜色没有特效动画的名片识别了100次全正确再多测看下。
5、作者测试用的BOX不要点勾选后会报错不要点
先写那么多,后需会优化代码规范,现在太乱了。

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@@ -0,0 +1,51 @@
{
"info": {
"name": "枫丹地脉花-路线1厄里那斯-1厄里那斯神像下1",
"type": "collect",
"author": "平面镜&LCB茶包",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"x": 4749.5869140625,
"y": 2636.20751953125,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "teleport"
},
{
"id": 2,
"x": 4758.18505859375,
"y": 2611.123291015625,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "path"
},
{
"id": 3,
"x": 4760.80029296875,
"y": 2574.517578125,
"move_mode": "dash",
"type": "target"
},
{
"id": 4,
"x": 4760.80029296875,
"y": 2574.517578125,
"move_mode": "walk",
"type": "target"
},
{
"id": 5,
"x": 4760.80029296875,
"y": 2574.517578125,
"move_mode": "walk",
"type": "path"
}
]
}

View File

@@ -0,0 +1,33 @@
{
"info": {
"name": "枫丹地脉花-路线1厄里那斯-1厄里那斯神像下2",
"type": "collect",
"author": "平面镜&LCB茶包",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"x": 4760.80029296875,
"y": 2574.517578125,
"move_mode": "walk",
"type": "path"
},
{
"id": 2,
"x": 4761.7,
"y": 2572,
"move_mode": "walk",
"type": "target"
},
{
"id": 3,
"x": 4761.7,
"y": 2572,
"move_mode": "walk",
"type": "target"
}
]
}

View File

@@ -0,0 +1,51 @@
{
"info": {
"name": "枫丹地脉花-路线1 厄里那斯-点2厄里那斯神像右下1",
"type": "collect",
"author": "平面镜&LCB茶包",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"x": 4689.61181640625,
"y": 2429.431884765625,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "teleport"
},
{
"id": 2,
"x": 4631.0048828125,
"y": 2468.979736328125,
"action": "",
"move_mode": "fly",
"action_params": "",
"type": "path"
},
{
"id": 3,
"x": 4653.67138671875,
"y": 2531.894287109375,
"move_mode": "dash",
"type": "target"
},
{
"id": 4,
"x": 4653.67138671875,
"y": 2531.894287109375,
"move_mode": "walk",
"type": "target"
},
{
"id": 5,
"x": 4653.67138671875,
"y": 2531.894287109375,
"move_mode": "walk",
"type": "path"
}
]
}

View File

@@ -0,0 +1,33 @@
{
"info": {
"name": "枫丹地脉花-路线1 厄里那斯-点2厄里那斯神像右下2",
"type": "collect",
"author": "平面镜&LCB茶包",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"x": 4653.67138671875,
"y": 2531.894287109375,
"move_mode": "walk",
"type": "path"
},
{
"id": 2,
"x": 4652.3,
"y": 2531.6,
"move_mode": "walk",
"type": "target"
},
{
"id": 3,
"x": 4652.3,
"y": 2531.6,
"move_mode": "walk",
"type": "target"
}
]
}

View File

@@ -0,0 +1,69 @@
{
"info": {
"name": "枫丹地脉花-路线1 厄里那斯-点3厄里那斯神像右下*1",
"type": "collect",
"author": "平面镜&LCB茶包",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"x": 4689.56884765625,
"y": 2429.328857421875,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "teleport"
},
{
"id": 2,
"x": 4664.06201171875,
"y": 2408.484619140625,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "path"
},
{
"id": 3,
"x": 4628.40234375,
"y": 2418.338623046875,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "path"
},
{
"id": 4,
"x": 4585.56103515625,
"y": 2438.055908203125,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "path"
},
{
"id": 5,
"x": 4568.48828125,
"y": 2433.225341796875,
"move_mode": "walk",
"type": "target"
},
{
"id": 6,
"x": 4568.48828125,
"y": 2433.225341796875,
"move_mode": "walk",
"type": "target"
},
{
"id": 7,
"x": 4568.48828125,
"y": 2433.225341796875,
"move_mode": "walk",
"type": "path"
}
]
}

View File

@@ -0,0 +1,33 @@
{
"info": {
"name": "枫丹地脉花-路线1 厄里那斯-点3厄里那斯神像右下*2",
"type": "collect",
"author": "平面镜&LCB茶包",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"x": 4568.48828125,
"y": 2433.225341796875,
"move_mode": "walk",
"type": "path"
},
{
"id": 2,
"x": 4568.48828125,
"y": 2433.225341796875,
"move_mode": "walk",
"type": "target"
},
{
"id": 3,
"x": 4568.48828125,
"y": 2433.225341796875,
"move_mode": "walk",
"type": "target"
}
]
}

View File

@@ -0,0 +1,69 @@
{
"info": {
"name": "枫丹地脉花-路线1 厄里那斯-点4厄里那斯神像右下下下1",
"type": "collect",
"author": "平面镜&LCB茶包",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"x": 4689.5751953125,
"y": 2429.39599609375,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "teleport"
},
{
"id": 2,
"x": 4674.1884765625,
"y": 2418.41552734375,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "path"
},
{
"id": 3,
"x": 4626.88916015625,
"y": 2356.658935546875,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "path"
},
{
"id": 4,
"x": 4569.60888671875,
"y": 2349.85302734375,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "path"
},
{
"id": 5,
"x": 4553.5107421875,
"y": 2358.491943359375,
"move_mode": "walk",
"type": "target"
},
{
"id": 6,
"x": 4553.5107421875,
"y": 2358.491943359375,
"move_mode": "walk",
"type": "target"
},
{
"id": 7,
"x": 4553.5107421875,
"y": 2358.491943359375,
"move_mode": "walk",
"type": "path"
}
]
}

View File

@@ -0,0 +1,35 @@
{
"info": {
"name": "枫丹地脉花-路线1 厄里那斯-点4厄里那斯神像右下下下2",
"type": "collect",
"author": "平面镜&LCB茶包",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"x": 4553.5107421875,
"y": 2358.491943359375,
"move_mode": "walk",
"type": "path"
},
{
"id": 2,
"x": 4552.86376953125,
"y": 2357.971435546875,
"move_mode": "walk",
"type": "target"
},
{
"id": 3,
"x": 4552.86376953125,
"y": 2357.971435546875,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "target"
}
]
}

View File

@@ -0,0 +1,70 @@
{
"info": {
"name": "枫丹地脉花-路线1 厄里那斯-点5厄里那斯神像下下下下1",
"type": "collect",
"author": "平面镜&LCB茶包",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"x": 4626.09619140625,
"y": 2182.30126953125,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "teleport"
},
{
"id": 2,
"x": 4628.6923828125,
"y": 2191.432373046875,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "path"
},
{
"id": 3,
"x": 4610.0830078125,
"y": 2236.067138671875,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "path"
},
{
"id": 4,
"x": 4609.7587890625,
"y": 2299.192138671875,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "path"
},
{
"id": 5,
"x": 4607.455078125,
"y": 2316.584716796875,
"move_mode": "walk",
"type": "target"
},
{
"id": 6,
"x": 4607.455078125,
"y": 2316.584716796875,
"move_mode": "walk",
"type": "target"
},
{
"id": 7,
"x": 4607.455078125,
"y": 2316.584716796875,
"action": "fight",
"move_mode": "walk",
"type": "path"
}
]
}

View File

@@ -0,0 +1,33 @@
{
"info": {
"name": "枫丹地脉花-路线1 厄里那斯-点5厄里那斯神像下下下下2",
"type": "collect",
"author": "平面镜&LCB茶包",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"x": 4607.455078125,
"y": 2316.584716796875,
"move_mode": "walk",
"type": "path"
},
{
"id": 2,
"x": 4607.455078125,
"y": 2316.4,
"move_mode": "walk",
"type": "target"
},
{
"id": 3,
"x": 4607.455078125,
"y": 2316.4,
"move_mode": "walk",
"type": "target"
}
]
}

View File

@@ -0,0 +1,61 @@
{
"info": {
"name": "枫丹地脉花-路线1 厄里那斯-点6厄里那斯神像下下下1",
"type": "collect",
"author": "平面镜&LCB茶包",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"x": 4689.5,
"y": 2429.552978515625,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "teleport"
},
{
"id": 2,
"x": 4700.13818359375,
"y": 2393.348876953125,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "path"
},
{
"id": 3,
"x": 4700.13818359375,
"y": 2393.348876953125,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "target"
},
{
"id": 4,
"x": 4700.13818359375,
"y": 2393.348876953125,
"action": "combat_script",
"move_mode": "walk",
"type": "target"
},
{
"id": 5,
"x": 4700.13818359375,
"y": 2393.348876953125,
"move_mode": "walk",
"type": "target"
},
{
"id": 6,
"x": 4700.13818359375,
"y": 2393.348876953125,
"move_mode": "walk",
"type": "path"
}
]
}

View File

@@ -0,0 +1,35 @@
{
"info": {
"name": "枫丹地脉花-路线1 厄里那斯-点6厄里那斯神像下下下2",
"type": "collect",
"author": "平面镜&LCB茶包",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"x": 4700.13818359375,
"y": 2393.348876953125,
"move_mode": "walk",
"type": "path"
},
{
"id": 2,
"x": 4699.83544921875,
"y": 2393.139404296875,
"move_mode": "walk",
"type": "target"
},
{
"id": 3,
"x": 4699.83544921875,
"y": 2393.139404296875,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "target"
}
]
}

View File

@@ -0,0 +1,51 @@
{
"info": {
"name": "枫丹地脉花-路线2 秋分山-1秋分山左下-1",
"type": "collect",
"author": "平面镜&LCB茶包",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 4146.91162109375,
"y": 2606.272705078125,
"action_params": ""
},
{
"id": 2,
"x": 4191.60693359375,
"y": 2522.24609375,
"type": "path",
"move_mode": "dash",
"action": "",
"action_params": ""
},
{
"id": 3,
"x": 4183.26953125,
"y": 2502.36962890625,
"type": "target",
"move_mode": "walk"
},
{
"id": 4,
"x": 4183.26953125,
"y": 2502.36962890625,
"type": "target",
"move_mode": "walk"
},
{
"id": 5,
"x": 4183.26953125,
"y": 2502.36962890625,
"type": "path",
"move_mode": "walk"
}
]
}

View File

@@ -0,0 +1,33 @@
{
"info": {
"name": "枫丹地脉花-路线2 秋分山-1秋分山左下-2",
"type": "collect",
"author": "平面镜&LCB茶包",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"x": 4183.26953125,
"y": 2502.36962890625,
"type": "path",
"move_mode": "walk"
},
{
"id": 2,
"x": 4182.9,
"y": 2502,
"type": "target",
"move_mode": "walk"
},
{
"id": 3,
"x": 4182.9,
"y": 2502,
"type": "target",
"move_mode": "walk"
}
]
}

View File

@@ -0,0 +1,69 @@
{
"info": {
"name": "枫丹地脉花-路线2 秋分山-1秋分山左下1",
"type": "collect",
"author": "平面镜&LCB茶包",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"x": 4146.6904296875,
"y": 2606.247802734375,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "teleport"
},
{
"id": 2,
"x": 4157.88671875,
"y": 2579.28125,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "path"
},
{
"id": 3,
"x": 4150.46337890625,
"y": 2530.249267578125,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "path"
},
{
"id": 4,
"x": 4180.84326171875,
"y": 2450.04736328125,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "path"
},
{
"id": 5,
"x": 4190.03271484375,
"y": 2426.40625,
"move_mode": "walk",
"type": "target"
},
{
"id": 6,
"x": 4190.03271484375,
"y": 2426.40625,
"move_mode": "walk",
"type": "target"
},
{
"id": 7,
"x": 4190.03271484375,
"y": 2426.40625,
"move_mode": "walk",
"type": "path"
}
]
}

View File

@@ -0,0 +1,33 @@
{
"info": {
"name": "枫丹地脉花-路线2 秋分山-1秋分山左下2",
"type": "collect",
"author": "平面镜&LCB茶包",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"x": 4190.03271484375,
"y": 2426.40625,
"move_mode": "walk",
"type": "path"
},
{
"id": 2,
"x": 4189.6376953125,
"y": 2426.829345703125,
"move_mode": "walk",
"type": "target"
},
{
"id": 3,
"x": 4189.6376953125,
"y": 2426.829345703125,
"move_mode": "walk",
"type": "target"
}
]
}

View File

@@ -0,0 +1,78 @@
{
"info": {
"name": "枫丹地脉花-路线2 秋分山-2秋分山左下下1",
"type": "collect",
"author": "平面镜&LCB茶包",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"x": 4375.5,
"y": 2280.045654296875,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "teleport"
},
{
"id": 2,
"x": 4334.42236328125,
"y": 2337.5732421875,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "path"
},
{
"id": 3,
"x": 4327.21728515625,
"y": 2345.842529296875,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "target"
},
{
"id": 4,
"x": 4280.197265625,
"y": 2342.5048828125,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "path"
},
{
"id": 5,
"x": 4264.15869140625,
"y": 2357.422119140625,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "path"
},
{
"id": 6,
"x": 4246.28271484375,
"y": 2374.04833984375,
"move_mode": "walk",
"type": "target"
},
{
"id": 7,
"x": 4246.28271484375,
"y": 2374.04833984375,
"move_mode": "walk",
"type": "target"
},
{
"id": 8,
"x": 4246.28271484375,
"y": 2374.04833984375,
"move_mode": "walk",
"type": "path"
}
]
}

View File

@@ -0,0 +1,33 @@
{
"info": {
"name": "枫丹地脉花-路线2 秋分山-2秋分山左下下2",
"type": "collect",
"author": "平面镜&LCB茶包",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"x": 4246.28271484375,
"y": 2374.04833984375,
"move_mode": "walk",
"type": "path"
},
{
"id": 2,
"x": 4246.28271484375,
"y": 2374.04833984375,
"move_mode": "walk",
"type": "target"
},
{
"id": 3,
"x": 4246.28271484375,
"y": 2374.04833984375,
"move_mode": "walk",
"type": "target"
}
]
}

View File

@@ -0,0 +1,60 @@
{
"info": {
"name": "枫丹地脉花-路线2 秋分山-3秋分山左下下下1",
"type": "collect",
"author": "平面镜&LCB茶包",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"x": 4375.373046875,
"y": 2281.0244140625,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "teleport"
},
{
"id": 2,
"x": 4383.6611328125,
"y": 2268.129638671875,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "path"
},
{
"id": 3,
"x": 4318.09765625,
"y": 2235.657958984375,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "path"
},
{
"id": 4,
"x": 4299.75146484375,
"y": 2232.588134765625,
"move_mode": "walk",
"type": "target"
},
{
"id": 5,
"x": 4299.75146484375,
"y": 2232.588134765625,
"move_mode": "walk",
"type": "target"
},
{
"id": 6,
"x": 4299.75146484375,
"y": 2232.588134765625,
"move_mode": "walk",
"type": "path"
}
]
}

View File

@@ -0,0 +1,33 @@
{
"info": {
"name": "枫丹地脉花-路线2 秋分山-3秋分山左下下下2",
"type": "collect",
"author": "平面镜&LCB茶包",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"x": 4299.75146484375,
"y": 2232.588134765625,
"move_mode": "walk",
"type": "path"
},
{
"id": 2,
"x": 4299,
"y": 2232,
"move_mode": "walk",
"type": "target"
},
{
"id": 3,
"x": 4299,
"y": 2232,
"move_mode": "walk",
"type": "target"
}
]
}

View File

@@ -0,0 +1,53 @@
{
"info": {
"name": "枫丹地脉花-路线2 秋分山-4秋分山左左下下1",
"type": "collect",
"author": "平面镜&LCB茶包",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"x": 4375.03955078125,
"y": 2280.105224609375,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "teleport"
},
{
"id": 2,
"x": 4394.3154296875,
"y": 2257.97900390625,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "path"
},
{
"id": 3,
"x": 4402.5263671875,
"y": 2253.2724609375,
"action": "combat_script",
"move_mode": "walk",
"action_params": "keypress(F)",
"type": "target"
},
{
"id": 4,
"x": 4402.5263671875,
"y": 2253.2724609375,
"move_mode": "walk",
"type": "target"
},
{
"id": 5,
"x": 4402.5263671875,
"y": 2253.2724609375,
"move_mode": "walk",
"type": "path"
}
]
}

View File

@@ -0,0 +1,33 @@
{
"info": {
"name": "枫丹地脉花-路线2 秋分山-4秋分山左左下下2",
"type": "collect",
"author": "平面镜&LCB茶包",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"x": 4403.7,
"y": 2251.7,
"move_mode": "walk",
"type": "path"
},
{
"id": 2,
"x": 4403.7,
"y": 2251.7,
"move_mode": "walk",
"type": "target"
},
{
"id": 3,
"x": 4403.7,
"y": 2251.7,
"move_mode": "walk",
"type": "target"
}
]
}

View File

@@ -0,0 +1,51 @@
{
"info": {
"name": "枫丹地脉花-路线3 秋分山西侧锚点-1锚点右1",
"type": "collect",
"author": "平面镜&LCB茶包",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"x": 4146.68408203125,
"y": 2606.22607421875,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "teleport"
},
{
"id": 2,
"x": 4116.20751953125,
"y": 2592.000732421875,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "path"
},
{
"id": 3,
"x": 4098.6328125,
"y": 2584.1611328125,
"move_mode": "walk",
"type": "target"
},
{
"id": 4,
"x": 4098.6328125,
"y": 2584.1611328125,
"move_mode": "walk",
"type": "target"
},
{
"id": 5,
"x": 4098.6328125,
"y": 2584.1611328125,
"move_mode": "walk",
"type": "path"
}
]
}

View File

@@ -0,0 +1,33 @@
{
"info": {
"name": "枫丹地脉花-路线3 秋分山西侧锚点-1锚点右2",
"type": "collect",
"author": "平面镜&LCB茶包",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"x": 4098.6328125,
"y": 2584.1611328125,
"move_mode": "walk",
"type": "path"
},
{
"id": 2,
"x": 4098.2,
"y": 2585.1,
"move_mode": "walk",
"type": "target"
},
{
"id": 3,
"x": 4098.2,
"y": 2585.1,
"move_mode": "walk",
"type": "target"
}
]
}

View File

@@ -0,0 +1,51 @@
{
"info": {
"name": "枫丹地脉花-路线3 秋分山西侧锚点-2锚点右右1",
"type": "collect",
"author": "平面镜&LCB茶包",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"x": 4146.779296875,
"y": 2606.25390625,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "teleport"
},
{
"id": 2,
"x": 4091.37109375,
"y": 2573.86328125,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "path"
},
{
"id": 3,
"x": 4063.5205078125,
"y": 2564.291259765625,
"move_mode": "walk",
"type": "target"
},
{
"id": 4,
"x": 4063.5205078125,
"y": 2564.291259765625,
"move_mode": "walk",
"type": "target"
},
{
"id": 5,
"x": 4063.5205078125,
"y": 2564.291259765625,
"move_mode": "walk",
"type": "path"
}
]
}

View File

@@ -0,0 +1,33 @@
{
"info": {
"name": "枫丹地脉花-路线3 秋分山西侧锚点-2锚点右右2",
"type": "collect",
"author": "平面镜&LCB茶包",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"x": 4063.5205078125,
"y": 2564.291259765625,
"move_mode": "walk",
"type": "path"
},
{
"id": 2,
"x": 4063.5205078125,
"y": 2565.6,
"move_mode": "walk",
"type": "target"
},
{
"id": 3,
"x": 4063.5205078125,
"y": 2565.6,
"move_mode": "walk",
"type": "target"
}
]
}

View File

@@ -0,0 +1,69 @@
{
"info": {
"name": "枫丹地脉花-路线3 秋分山西侧锚点-3锚点右右右1",
"type": "collect",
"author": "平面镜&LCB茶包",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"x": 3917.2880859375,
"y": 2576.434814453125,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "teleport"
},
{
"id": 2,
"x": 3922.8388671875,
"y": 2562.638427734375,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "path"
},
{
"id": 3,
"x": 3986.65234375,
"y": 2599.51123046875,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "path"
},
{
"id": 4,
"x": 4034.130859375,
"y": 2625.865478515625,
"action": "fight",
"move_mode": "walk",
"action_params": "",
"type": "path"
},
{
"id": 5,
"x": 3999.6552734375,
"y": 2613.181640625,
"move_mode": "walk",
"type": "target"
},
{
"id": 6,
"x": 3999.6552734375,
"y": 2613.181640625,
"move_mode": "walk",
"type": "target"
},
{
"id": 7,
"x": 3999.6552734375,
"y": 2613.181640625,
"move_mode": "walk",
"type": "path"
}
]
}

View File

@@ -0,0 +1,33 @@
{
"info": {
"name": "枫丹地脉花-路线3 秋分山西侧锚点-3锚点右右右2",
"type": "collect",
"author": "平面镜&LCB茶包",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"x": 3999.6552734375,
"y": 2613.181640625,
"move_mode": "walk",
"type": "path"
},
{
"id": 2,
"x": 3999.2,
"y": 2613.8,
"move_mode": "walk",
"type": "target"
},
{
"id": 3,
"x": 3999.2,
"y": 2613.8,
"move_mode": "walk",
"type": "target"
}
]
}

View File

@@ -0,0 +1,60 @@
{
"info": {
"name": "枫丹地脉花-路线3 秋分山西侧锚点-4东侧锚点上1",
"type": "collect",
"author": "平面镜&LCB茶包",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 3917.2783203125,
"y": 2576.334716796875,
"action_params": ""
},
{
"id": 2,
"x": 3917.228515625,
"y": 2573.301025390625,
"type": "target",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 3,
"x": 3907.2451171875,
"y": 2607.017333984375,
"type": "path",
"move_mode": "fly",
"action": "stop_flying",
"action_params": ""
},
{
"id": 4,
"x": 3921.345703125,
"y": 2617.813232421875,
"type": "target",
"move_mode": "walk"
},
{
"id": 5,
"x": 3921.345703125,
"y": 2617.813232421875,
"type": "target",
"move_mode": "walk"
},
{
"id": 6,
"x": 3921.345703125,
"y": 2617.813232421875,
"type": "path",
"move_mode": "walk"
}
]
}

View File

@@ -0,0 +1,33 @@
{
"info": {
"name": "枫丹地脉花-路线3 秋分山西侧锚点-4东侧锚点上2",
"type": "collect",
"author": "平面镜&LCB茶包",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"x": 3921.345703125,
"y": 2617.813232421875,
"type": "path",
"move_mode": "walk"
},
{
"id": 2,
"x": 3921.3,
"y": 2617.8,
"type": "target",
"move_mode": "walk"
},
{
"id": 3,
"x": 3921.3,
"y": 2617.8,
"type": "target",
"move_mode": "walk"
}
]
}

View File

@@ -0,0 +1,69 @@
{
"info": {
"name": "枫丹地脉花-路线4 柔灯港上锚点-1锚点左上1",
"type": "collect",
"author": "平面镜&茶包LCB",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"x": 2873.544921875,
"y": 3512.03515625,
"type": "teleport",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 2,
"x": 2890.5087890625,
"y": 3532.46435546875,
"type": "path",
"move_mode": "dash",
"action": "",
"action_params": ""
},
{
"id": 3,
"x": 2904.51171875,
"y": 3545.618896484375,
"type": "path",
"move_mode": "climb",
"action": "",
"action_params": ""
},
{
"id": 4,
"x": 2929.8173828125,
"y": 3563.57470703125,
"type": "path",
"move_mode": "dash",
"action": "",
"action_params": ""
},
{
"id": 5,
"x": 2932.47265625,
"y": 3583.896728515625,
"type": "target",
"move_mode": "walk"
},
{
"id": 6,
"x": 2932.47265625,
"y": 3583.896728515625,
"type": "target",
"move_mode": "walk"
},
{
"id": 7,
"x": 2932.47265625,
"y": 3583.896728515625,
"type": "path",
"move_mode": "walk"
}
]
}

View File

@@ -0,0 +1,33 @@
{
"info": {
"name": "枫丹地脉花-路线4 柔灯港上锚点-1锚点左上2",
"type": "collect",
"author": "平面镜&LCB茶包",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"x": 2932.47265625,
"y": 3583.896728515625,
"type": "path",
"move_mode": "walk"
},
{
"id": 2,
"x": 2932.30078125,
"y": 3583.9755859375,
"type": "target",
"move_mode": "walk"
},
{
"id": 3,
"x": 2932.30078125,
"y": 3583.9755859375,
"type": "target",
"move_mode": "walk"
}
]
}

View File

@@ -0,0 +1,69 @@
{
"info": {
"name": "枫丹地脉花-路线4 柔灯港上锚点-2锚点左上+1",
"type": "collect",
"author": "平面镜&茶包LCB",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"x": 3032.662109375,
"y": 3732.420166015625,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "teleport"
},
{
"id": 2,
"x": 3019.8095703125,
"y": 3712.950927734375,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "target"
},
{
"id": 3,
"x": 3015.82421875,
"y": 3665.193115234375,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "target"
},
{
"id": 4,
"x": 3010.951171875,
"y": 3624.05029296875,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "path"
},
{
"id": 5,
"x": 3008.40234375,
"y": 3602.593017578125,
"move_mode": "walk",
"type": "target"
},
{
"id": 6,
"x": 3008.40234375,
"y": 3602.593017578125,
"move_mode": "walk",
"type": "target"
},
{
"id": 7,
"x": 3008.40234375,
"y": 3602.593017578125,
"move_mode": "walk",
"type": "path"
}
]
}

View File

@@ -0,0 +1,33 @@
{
"info": {
"name": "枫丹地脉花-路线4 柔灯港上锚点-2锚点左上+2",
"type": "collect",
"author": "平面镜&LCB茶包",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"x": 3008.40234375,
"y": 3602.593017578125,
"move_mode": "walk",
"type": "path"
},
{
"id": 2,
"x": 3008.4,
"y": 3602.2,
"move_mode": "walk",
"type": "target"
},
{
"id": 3,
"x": 3008.4,
"y": 3602.2,
"move_mode": "walk",
"type": "target"
}
]
}

View File

@@ -0,0 +1,69 @@
{
"info": {
"name": "枫丹地脉花-路线4 柔灯港上锚点-3锚点左左上1",
"type": "collect",
"author": "平面镜&茶包LCB",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 3032.6708984375,
"y": 3732.432861328125,
"action_params": ""
},
{
"id": 2,
"x": 3045.591796875,
"y": 3710.537841796875,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 3,
"x": 3039.93359375,
"y": 3671.215576171875,
"type": "path",
"move_mode": "dash",
"action": "",
"action_params": ""
},
{
"id": 4,
"x": 3055.349609375,
"y": 3641.24462890625,
"type": "path",
"move_mode": "dash",
"action": "",
"action_params": ""
},
{
"id": 5,
"x": 3077.185546875,
"y": 3602.835693359375,
"type": "target",
"move_mode": "walk"
},
{
"id": 6,
"x": 3077.185546875,
"y": 3602.835693359375,
"type": "target",
"move_mode": "walk"
},
{
"id": 7,
"x": 3077.185546875,
"y": 3602.835693359375,
"type": "path",
"move_mode": "walk"
}
]
}

View File

@@ -0,0 +1,36 @@
{
"info": {
"name": "枫丹地脉花-路线4 柔灯港上锚点-3锚点左左上2",
"type": "collect",
"author": "平面镜&LCB茶包",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"x": 3077.185546875,
"y": 3602.835693359375,
"type": "path",
"move_mode": "walk"
},
{
"id": 2,
"x": 3077,
"y": 3602.2,
"type": "target",
"move_mode": "walk",
"action": "",
"action_params": "",
"locked": false
},
{
"id": 3,
"x": 3077,
"y": 3602.2,
"type": "target",
"move_mode": "walk"
}
]
}

View File

@@ -0,0 +1,69 @@
{
"info": {
"name": "枫丹地脉花-路线4 柔灯港上锚点-4锚点左上++1",
"type": "collect",
"author": "平面镜&茶包LCB",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 3032.677734375,
"y": 3732.448486328125,
"action_params": ""
},
{
"id": 2,
"x": 3038.5537109375,
"y": 3718.4228515625,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 3,
"x": 3067.19921875,
"y": 3698.43212890625,
"type": "target",
"move_mode": "dash",
"action": "",
"action_params": ""
},
{
"id": 4,
"x": 3079.7314453125,
"y": 3675.759765625,
"type": "path",
"move_mode": "dash",
"action": "",
"action_params": ""
},
{
"id": 5,
"x": 3091.7978515625,
"y": 3654.750732421875,
"type": "target",
"move_mode": "walk"
},
{
"id": 6,
"x": 3091.7978515625,
"y": 3654.750732421875,
"type": "target",
"move_mode": "walk"
},
{
"id": 7,
"x": 3091.7978515625,
"y": 3654.750732421875,
"type": "path",
"move_mode": "walk"
}
]
}

View File

@@ -0,0 +1,33 @@
{
"info": {
"name": "枫丹地脉花-路线4 柔灯港上锚点-4锚点左上++2",
"type": "collect",
"author": "平面镜&LCB茶包",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"x": 3091.7978515625,
"y": 3654.750732421875,
"type": "path",
"move_mode": "walk"
},
{
"id": 2,
"x": 3092.3,
"y": 3654.3,
"type": "target",
"move_mode": "walk"
},
{
"id": 3,
"x": 3092.3,
"y": 3654.3,
"type": "target",
"move_mode": "walk"
}
]
}

View File

@@ -0,0 +1,60 @@
{
"info": {
"name": "枫丹地脉花-路线5 新枫丹科学院左锚点-1锚点左上1",
"type": "collect",
"author": "平面镜&茶包LCB",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 4498.1845703125,
"y": 4710.78857421875,
"action_params": ""
},
{
"id": 2,
"x": 4496.67333984375,
"y": 4741.02978515625,
"type": "path",
"move_mode": "dash",
"action": "",
"action_params": ""
},
{
"id": 3,
"x": 4539.94189453125,
"y": 4771.01220703125,
"type": "path",
"move_mode": "dash",
"action": "",
"action_params": ""
},
{
"id": 4,
"x": 4556.0986328125,
"y": 4762.41748046875,
"type": "target",
"move_mode": "walk"
},
{
"id": 5,
"x": 4556.0986328125,
"y": 4762.41748046875,
"type": "target",
"move_mode": "walk"
},
{
"id": 6,
"x": 4556.0986328125,
"y": 4762.41748046875,
"type": "path",
"move_mode": "walk"
}
]
}

View File

@@ -0,0 +1,33 @@
{
"info": {
"name": "枫丹地脉花-路线5 新枫丹科学院左锚点-1锚点左上2",
"type": "collect",
"author": "平面镜&LCB茶包",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"x": 4556.0986328125,
"y": 4762.41748046875,
"type": "path",
"move_mode": "walk"
},
{
"id": 2,
"x": 4556.0986328125,
"y": 4762.41748046875,
"type": "target",
"move_mode": "walk"
},
{
"id": 3,
"x": 4556.0986328125,
"y": 4762.41748046875,
"type": "target",
"move_mode": "walk"
}
]
}

View File

@@ -0,0 +1,60 @@
{
"info": {
"name": "枫丹地脉花-路线5 新枫丹科学院左锚点-2锚点上1",
"type": "collect",
"author": "平面镜&茶包LCB",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 4498.14990234375,
"y": 4710.7763671875,
"action_params": ""
},
{
"id": 2,
"x": 4494.0791015625,
"y": 4762.04150390625,
"type": "path",
"move_mode": "dash",
"action": "",
"action_params": ""
},
{
"id": 3,
"x": 4499.02392578125,
"y": 4825.24072265625,
"type": "path",
"move_mode": "dash",
"action": "",
"action_params": ""
},
{
"id": 4,
"x": 4517.81201171875,
"y": 4866.47802734375,
"type": "target",
"move_mode": "walk"
},
{
"id": 5,
"x": 4517.81201171875,
"y": 4866.47802734375,
"type": "target",
"move_mode": "walk"
},
{
"id": 6,
"x": 4517.81201171875,
"y": 4866.47802734375,
"type": "path",
"move_mode": "walk"
}
]
}

View File

@@ -0,0 +1,33 @@
{
"info": {
"name": "枫丹地脉花-路线5 新枫丹科学院左锚点-2锚点上2",
"type": "collect",
"author": "平面镜&LCB茶包",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"x": 4517.81201171875,
"y": 4866.47802734375,
"type": "path",
"move_mode": "walk"
},
{
"id": 2,
"x": 4517.2,
"y": 4866.4,
"type": "target",
"move_mode": "walk"
},
{
"id": 3,
"x": 4517.2,
"y": 4866.4,
"type": "target",
"move_mode": "walk"
}
]
}

View File

@@ -0,0 +1,51 @@
{
"info": {
"name": "枫丹地脉花-路线5 新枫丹科学院左锚点-3科学院左上锚点1",
"type": "collect",
"author": "平面镜&茶包LCB",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"x": 4624.357421875,
"y": 4951.77880859375,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "teleport"
},
{
"id": 2,
"x": 4607.47216796875,
"y": 4925.97412109375,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "path"
},
{
"id": 3,
"x": 4578.63134765625,
"y": 4913.2822265625,
"move_mode": "walk",
"type": "target"
},
{
"id": 4,
"x": 4578.63134765625,
"y": 4913.2822265625,
"move_mode": "walk",
"type": "target"
},
{
"id": 5,
"x": 4578.63134765625,
"y": 4913.2822265625,
"move_mode": "walk",
"type": "path"
}
]
}

View File

@@ -0,0 +1,33 @@
{
"info": {
"name": "枫丹地脉花-路线5 新枫丹科学院左锚点-3科学院左上锚点2",
"type": "collect",
"author": "平面镜&LCB茶包",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"x": 4578.63134765625,
"y": 4913.2822265625,
"type": "path",
"move_mode": "walk"
},
{
"id": 2,
"x": 4578.63134765625,
"y": 4913.2822265625,
"type": "target",
"move_mode": "walk"
},
{
"id": 3,
"x": 4577.7,
"y": 4912.1,
"type": "target",
"move_mode": "walk"
}
]
}

View File

@@ -0,0 +1,60 @@
{
"info": {
"name": "枫丹地脉花-路线5 新枫丹科学院左锚点-4科学院左上锚点左上1",
"type": "collect",
"author": "平面镜&茶包LCB",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 4624.37255859375,
"y": 4951.841796875,
"action_params": ""
},
{
"id": 2,
"x": 4635.6494140625,
"y": 4951.49755859375,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 3,
"x": 4665.64501953125,
"y": 4970.13671875,
"type": "path",
"move_mode": "dash",
"action": "",
"action_params": ""
},
{
"id": 4,
"x": 4679.46875,
"y": 4977.8310546875,
"type": "target",
"move_mode": "walk"
},
{
"id": 5,
"x": 4679.46875,
"y": 4977.8310546875,
"type": "target",
"move_mode": "walk"
},
{
"id": 6,
"x": 4679.46875,
"y": 4977.8310546875,
"type": "path",
"move_mode": "walk"
}
]
}

View File

@@ -0,0 +1,33 @@
{
"info": {
"name": "枫丹地脉花-路线5 新枫丹科学院左锚点-4科学院左上锚点左上2",
"type": "collect",
"author": "平面镜&LCB茶包",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"x": 4679.46875,
"y": 4977.8310546875,
"type": "path",
"move_mode": "walk"
},
{
"id": 2,
"x": 4679.5,
"y": 4977.6,
"type": "target",
"move_mode": "walk"
},
{
"id": 3,
"x": 4679.5,
"y": 4977.6,
"type": "target",
"move_mode": "walk"
}
]
}

View File

@@ -0,0 +1,51 @@
{
"info": {
"name": "枫丹地脉花-路线6 芒索斯山东麓-1:锚点下1",
"type": "collect",
"author": "平面镜&LCB茶包",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"x": 4984.794921875,
"y": 4462.982421875,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "teleport"
},
{
"id": 2,
"x": 4970.0341796875,
"y": 4415.9619140625,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "path"
},
{
"id": 3,
"x": 4962.818359375,
"y": 4395.8056640625,
"move_mode": "walk",
"type": "target"
},
{
"id": 4,
"x": 4962.818359375,
"y": 4395.8056640625,
"move_mode": "walk",
"type": "target"
},
{
"id": 5,
"x": 4962.818359375,
"y": 4395.8056640625,
"move_mode": "walk",
"type": "path"
}
]
}

View File

@@ -0,0 +1,33 @@
{
"info": {
"name": "枫丹地脉花-路线6 芒索斯山东麓-1:锚点下2",
"type": "collect",
"author": "平面镜&LCB茶包",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"x": 4962.818359375,
"y": 4395.8056640625,
"move_mode": "walk",
"type": "path"
},
{
"id": 2,
"x": 4962.818359375,
"y": 4395.8056640625,
"move_mode": "walk",
"type": "target"
},
{
"id": 3,
"x": 4962.818359375,
"y": 4395.8056640625,
"move_mode": "walk",
"type": "target"
}
]
}

View File

@@ -0,0 +1,42 @@
{
"info": {
"name": "枫丹地脉花-路线6 芒索斯山东麓-2锚点右1",
"type": "collect",
"author": "平面镜&LCB茶包",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"x": 4984.6904296875,
"y": 4462.9052734375,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "teleport"
},
{
"id": 2,
"x": 4952.037109375,
"y": 4468.8408203125,
"move_mode": "walk",
"type": "target"
},
{
"id": 3,
"x": 4952.037109375,
"y": 4468.8408203125,
"move_mode": "walk",
"type": "target"
},
{
"id": 4,
"x": 4952.037109375,
"y": 4468.8408203125,
"move_mode": "walk",
"type": "path"
}
]
}

View File

@@ -0,0 +1,33 @@
{
"info": {
"name": "枫丹地脉花-路线6 芒索斯山东麓-2锚点右2",
"type": "collect",
"author": "平面镜&LCB茶包",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"x": 4952.037109375,
"y": 4468.8408203125,
"move_mode": "walk",
"type": "path"
},
{
"id": 2,
"x": 4952.037109375,
"y": 4468.8408203125,
"move_mode": "walk",
"type": "target"
},
{
"id": 3,
"x": 4952.037109375,
"y": 4468.8408203125,
"move_mode": "walk",
"type": "target"
}
]
}

View File

@@ -0,0 +1,43 @@
{
"info": {
"name": "枫丹地脉花-路线6 芒索斯山东麓-3锚点左1",
"type": "collect",
"author": "平面镜&LCB茶包",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 4984.75,
"y": 4462.9736328125,
"action_params": ""
},
{
"id": 2,
"x": 5032.75048828125,
"y": 4492.81201171875,
"type": "target",
"move_mode": "dash",
"action": ""
},
{
"id": 3,
"x": 5043.3564453125,
"y": 4479.98974609375,
"type": "target",
"move_mode": "walk"
},
{
"id": 4,
"x": 5043.3564453125,
"y": 4479.98974609375,
"type": "path",
"move_mode": "walk"
}
]
}

View File

@@ -0,0 +1,34 @@
{
"info": {
"name": "枫丹地脉花-路线6 芒索斯山东麓-3锚点左2",
"type": "collect",
"author": "平面镜&LCB茶包",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"x": 5043.3564453125,
"y": 4479.98974609375,
"type": "path",
"move_mode": "dash",
"action": ""
},
{
"id": 2,
"x": 5043.3564453125,
"y": 4479.98974609375,
"type": "target",
"move_mode": "walk"
},
{
"id": 3,
"x": 5043.3564453125,
"y": 4479.98974609375,
"type": "target",
"move_mode": "walk"
}
]
}

View File

@@ -0,0 +1,69 @@
{
"info": {
"name": "枫丹地脉花-路线6 芒索斯山东麓-4锚点左上1",
"type": "collect",
"author": "平面镜&LCB茶包",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 4984.7451171875,
"y": 4462.9365234375,
"action_params": ""
},
{
"id": 2,
"x": 5046.47412109375,
"y": 4496.55810546875,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 3,
"x": 5077.7783203125,
"y": 4494.84716796875,
"type": "path",
"move_mode": "dash",
"action": "",
"action_params": ""
},
{
"id": 4,
"x": 5107.18701171875,
"y": 4542.48974609375,
"type": "path",
"move_mode": "dash",
"action": "",
"action_params": ""
},
{
"id": 5,
"x": 5087.0234375,
"y": 4573.26708984375,
"type": "target",
"move_mode": "walk"
},
{
"id": 6,
"x": 5087.0234375,
"y": 4573.26708984375,
"type": "target",
"move_mode": "walk"
},
{
"id": 7,
"x": 5087.0234375,
"y": 4573.26708984375,
"type": "path",
"move_mode": "walk"
}
]
}

View File

@@ -0,0 +1,33 @@
{
"info": {
"name": "枫丹地脉花-路线6 芒索斯山东麓-4锚点左上2",
"type": "collect",
"author": "平面镜&LCB茶包",
"version": "1.0",
"description": "",
"bgiVersion": "0.44.3"
},
"positions": [
{
"id": 1,
"x": 5087.0234375,
"y": 4573.26708984375,
"type": "path",
"move_mode": "walk"
},
{
"id": 2,
"x": 5087.0234375,
"y": 4573.26708984375,
"type": "target",
"move_mode": "walk"
},
{
"id": 3,
"x": 5087.0234375,
"y": 4573.26708984375,
"type": "target",
"move_mode": "walk"
}
]
}

View File

@@ -0,0 +1,547 @@
(async function () {
/**
* 封装函数,执行图片识别及点击操作(测试中,未封装完成,后续会优化逻辑)
*
* @param imagefilePath 图片路径,默认为"空参数"
* @param timeout 超时时间单位为秒默认为10秒
* @param afterBehavior 点击模式0为关闭点击1为开启点击2为开启F键点击默认为0
* @param debugmodel 调试代码模式0为关闭调试模式1为开启调试模式默认为0
* @param xa 识别区域的x轴偏移量默认为0
* @param ya 识别区域的y轴偏移量默认为0
* @param wa 识别区域的宽度默认为1920
* @param ha 识别区域的高度默认为1080
* @returns 返回识别结果包括图片的x轴坐标、y轴坐标、宽度、高度及是否找到图片
*/
async function imageRecognition(imagefilePath="空参数",timeout=10,afterBehavior=0,debugmodel=0,xa=0,ya=0,wa=1920,ha=1080) {
const startTime = new Date();
const Imagidentify = RecognitionObject.TemplateMatch(file.ReadImageMatSync(imagefilePath));
for (let ii = 0; ii < 10; ii++) {
captureRegion = captureGameRegion(); // 获取一张截图
res = captureRegion.DeriveCrop(xa, ya, wa, ha).Find(Imagidentify);
if (res.isEmpty()) {
if (debugmodel===1 & xa===0 & ya===0){log.info("识别图片中")};
} else {
if (afterBehavior===1){if (xa===0 & ya===0){log.info("点击模式:开");}await sleep(1000);click(res.x+xa, res.y+ya);}else{if (debugmodel===1 & xa===0 & ya===0){log.info("点击模式:关")}}
if (afterBehavior===2){if (xa===0 & ya===0){log.info("F模式:开");}await sleep(1000);keyPress("F");}else{if (debugmodel===1 & xa===0 & ya===0){log.info("F模式:关")}}
if (debugmodel===1 & xa===0 & ya===0){log.info("全图代码位置:({x},{y},{h},{w})", res.x-10, res.y-10, res.width+10, res.Height+10);}else{ log.info("识别到图片");}
return result = { x: res.x, y: res.y, w:res.width,h:res.Height,found: true }
}
const NowTime = new Date();
if ((NowTime - startTime)>timeout*1000){if (debugmodel===1 & xa===0 & ya===0){log.info(`${timeout}秒超时退出,未找到图片`);}return result = {found: false };}else{ii=8}
await sleep(200);
}
await sleep(1200);
}
async function Textocr(wenzi="空参数",chaotime=10,clickocr=0,debugcode=0,x=0,y=0,w=1920,h=1080) {
const startTime = new Date();
for (let ii = 0; ii < 10; ii++)
{
// 获取一张截图
let captureRegion = captureGameRegion();
let res1
// 对整个区域进行 OCR
let resList = captureRegion.findMulti(RecognitionObject.ocr(x,y,w,h));
//log.info("OCR 全区域识别结果数量 {len}", resList.count);
for (let i = 0; i < resList.count; i++)
{ // 遍历的是 C# 的 List 对象,所以要用 count而不是 length
let res = resList[i];
res1=res.text
if (res.text===wenzi) {
log.info(`${res1}”找到`);
if (debugcode===1){if (x===0 & y===0){log.info("全图代码位置:({x},{y},{h},{w})", res.x-10, res.y-10, res.width+10, res.Height+10);return result = { text: res.text, x: res.x, y: res.y, found: true }}}else{if (x===0 & y===0){log.info("文本OCR完成'{text}'", res.text);}}
if (clickocr===1){await sleep(1000);click(res.x, res.y);}else{log.info("点击模式:关")}
if (clickocr===2){await sleep(100);keyPress("F");}else{log.info("F模式:关");}
return result = { text: res.text, x: res.x, y: res.y, found: true }
}
}
const NowTime = new Date();
if (Math.abs(NowTime - startTime)>chaotime*1000){if (x===0 & y===0){log.info(`${chaotime}秒超时退出,"${wenzi}"未找到`);}return result = {found: false };}else{ii=8;await keyPress("VK_W");log.info(`"${wenzi}"识别中……`);}
await sleep(100);
}
}
setGameMetrics(1920, 1080, 1);
//================= 1.设定路线 =================
const folder1 = 'assets/枫丹地脉花-路线1 厄里那斯/';
const folder2 = 'assets/枫丹地脉花-路线2 秋分山西侧锚点左下/';
const folder3 = 'assets/枫丹地脉花-路线3 秋分山西侧锚点右/';
const folder4 = 'assets/枫丹地脉花-路线4 柔灯港上锚点/';
const folder5 = 'assets/枫丹地脉花-路线5 新枫丹科学院左锚点/';
const folder6 = 'assets/枫丹地脉花-路线6 芒索斯山东麓/';
const pathing1 = [
"枫丹地脉花-路线1 厄里那斯-1厄里那斯神像下1.json",
"枫丹地脉花-路线1 厄里那斯-1厄里那斯神像下2.json",
"枫丹地脉花-路线1 厄里那斯-2厄里那斯神像右下1.json",
"枫丹地脉花-路线1 厄里那斯-2厄里那斯神像右下2.json",
"枫丹地脉花-路线1 厄里那斯-3厄里那斯神像右下_1.json",
"枫丹地脉花-路线1 厄里那斯-3厄里那斯神像右下_2.json",
"枫丹地脉花-路线1 厄里那斯-4厄里那斯神像右下下下1.json",
"枫丹地脉花-路线1 厄里那斯-4厄里那斯神像右下下下2.json",
"枫丹地脉花-路线1 厄里那斯-5厄里那斯神像下下下下1.json",
"枫丹地脉花-路线1 厄里那斯-5厄里那斯神像下下下下2.json",
"枫丹地脉花-路线1 厄里那斯-6厄里那斯神像下下下1.json",
"枫丹地脉花-路线1 厄里那斯-6厄里那斯神像下下下2.json",
];
const pathing2 = [
"枫丹地脉花-路线2 秋分山西侧锚点左下-1秋分山左下1.json",
"枫丹地脉花-路线2 秋分山西侧锚点左下-1秋分山左下2.json",
"枫丹地脉花-路线2 秋分山西侧锚点左下-2秋分山左下+1.json",
"枫丹地脉花-路线2 秋分山西侧锚点左下-2秋分山左下+2.json",
"枫丹地脉花-路线2 秋分山西侧锚点左下-3秋分山左下下1.json",
"枫丹地脉花-路线2 秋分山西侧锚点左下-3秋分山左下下2.json",
"枫丹地脉花-路线2 秋分山西侧锚点左下-4秋分山左下下下1.json",
"枫丹地脉花-路线2 秋分山西侧锚点左下-4秋分山左下下下2.json",
"枫丹地脉花-路线2 秋分山西侧锚点左下-5秋分山左左下下1.json",
"枫丹地脉花-路线2 秋分山西侧锚点左下-5秋分山左左下下2.json",
];
const pathing3 = [
"枫丹地脉花-路线3 秋分山西侧锚点右-1锚点右1.json",
"枫丹地脉花-路线3 秋分山西侧锚点右-1锚点右2.json",
"枫丹地脉花-路线3 秋分山西侧锚点右-2锚点右右1.json",
"枫丹地脉花-路线3 秋分山西侧锚点右-2锚点右右2.json",
"枫丹地脉花-路线3 秋分山西侧锚点右-3锚点右右右1.json",
"枫丹地脉花-路线3 秋分山西侧锚点右-3锚点右右右2.json",
"枫丹地脉花-路线3 秋分山西侧锚点右-4东侧锚点上1.json",
"枫丹地脉花-路线3 秋分山西侧锚点右-4东侧锚点上2.json",
];
const pathing4 = [
"枫丹地脉花-路线4 柔灯港上锚点-1锚点左上1.json",
"枫丹地脉花-路线4 柔灯港上锚点-1锚点左上2.json",
"枫丹地脉花-路线4 柔灯港上锚点-2锚点左上+1.json",
"枫丹地脉花-路线4 柔灯港上锚点-2锚点左上+2.json",
"枫丹地脉花-路线4 柔灯港上锚点-3锚点左左上1.json",
"枫丹地脉花-路线4 柔灯港上锚点-3锚点左左上2.json",
"枫丹地脉花-路线4 柔灯港上锚点-4锚点左上++1.json",
"枫丹地脉花-路线4 柔灯港上锚点-4锚点左上++2.json",
];
const pathing5 = [
"枫丹地脉花-路线5 新枫丹科学院左锚点-1锚点左上1.json",
"枫丹地脉花-路线5 新枫丹科学院左锚点-1锚点左上2.json",
"枫丹地脉花-路线5 新枫丹科学院左锚点-2锚点上1.json",
"枫丹地脉花-路线5 新枫丹科学院左锚点-2锚点上2.json",
"枫丹地脉花-路线5 新枫丹科学院左锚点-3科学院左上锚点1.json",
"枫丹地脉花-路线5 新枫丹科学院左锚点-3科学院左上锚点2.json",
"枫丹地脉花-路线5 新枫丹科学院左锚点-4科学院左上锚点左上1.json",
"枫丹地脉花-路线5 新枫丹科学院左锚点-4科学院左上锚点左上2.json",
];
const pathing6 = [
"枫丹地脉花-路线6 芒索斯山东麓-1锚点下1.json",
"枫丹地脉花-路线6 芒索斯山东麓-1锚点下2.json",
"枫丹地脉花-路线6 芒索斯山东麓-2锚点右1.json",
"枫丹地脉花-路线6 芒索斯山东麓-2锚点右2.json",
"枫丹地脉花-路线6 芒索斯山东麓-3锚点左1.json",
"枫丹地脉花-路线6 芒索斯山东麓-3锚点左2.json",
"枫丹地脉花-路线6 芒索斯山东麓-4锚点左上1.json",
"枫丹地脉花-路线6 芒索斯山东麓-4锚点左上2.json",
];
// 路线映射表-将用户设置映射对应路线
const pathingMap = {
"路线1 厄里那斯": pathing1,
"路线2 秋分山西侧锚点左下": pathing2,
"路线3 秋分山西侧锚点右": pathing3,
"路线4 柔灯港上锚点": pathing4,
"路线5 新枫丹科学院左锚点": pathing5,
"路线6 芒索斯山东麓": pathing6
};
const folderMap = {
"路线1 厄里那斯": folder1,
"路线2 秋分山西侧锚点左下": folder2,
"路线3 秋分山西侧锚点右": folder3,
"路线4 柔灯港上锚点": folder4,
"路线5 新枫丹科学院左锚点": folder5,
"路线6 芒索斯山东麓": folder6
};
var AutofilePath = 0;
filePath = ""
// 读取原始次数配置
var LOOOKING = 0
var rawTimes = settings.times*2 ? settings.times : "12";
var color = settings.color ? settings.color : 1;
var BIAOZZ = "assets/model/BIAOZ.bmp"
if (LOOOKING == 0) {
if (color == 2){var DIMAIHUA = "assets/model/DIMAIHUA-huank.bmp";}
else if (color == 1){var DIMAIHUA = "assets/model/DIMAIHUA-lank.bmp";}
else{var DIMAIHUA = "assets/model/DIMAIHUA-lank.bmp";}
} else if (LOOOKING == 1) {
if (color == 2){var DIMAIHUA = "assets/model/DIMAIHUA-huan.bmp";}
else if (color == 1){var DIMAIHUA = "assets/model/DIMAIHUA-lan.bmp";}
else{var DIMAIHUA = "assets/model/DIMAIHUA-lan.bmp";}
}
async function PathCheak(LOOOKING=0) {
if (LOOOKING == 0) {
// 调用PathCheak1
if(await PathCheak1()) {return true;} else return false;
} else if (LOOOKING == 1) {
// 调用PathCheak2
if (await PathCheak2()) {return true;} else return false;
} else {
throw new Error("无效的参数LOOOKING请使用1或2");
}
}
// 验证是否为数字
var timesValue;
if (!/^-?\d+\.?\d*$/.test(rawTimes)) { // 匹配整数和小数
timesValue = 12
// log.info("⚠️ 刷本次数设置不为数字改为默认值12");
} else {
// 转换为数字
const num = parseFloat(rawTimes*2); // 乘以2因为每次战斗两次一次战斗两次掉落
// 范围检查
if (num < 1) {
timesValue = 1;
//log.info(`⚠️ 次数 ${num} 小于1已调整为1`);
} else if (num > 12) {
timesValue = 12;
// log.info(`⚠️ 次数 ${num} 大于12已调整为12`);
} else {
// 处理小数
if (!Number.isInteger(num)) {
timesValue = Math.floor(num);
// log.info(`⚠️ 次数 ${num} 不是整数,已向下取整为 ${timesValue}`);
} else {
timesValue = num;
}
}
}
var timesConfig = { value: timesValue };
// 快速寻路模式寻路
// 输出选择的线路
async function PathCheak1() {
await genshin.returnMainUi();
log.info("重置地图中,关闭自定义标记,快速拖动模式寻找地脉花……");
await genshin.tp(2297.60, -824.45);
await genshin.returnMainUi();
//自定义表关闭
await sleep(1200);
await keyPress("M");
await sleep(1200);
await click(53,1019);
await sleep(200);
await imageRecognition(BIAOZZ,1,1,0,1782,284,122,73);
await sleep(800);
await keyPress("VK_ESCAPE");
await sleep(1000);
//开始寻找
await genshin.setBigMapZoomLevel(3.5);
await click(1844,1021);
await sleep(500);
await click(1446,350);
let XIAN6 = await imageRecognition(DIMAIHUA,1,0,0,618,6,89,63);if (XIAN6.found){AutofilePath=6;log.info("找到线路'6'");await leftButtonUp();return true}//return true
await sleep(500);
await sleep(200);
await moveMouseTo(1275,601);
await sleep(200);
await leftButtonDown();
await sleep(200);
await moveMouseBy(1,0);
await sleep(100);
await moveMouseBy(10,0);
await sleep(200);
await moveMouseTo(1275,601);
await sleep(200);
await moveMouseTo(1272,18);
await sleep(200);
let XIAN23 = await imageRecognition(DIMAIHUA,1,0,0,1076,651,183,142);
let QIU = await Textocr("秋分山西侧",1,0,0,1076,651,183,142);
if (QIU.found && (QIU.y > XIAN23.y+651)){AutofilePath=3;log.info("找到线路'3'");await leftButtonUp();return true}//return true
if (QIU.found && (QIU.y < XIAN23.y+651)){AutofilePath=2;log.info("找到线路'2'");await leftButtonUp();return true}//return true
let XIAN1 = await imageRecognition(DIMAIHUA,1,0,0,714,633,130,124);if (XIAN1.found){AutofilePath=1;log.info("找到线路'1'");await leftButtonUp();return true}//return true
await moveMouseTo(132,583);
await sleep(200);
let XIAN4 = await imageRecognition(DIMAIHUA,1,0,0,714,633,130,124);if (XIAN4.found){AutofilePath=4;log.info("找到线路'4'");await leftButtonUp();return true}//return true
await moveMouseTo(1064,1026);
await sleep(200);
let XIAN5 = await imageRecognition(DIMAIHUA,1,0,0,714,633,130,124);if (XIAN5.found){AutofilePath=5;log.info("找到线路'5'");await leftButtonUp();return true}//
AutofilePath =0;
await leftButtonUp();
return false
}
// 放大寻路模式
async function PathCheak2() {
// 地脉花坐标
const coordArray = [
{ x: 4760, y: 2374 },//1
{ x: 4113, y: 2354 },//2
{ x: 4058, y: 2354 },//3
{ x: 2732, y: 3633 },//4
{ x: 4556, y: 4999 },//5
{ x: 4962, y: 4599 }];//6
// const coordArray = [
// { x: 4760, y: 2374 },//1
// { x: 4143, y: 2374 },//2
// { x: 4088, y: 2374 },//3
// { x: 2732, y: 3633 },//4
// { x: 4556, y: 4999 },//5
// { x: 4962, y: 4599 }];//6
await genshin.returnMainUi();
log.info("更换为放大模式寻找地脉花……");
await genshin.tp(2297.60, -824.45);
await genshin.returnMainUi();
await sleep(1000);
await keyPress("M");
await sleep(1200);
await genshin.setBigMapZoomLevel(1.5);
for (let i = 0; i < coordArray.length; i++) {
const coord = coordArray[i];
await genshin.moveMapTo(coord.x,coord.y,"枫丹");
if (i===1 || i===2){await genshin.setBigMapZoomLevel(1);}else{await genshin.setBigMapZoomLevel(1.5);}
let DIMAI = await imageRecognition(DIMAIHUA,1.5,0,0,408,185,1200,780);
if (i===1 || i===2){var QIU = await Textocr("秋分山西侧",1.5,0,0,408,185,1200,780);}
if (DIMAI.found)
{if (i===1 || i===2) {
if (QIU.found && (QIU.y > DIMAI.y+185)){AutofilePath=3;return true}//break;
if (QIU.found && (QIU.y < DIMAI.y+185)){AutofilePath=2;return true}//break;
} else{AutofilePath=i+1;return true}//break;
}
await genshin.returnMainUi();
if (i === 5){return false;}
}
await genshin.returnMainUi();
return true;
}
//寻找地脉溢口,文字识别不到转圈寻找,不管有没找到都执行战斗,最后领取奖励判断是否继续执行
async function VeinEntrance() {
for (let i = 0;i < 2;i++) {
let JIECHU = await Textocr("接触地脉溢口",3,2,0,1188,358,200,400);
if (JIECHU.found){await keyPress("F");dispatcher.addTimer(new RealtimeTimer("AutoPick", { "forceInteraction": true }));break;}else{if(i = 1){
log.warn("没找到地脉花,尝试强制转圈寻找,不管有没找到都执行战斗...");
dispatcher.addTimer(new RealtimeTimer("AutoPick", { "forceInteraction": true }));
await keyDown("W");await sleep(500);await keyUp("W");
await keyDown("D");await sleep(500);await keyUp("D");
dispatcher.addTimer(new RealtimeTimer("AutoPick", { "forceInteraction": true }));
await keyDown("S");await sleep(1000);await keyUp("S");
dispatcher.addTimer(new RealtimeTimer("AutoPick", { "forceInteraction": true }));
await keyDown("A");await sleep(1000);await keyUp("A");
dispatcher.addTimer(new RealtimeTimer("AutoPick", { "forceInteraction": true }));
await keyDown("W");await sleep(1500);await keyUp("W");
dispatcher.addTimer(new RealtimeTimer("AutoPick", { "forceInteraction": false }));
break;}
}
}
}
//定义领取动作,好感队伍是否添加?
async function claimRewards() {
log.info("尝试领取奖励,优先使用浓缩~");
let SHUN01 = await Textocr("接触地脉之花",2,2,0,1188,358,200,400);
if (SHUN01.found) {
log.info("找到地脉之花,开始领取奖励...");
}else{
let SHUN02 = await Textocr("接触地脉之花",2,2,0,1188,358,200,400);
if (!SHUN02.found) {log.info("未找到地脉之花,尝试强制转圈寻找...")
dispatcher.addTimer(new RealtimeTimer("AutoPick", { "forceInteraction": true }));
await keyDown("W");await sleep(500);await keyUp("W");
await keyDown("D");await sleep(500);await keyUp("D");
dispatcher.addTimer(new RealtimeTimer("AutoPick", { "forceInteraction": true }));
await keyDown("S");await sleep(1000);await keyUp("S");
dispatcher.addTimer(new RealtimeTimer("AutoPick", { "forceInteraction": true }));
await keyDown("A");await sleep(1000);await keyUp("A");
dispatcher.addTimer(new RealtimeTimer("AutoPick", { "forceInteraction": true }));
await keyDown("W");await sleep(1500);await keyUp("W");
dispatcher.addTimer(new RealtimeTimer("AutoPick", { "forceInteraction": false }));
}
}
await sleep(500);
let SHUN = await Textocr("使用浓缩树脂",2,1,0,672,726,191,53);
let SHUY = await Textocr("使用原粹树脂",2,1,0,877,726,193,53);
let SHUB = await Textocr("补充原粹树脂",1,0,0,877,726,193,53);
await sleep(1000);
if (SHUB.found){log.warn("树脂消耗完毕,结束任务");SHUOVER=2;await keyPress("VK_ESCAPE");await sleep(1000);return false;}
else if (SHUN.found || SHUY.found) {
log.info("找到树脂,已经使用...");dispatcher.addTimer(new RealtimeTimer("AutoPick", { forceInteraction: true })); return true;
}else{
log.warn("未找到树脂,尝试领取奖励...");
let SHUN = await Textocr("使用浓缩树脂",0.5,1,0,672,726,191,53);
let SHUY = await Textocr("使用原粹树脂",0.5,1,0,877,726,193,53);
if (SHUN.found || SHUY.found) { return true;}else{log.warn("领取错误,退出!");SHUOVER=2;return false;}//SHUOVER=2
}
}
async function isOnRewardPage() {
const rewardText = await Textocr("地脉之花", 0.5, 0, 0, 861,265, 194, 265);
return rewardText.found;
}
var shouldContinueChecking = true;
/**
* 异步检查领奖页面的函数
*
* @param timeout 超时时间单位为毫秒默认值为1000毫秒
* @returns 无返回值
*/
async function checkRewardPage(timeout = 1000) {
if (!shouldContinueChecking) {
return; // 如果不应该继续检测,则直接返回
}
if (await isOnRewardPage()) {
log.info("检测到领奖页面按ESC退出...");
await keyPress("VK_ESCAPE"); // 按ESC退出领奖页面
await genshin.returnMainUi();
await sleep(timeout);
checkRewardPage(timeout);
} else {
await sleep(timeout);
checkRewardPage(timeout);
}
}
async function Veinfligt() {
// 定义路线常量
var selectedPath = pathingMap[`路线${AutofilePath} ${['厄里那斯', '秋分山西侧锚点左下', '秋分山西侧锚点右', '柔灯港上锚点', '新枫丹科学院左锚点', '芒索斯山东麓'][AutofilePath - 1]}`]
var selectedFolder = folderMap[`路线${AutofilePath} ${['厄里那斯', '秋分山西侧锚点左下', '秋分山西侧锚点右', '柔灯港上锚点', '新枫丹科学院左锚点', '芒索斯山东麓'][AutofilePath - 1]}`]
var maxExecutions = Math.min(timesConfig.value, selectedPath.length);
log.info(`执行线路‘ ${AutofilePath} `);
log.info(`本条路线执行至第 ${maxExecutions/2} 朵花`);
var executedCount = 0;
for (let i = 0; i < selectedPath.length; i += 2){
const jsonFile1 = selectedPath[i];
const jsonFile2 = selectedPath[i + 1];
// 条件1触发次数限制
if (executedCount >= maxExecutions*2) {
log.info("已达到执行次数,终止运行");
break;}
// 执行单个到达地脉花路径文件1
log.info(`开始执行前往都地脉花:${jsonFile1}`);
await pathingScript.runFile(`${selectedFolder}${jsonFile1}`);
// 寻找地脉溢口,文字识别不到转圈寻找,不管有没找到都执行战斗,最后领取奖励判断是否继续执行
await VeinEntrance();
await sleep(1000);
dispatcher.addTimer(new RealtimeTimer("AutoPick", { "forceInteraction": false }));
if (LCBMODEL){await dispatcher.runTask(new SoloTask("LCBAutoPickCLOSE"));}//LCB自编译版本命令公版BETTERGI无效===========LCB
//执行自动战斗,配置器中的设置建议填你的队伍打一次大概得时间
shouldContinueChecking = true;
checkRewardPage();// 执行自动战斗并同步检测领奖页面
await dispatcher.runTask(new SoloTask("AutoFight"));
await sleep(2000);
await dispatcher.runTask(new SoloTask("AutoFight"));//公版BETTERGI战斗两次可能触发已经出现的地脉花
shouldContinueChecking = false;
//执行到地脉花地点的寻路脚本
log.info(`开始执行寻找地脉花奖励:${jsonFile2}`);
await pathingScript.runFile(`${selectedFolder}${jsonFile2}`);
await sleep(3000);
// 领取奖励,开始找地脉口
log.info(`开始第 ${executedCount + 1} 朵花的奖励领取`);
if (haoganq==1){log.info(`切换好感队伍:'${haogandui}'`);await genshin.SwitchParty(haogandui);}
if (!(await claimRewards())) {
log.warn("树脂消耗完毕,结束任务");
dispatcher.addTimer(new RealtimeTimer("AutoPick", { forceInteraction: false }));
if (LCBMODEL){await dispatcher.runTask(new SoloTask("LCBAutoPickOPEN"));}//LCB自编译版本命令公版BETTERGI无效===========LCB
await genshin.returnMainUi();
return true; // 条件2触发树脂耗尽
}
if (LCBMODEL){await dispatcher.runTask(new SoloTask("LCBAutoPickOPEN"));}//LCB自编译版本命令公版BETTERGI无效===========LCB
if (haoganq==1){log.info(`切换战斗队伍:'${settings.n}'`);await genshin.SwitchParty(settings.n);}
dispatcher.addTimer(new RealtimeTimer("AutoPick", { forceInteraction: false }));
// 冷却等待(可选)
await sleep(1000);
executedCount=executedCount+2;
}
return true;// 线路完成
}
//初始化
var LCBMODEL = settings.LCBMODEL ? settings.LCBMODEL : false; // false 公版BETTERGItrue 自编译版本LCB
var SHUOVER=0 //0初始状态1队伍配置标志2结束线路3线路出错
var haoganq=0 //0初始状态1好感队伍配置标志
var SHUV = settings.shuv ? settings.shuv : 1; // 1 单线路2 树脂耗尽
var Rewards = settings.Rewards ? settings.Rewards : false; // ture 领取冒险点奖励false 不领取冒险点奖励
var Fligtin = false; //领取冒险点奖励标志。
log.debug(`DEBUG:${SHUV}.${color}.${rawTimes}`);//调试LOG
if (Rewards){log.warn("结束后领励练点和提交每日!");if(settings.nh === undefined) {log.warn("好感队未配置,领奖励时不切换队伍")}}
if (settings.nh === undefined) { log.warn("好感队禁用!");haoganq=0}else{var haogandui = settings.nh;haoganq=1;if(settings.n === undefined) {throw new Error("好感队已经设置,请填战斗队伍!")}}
if (settings.n === undefined) { log.warn("队伍名称未配置,不更换队伍!");SHUOVER=1;}
if (SHUV === 1) {log.warn("线路模式 '单线路!'");}else{log.warn("线路模式 '树脂耗尽模式!'")}
if (color == 1) {log.warn("地脉类型 '蓝色经验书花!'");}else{log.warn("地脉类型 '黄色摩拉花!'")}
let nowuidString = settings.nowuid ? settings.nowuid : "";
// 使用正则表达式匹配字符串中的所有数字序列//UID获取存在概率不成功慎用请更换背景纯色的名片提高OCR成功率
let uidNumbers = nowuidString.match(/\d+/g);
if (nowuidString) {
log.debug(`DEBUG:${uidNumbers}`);//调试LOG
await genshin.returnMainUi();
await keyPress("VK_ESCAPE");
await sleep(500);
if (uidNumbers && uidNumbers.length > 0) {
// 使用 for...of 循环遍历 uidNumbers 数组
for (let number of uidNumbers) {
var UIDnow = "UID" + number;
log.debug(`DEBUG:${UIDnow}`);
let UIDD = await Textocr(UIDnow, 1, 0, 0, 112,177, 190, 39);
if (UIDD.found) {
log.warn(`UID "${UIDnow}" 已被禁用,停止刷取!`);
SHUOVER = 2; // 假设 SHUOVER = 2 表示需要停止程序
break;
}
}
}
}else{log.warn("未配置禁用UID继续进行");}
try {
if (LCBMODEL){await dispatcher.runTask(new SoloTask("LCBAutoPickCLOSE"));}//LCB自编译版本命令公版BETTERGI无效===========LCB
//根据SHUOVER决定模式
while (SHUOVER<=1){
Fligtin = true ; //领取冒险点奖励标志。
if (!(await PathCheak(0))){if (!(await PathCheak(1))){throw new Error("未找到地脉花,退出!")}}
//第一次执行选择队伍
if (SHUOVER = 0){await genshin.SwitchParty(settings.n);await sleep(500);}
//开始寻找并执行地脉花自动。
if (!(await Veinfligt())){throw new Error("线路出错,退出!")}
//线路一般4~6朵花默认打完一条线路后退出如耗尽模式重新寻找地脉线路打到没树脂为止。
if (SHUV == 2 && SHUOVER !==2){SHUOVER=1;}else{SHUOVER=2;}
}
await genshin.returnMainUi();
log.warn("本次地脉花路线已执行完毕。");
//领取冒险点奖励,切换好感队伍
if (Rewards && Fligtin) {
if(!(settings.nh === undefined)){log.info(`切换好感队伍:'${haogandui}'`);await genshin.SwitchParty(haogandui);}else{log.warn("好感队未配置,领奖励时不切换队伍")}
await genshin.goToAdventurersGuild("枫丹");}
if (LCBMODEL){await dispatcher.runTask(new SoloTask("LCBAutoPickOPEN"));}//LCB自编译版本命令公版BETTERGI无效===========LCB
} catch (error) {
log.error(`执行过程中发生错误:${error.message}`);
}finally{
await genshin.returnMainUi();
}
})();

View File

@@ -0,0 +1,20 @@
{
"manifest_version": 1,
"name": "可禁UID&领每日&好感队切换",
"version": "1.0",
"bgi_version": "0.44.3",
"description": "枫丹地脉花蓝花金花通用。生存压力大请带盾奶避免纯水输出。地脉花特殊请注意说明文件。QQ:119996800茶包 加我请说明来意。",
"authors": [
{
"name": "平面镜&D捣蛋&LCB茶包"
}
],
"settings_ui": "settings.json",
"main": "main.js",
"versionLog": {
"v1.0": [
"感谢平面镜之前的基础线路版本和D捣蛋的基础逻辑"
]
}
}

View File

@@ -0,0 +1,50 @@
[
{
"name": "n",
"type": "input-text",
"label": "选填,战斗队伍,默认不更换队伍,如需好感队则必填"
},
{
"name": "nh",
"type": "input-text",
"label": "选填,好感队伍,如设定领奖前切换,同时战斗队伍必填"
},
{
"name": "times",
"type": "input-text",
"label": "选填单路线刷取次数可填1-6,默认6次打完整条线"
},
{
"name": "shuv",
"type": "select",
"label": "选填默认“1”为只打一条线路选“2”为耗尽树脂模式",
"options": [
"1",
"2"
]
},
{
"name": "color",
"type": "select",
"label": "选填,默认:蓝花(经验花)选“1” / 黄花填(摩拉花)选“2”",
"options": [
"1",
"2"
]
},
{
"name": "nowuid",
"type": "input-text",
"label": "慎用禁止特定UID刷地脉花用 / 隔开如12345/99999"
},
{
"name": "Rewards",
"type": "checkbox",
"label": "勾选后,打完地脉花后,领取历练点并提交每日任务"
},
{
"name": "LCBMODEL",
"type": "checkbox",
"label": "作者测试用,勾选后会报错,不要点!!!·"
}
]