Merge pull request #131 from MisakaAldrich/main

地图追踪&JS脚本
This commit is contained in:
辉鸭蛋
2024-12-03 11:10:47 +08:00
committed by GitHub
5 changed files with 151 additions and 54 deletions

View File

@@ -24,13 +24,13 @@ for (let i = 0; i < settings.cycle_times; ++i) {
await sleep(1000);
keyPress("E");//释放芙芙元素战技
await sleep(1000);
await sleep(800);
keyPress("2");//芙芙切后台触发剧团
await sleep(1000);
await sleep(500);
keyPress("T");//附身纳塔龙
await sleep(27000);
await sleep(28500);
log.info("第"+(i+1)+"次执行完成")
}

View File

@@ -1,18 +1,15 @@
{
"manifest_version": 1,
"name": "芙芙挂机暗杀流", // 名称
"version": "1.0", // 版本
"bgi_version": "0.37.2", // 适用于 BetterGI 的最低版本BetterGI低于此版本会提示
"description": "用于芙宁娜海鲜挂机暗杀地方传奇", // 描述
// 作者信息
"name": "芙芙挂机暗杀流",
"version": "1.0",
"bgi_version": "0.37.2",
"description": "用于芙宁娜海鲜挂机暗杀地方传奇",
"authors": [
{
"name": "起个名字好难",
"link": "https://mualani.fun"
}
],
// 自定义配置
"settings_ui": "settings.json",
// 入口文件
"main": "main.js"
}

View File

@@ -0,0 +1,60 @@
{
"info": {
"name": "绯樱绣球-鸣神大社-3个",
"type": "collect",
"author": "起个名字好难",
"version": "1.0",
"description": "",
"bgiVersion": "0.37.3"
},
"positions": [
{
"id": 1,
"x": -4375.9765625,
"y": -2500.068359375,
"action": "",
"move_mode": "walk",
"type": "teleport"
},
{
"id": 2,
"x": -4374.119140625,
"y": -2469.8017578125,
"action": "electro_collect",
"move_mode": "walk",
"type": "target"
},
{
"id": 3,
"x": -4380.75,
"y": -2465.75,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"id": 4,
"x": -4387.537109375,
"y": -2468.890625,
"action": "electro_collect",
"move_mode": "walk",
"type": "target"
},
{
"id": 5,
"x": -4377.8515625,
"y": -2501.1357421875,
"action": "",
"move_mode": "walk",
"type": "teleport"
},
{
"id": 6,
"x": -4412.14453125,
"y": -2494.033203125,
"action": "electro_collect",
"move_mode": "walk",
"type": "target"
}
]
}

View File

@@ -0,0 +1,84 @@
{
"info": {
"name": "绯樱绣球-镇守之森-4个",
"type": "collect",
"author": "起个名字好难",
"version": "1.0",
"description": "",
"bgiVersion": "0.37.3"
},
"positions": [
{
"id": 1,
"x": -4429.80078125,
"y": -2798.5849609375,
"type": "teleport",
"move_mode": "walk",
"action": ""
},
{
"id": 2,
"x": -4441.2890625,
"y": -2799.7509765625,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"id": 3,
"x": -4464.7421875,
"y": -2813.2109375,
"type": "target",
"move_mode": "walk",
"action": "electro_collect"
},
{
"id": 4,
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": -4430.189453125,
"y": -2799.4716796875
},
{
"id": 5,
"x": -4432.47265625,
"y": -2763.388671875,
"type": "target",
"move_mode": "walk",
"action": "electro_collect"
},
{
"id": 6,
"x": -4415.365234375,
"y": -2790.0234375,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"id": 7,
"x": -4405.775390625,
"y": -2793.630859375,
"type": "target",
"move_mode": "walk",
"action": "electro_collect"
},
{
"id": 8,
"x": -4383.607421875,
"y": -2793.5517578125,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"id": 9,
"x": -4378.828125,
"y": -2849.36328125,
"type": "target",
"move_mode": "walk",
"action": "electro_collect"
}
]
}

View File

@@ -1,44 +0,0 @@
{
"info": {
"name": "鬼兜虫-踏鞴砂(东侧)-1个",
"type": "collect",
"author": "起个名字好难",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
},
"positions": [
{
"id": 1,
"x": -3480.6337890625,
"y": -3754.4375,
"type": "teleport",
"move_mode": "walk",
"action": ""
},
{
"id": 3,
"x": -3457.314453125,
"y": -3772.1884765625,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"id": 4,
"x": -3382.8271484375,
"y": -3745.73046875,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"id": 5,
"x": -3378.005859375,
"y": -3750.4794921875,
"type": "target",
"move_mode": "walk",
"action": "pick_around"
}
]
}