Compare commits

...

8 Commits

Author SHA1 Message Date
physligl
a39f77d30d update repo.json
Some checks failed
Build repo.json / build (18.x) (push) Has been cancelled
Build repo.json / upload (push) Has been cancelled
2025-06-15 08:57:11 +00:00
火山
60aa7b7f62 地图追踪:水晶块(璃月部分补完) (#1103)
* 地图追踪:水晶块(璃月部分补完)

* 自动修复 JSON 格式和版本号 [ci skip]

---------

Co-authored-by: GitHub Actions Bot <actions@github.com>
2025-06-15 15:48:25 +08:00
huiyadanli
1e6515f2f1 update repo.json 2025-06-15 07:47:03 +00:00
辉鸭蛋
50a7fa1239 Update sync_mirrors_git.yml 2025-06-15 15:46:15 +08:00
physligl
5b3b2480c9 update repo.json 2025-06-15 06:57:11 +00:00
LX666-666
7ae0ee9535 自动地图追踪录制 (#1102) 2025-06-15 14:56:53 +08:00
huiyadanli
245ee1c06d update repo.json 2025-06-15 06:26:49 +00:00
Patrick-Ze
13c7d366e3 js: CD-Aware-AutoGather: 跳过不存在json的文件夹; 按七国顺序排序地方特产 (#1101) 2025-06-15 14:26:27 +08:00
17 changed files with 1123 additions and 27 deletions

View File

@@ -1,8 +1,10 @@
name: Sync to Mirror Repositories
on:
push:
branches: [ main ]
workflow_run:
workflows: ["Build repo.json"]
types:
- completed # 当第一个工作流完成时触发
workflow_dispatch: # 允许手动触发
jobs:
@@ -44,4 +46,4 @@ jobs:
- name: Report sync status
if: always()
run: |
echo "Sync operation completed. Check individual steps for any errors."
echo "Sync operation completed. Check individual steps for any errors."

115
repo.json
View File

@@ -1,5 +1,5 @@
{
"time": "20250615015623",
"time": "20250615165710",
"url": "https://github.com/babalae/bettergi-scripts-list/archive/refs/heads/main.zip",
"file": "repo.json",
"indexes": [
@@ -32877,6 +32877,97 @@
"战斗"
],
"lastUpdated": "2025-06-14 22:28:56"
},
{
"name": "25-天工峡-4个.json",
"type": "file",
"hash": "e3fd3c2b8d0bc61436921f21acc64a7ba8fc52fc",
"version": "1.0",
"author": "火山",
"description": "",
"tags": [
"bgi≥0.45.0",
"矿物",
"水晶块",
"璃月"
],
"lastUpdated": "2025-06-15 15:48:25"
},
{
"name": "26-巨渊之口-4个.json",
"type": "file",
"hash": "45d002be3913e92c759d52481c6087760c60f4c0",
"version": "1.0",
"author": "火山",
"description": "",
"tags": [
"bgi≥0.45.0",
"矿物",
"水晶块",
"璃月"
],
"lastUpdated": "2025-06-15 15:48:25"
},
{
"name": "27-岩中幽谷-7个.json",
"type": "file",
"hash": "40cdd86d2420f4a1ff914a666c7b524eb578364c",
"version": "1.0",
"author": "火山",
"description": "",
"tags": [
"bgi≥0.45.0",
"矿物",
"水晶块",
"璃月"
],
"lastUpdated": "2025-06-15 15:48:25"
},
{
"name": "28-地面矿区(有战斗)-9个.json",
"type": "file",
"hash": "980213041639431099eb499e159cdc06b072e009",
"version": "1.0",
"author": "火山",
"description": "",
"tags": [
"bgi≥0.45.0",
"矿物",
"水晶块",
"璃月",
"战斗"
],
"lastUpdated": "2025-06-15 15:48:25"
},
{
"name": "29-琉璃峰-5个.json",
"type": "file",
"hash": "46c68d988a826054b35aa421955a31b9f64cb383",
"version": "1.0",
"author": "火山",
"description": "",
"tags": [
"bgi≥0.45.0",
"矿物",
"水晶块",
"璃月"
],
"lastUpdated": "2025-06-15 15:48:25"
},
{
"name": "30-琉璃峰北-2个.json",
"type": "file",
"hash": "0d03e84cb511b4194b18d0ad0d71424dd1c0190e",
"version": "1.0",
"author": "火山",
"description": "",
"tags": [
"bgi≥0.45.0",
"矿物",
"水晶块",
"璃月"
],
"lastUpdated": "2025-06-15 15:48:25"
}
]
},
@@ -52884,6 +52975,20 @@
],
"lastUpdated": "2025-05-27 23:24:54"
},
{
"name": "AutoTranscribePathing",
"type": "directory",
"hash": "0382fb64285174877dc51a9ba8767fa07078014a",
"version": "1.0",
"author": "星野",
"description": "地图追踪录制~|~自动地图追踪录制每3秒从小地图获取一次当前坐标打开大地图结束录制",
"tags": [
"bgi≥0.45.0",
"工具",
"委托"
],
"lastUpdated": "2025-06-15 14:56:53"
},
{
"name": "AutoWoodCutting-Patch",
"type": "directory",
@@ -52964,14 +53069,14 @@
{
"name": "CD-Aware-AutoGather",
"type": "directory",
"hash": "ad8b4b030eb3da0faf6b5d2342ea46e1f263f3d9",
"version": "1.0",
"hash": "0692488caf28b58433d7756494e606a16181d11e",
"version": "1.1",
"author": "Ayaka-Main",
"description": "带CD管理的自动采集~|~自动同步你通过BetterGI订阅的地图追踪任务执行采集任务并管理材料刷新时间支持多账号。\n首次运行前请先简单阅读说明推荐在线版 https://github.com/babalae/bettergi-scripts-list/tree/main/repo/js/CD-Aware-AutoGather \n本地版说明见脚本目录内的 README.md 文件",
"description": "带CD管理的自动采集~|~自动同步你通过BetterGI订阅的地图追踪任务执行采集任务并管理材料刷新时间支持多账号。\n首次运行前请先简单阅读说明推荐在线版 https://gitee.com/babalae/bettergi-scripts-list/tree/main/repo/js/CD-Aware-AutoGather \n本地版说明见脚本目录内的 README.md 文件",
"tags": [
"bgi≥0.45.0"
],
"lastUpdated": "2025-06-03 00:40:19"
"lastUpdated": "2025-06-15 14:26:27"
},
{
"name": "Collect Dongtian Xuyu Resin",

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

@@ -0,0 +1,4 @@
-1.json
F
-2.json
F

View File

@@ -0,0 +1,159 @@
// 定义识别对象
const paimonMenuRo = RecognitionObject.TemplateMatch(
file.ReadImageMatSync("assets/RecognitionObject/paimon_menu.png"),
0,
0,
genshin.width / 3.0,
genshin.width / 5.0
);
// 判断是否在主界面的函数
const isInMainUI = () => {
let captureRegion = captureGameRegion();
let res = captureRegion.Find(paimonMenuRo);
return !res.isEmpty();
};
// 获取设置
/*const settings = {
questName: "默认委托",
questLocation: "默认地点",
trackNumber: "1"
//runMode: "录制模式",
};*/
const questName = settings.questName
const questLocation = settings.questLocation
const trackNumber = settings.trackNumber
const runMode = settings.runMode
// 初始化追踪数据
let trackData = {
"info": {
"name": `${settings.questName}-${settings.trackNumber}`,
"type": "collect",
"author": settings.author,
"version": settings.version,
"description": settings.description,
"map_name": "Teyvat",
"bgi_version": "0.45.0"
},
"positions": []
};
// 检查是否需要创建新文件夹
function checkOrCreateFolder() {
const folderName = `assets/${settings.questLocation}-${settings.questName}`;
/*if (!file.existsSync(folderName)) {
file.writeTextSync(folderName, { recursive: true });
log.info(`创建文件夹: ${folderName}`);
}*/
}
// 保存追踪数据
async function saveTrackData() {
const filePath = `assets/${settings.questLocation}-${settings.questName}/${settings.questName}-${settings.trackNumber}.json`;
//const fileName = `${settings.questName}-${settings.trackNumber}.json`;
try {
await file.writeTextSync(filePath, JSON.stringify(trackData, null, 2));
log.info(`追踪数据已保存到: ${filePath}`);
} catch (error) {
log.error(`保存追踪数据失败: ${error}`);
}
}
// 获取当前位置并添加到追踪数据
async function recordPosition() {
if (isInMainUI()) {
try {
const position = genshin.getPositionFromMap();
log.info(`从小地图获取坐标: X=${position.X}, Y=${position.Y}`);
trackData.positions.push({
"id": trackData.positions.length + 1,
"x": position.X,
"y": position.Y,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "path"
});
}
catch (error) {
log.error(`获取坐标失败: ${error.message}`);
await sleep(500);
return await recordPosition();;
}
} else {
try {
await genshin.setBigMapZoomLevel(1.0);
const position = genshin.getPositionFromBigMap();
log.info(`从大地图获取坐标: X=${position.X}, Y=${position.Y}`);
trackData.positions.push({
"id": trackData.positions.length + 1,
"x": position.X,
"y": position.Y,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "target"
});
log.info("已在大地图界面,已生成地图追踪,脚本结束");
await saveTrackData();
return false;
}
catch (error) {
log.error(`获取坐标失败: ${error.message}`);
await sleep(500);
return await recordPosition();;
}
}
return true;
}
// 主逻辑
async function main() {
log.info("委托地图追踪录制开始");
checkOrCreateFolder();
if (settings.runMode === "运行模式") {
const filePath = `assets/${settings.questLocation}-${settings.questName}/${settings.questName}-${settings.trackNumber}.json`;
log.info(`正在运行地图追踪任务文件: ${filePath}`);
await pathingScript.runFile(filePath);
return;
}
let continueRecording = true;
let recordCount = 0;
if (isInMainUI()) {
const position = genshin.getPositionFromMap();
log.info(`从小地图获取坐标: X=${position.X}, Y=${position.Y}`);
trackData.positions.push({
"id": trackData.positions.length + 1,
"x": position.X,
"y": position.Y,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "teleport"
});
} else {
log.info("不在主界面,请返回主界面后重新启动脚本");
return;
}
await sleep(3000);
while (continueRecording && recordCount < 999) { // 限制最大录制次数,避免无限循环
continueRecording = await recordPosition();
if (continueRecording) {
recordCount++;
await sleep(3000); // 每3秒录制一次
}
}
log.info("委托地图追踪录制结束");
}
main();

View File

@@ -0,0 +1,19 @@
{
"manifest_version": 1,
"name": "地图追踪录制",
"version": "1.0",
"bgi_version": "0.45.0",
"description": "自动地图追踪录制每3秒从小地图获取一次当前坐标打开大地图结束录制",
"tags": [
"工具",
"委托"
],
"authors": [
{
"name": "星野",
"link": "https://github.com/LX666-666"
}
],
"settings_ui": "settings.json",
"main": "main.js"
}

View File

@@ -0,0 +1,48 @@
[
{
"name": "questName",
"type": "input-text",
"label": "委托名称",
"default": "默认委托"
},
{
"name": "questLocation",
"type": "input-text",
"label": "委托地点",
"default": "默认地点"
},
{
"name": "trackNumber",
"type": "input-text",
"label": "地图追踪编号",
"default": 1
},
{
"name": "runMode",
"type": "select",
"label": "运行模式",
"options": [
"录制模式",
"运行模式"
],
"default": "录制模式"
},
{
"name": "author",
"type": "input-text",
"label": "作者",
"default": "星野工具箱"
},
{
"name": "description",
"type": "input-text",
"label": "描述",
"default": "自动地图追踪录制"
},
{
"name": "version",
"type": "input-text",
"label": "版本",
"default": "1.0"
}
]

View File

@@ -14,7 +14,9 @@
扫描完成后,将自动更新脚本可用的配置菜单。此时再次打开右键的`修改JS脚本自定义配置`,将看到新增了多个配置项,其中包含刚刚扫描到的材料目录。
![preview.png](https://github.com/user-attachments/assets/62961d83-cde4-4de6-9b87-bdaaf63896db)
<!-- ![preview.png](https://github.com/user-attachments/assets/62961d83-cde4-4de6-9b87-bdaaf63896db) -->
![preview.png](https://foruda.gitee.com/images/1749967868807757262/ada1abf2_9716310.png)
如果你订阅了很多地图追踪任务,那么扫描结果也会比较多,选项列表也会比较长,但不影响脚本运行。
@@ -37,9 +39,12 @@
如果不同的采集任务需要不同队伍,那请在调度器配置组里添加多次本脚本,然后分别设置不同的采集物和采集队伍。
> 采集任务可能用到的元素共有`火水雷风`4种此外还有挖矿类如钟离以及纳西妲两个类型可以考虑建立两支队伍`钟纳火水`和`钟纳雷风`,即可满足所有采集任务的需要。
支持使用配置组`更多功能`——`日志分析`分析运行记录(参考了[mno](https://github.com/Bedrockx)大佬的写法)。
![log_analysis.png](https://github.com/user-attachments/assets/9496d191-b46a-4705-b5b9-4e00fa7ef2a5)
<!-- ![log_analysis.png](https://github.com/user-attachments/assets/9496d191-b46a-4705-b5b9-4e00fa7ef2a5) -->
![log_analysis.png](https://foruda.gitee.com/images/1749967993135535153/3bbeecd3_9716310.png)
## 3. 清除运行记录(重置材料刷新时间)

View File

@@ -107,15 +107,16 @@ class ReachStopTime extends Error {
}
const runMode = settings.runMode;
const scriptName = getScriptItselfName();
// 结束真正由BGI产生的那次开始记录
startTime = fakeLogCore(scriptName, true);
log.info("当前运行模式:{0}", runMode);
if (runMode === "扫描文件夹更新可选材料列表") {
await runScanMode();
} else if (runMode === "采集选中的材料") {
const scriptName = getScriptItselfName();
// 配对关闭真正由BGI产生的那次开始记录
startTime = fakeLogCore(scriptName, true);
await runGatherMode();
// 重新开始一条记录与BGI产生的结束记录配对
fakeLogCore(scriptName, true, startTime);
} else if (runMode === "清除运行记录(重置材料刷新时间)") {
await runClearMode();
} else {
@@ -123,8 +124,6 @@ class ReachStopTime extends Error {
await sleep(3000);
await runScanMode();
}
// 重新开始一条记录与BGI产生的结束记录配对
fakeLogCore(scriptName, true, startTime);
})();
// 扫描文件夹更新可选材料列表
@@ -137,19 +136,31 @@ async function runScanMode() {
const templateText = file.readTextSync("settings.template.json");
let config = JSON.parse(templateText);
// 将地方特产按照国家顺序排序
const countryList = ["蒙德", "璃月", "稻妻", "须弥", "枫丹", "纳塔", "至冬"];
const sortedList = pathList.slice().sort((a, b) => {
const getRegion = p => p.split("\\")[2];
const aIndex = countryList.indexOf(getRegion(a));
const bIndex = countryList.indexOf(getRegion(b));
return (aIndex === -1 ? Infinity : aIndex) - (bIndex === -1 ? Infinity : bIndex);
});
// 3. 处理每个路径
let count = 0;
for (const path of pathList) {
for (const path of sortedList) {
const info = getCooldownInfoFromPath(path);
if (info.coolType !== CooldownType.Unknown) {
const jsonFiles = filterFilesInTaskDir(info.label);
if (jsonFiles.length === 0) {
log.info("{0}内无json文件跳过", path);
} else if (info.coolType === CooldownType.Unknown) {
log.warn("路径{0}未找到对应的刷新机制,跳过", path);
} else {
config.push({
name: info.name,
label: "⬇️ " + info.label,
type: "checkbox"
});
count += 1;
} else {
log.warn("路径{0}未找到对应的刷新机制,跳过", path);
}
}
// 4. 写入新的配置(格式化输出)
@@ -221,7 +232,7 @@ async function runClearMode() {
const resetTime = strftime(baseTime);
let account = await getCurrentAccount();
for (const pathTask of selectedMaterials) {
const jsonFiles = filterFilesInTaskDir(pathTask);
const jsonFiles = filterFilesInTaskDir(pathTask.label);
const recordFile = getRecordFilePath(account, pathTask);
const lines = jsonFiles.map((filePath) => {
return `${basename(filePath)}\t${resetTime}`;
@@ -238,8 +249,7 @@ function getRecordFilePath(account, pathTask) {
return `record/${account}/${taskName}.txt`;
}
function filterFilesInTaskDir(pathTask, ext=".json") {
const taskDir = pathTask.label;
function filterFilesInTaskDir(taskDir, ext=".json") {
const allFilesRaw = file.ReadPathSync("pathing\\" + taskDir);
const extFiles = [];
@@ -255,7 +265,7 @@ function filterFilesInTaskDir(pathTask, ext=".json") {
async function runPathTaskIfCooldownExpired(account, pathTask) {
const recordFile = getRecordFilePath(account, pathTask);
const jsonFiles = filterFilesInTaskDir(pathTask);
const jsonFiles = filterFilesInTaskDir(pathTask.label);
log.info("{0}共有{1}条路线", pathTask.label, jsonFiles.length);

View File

@@ -1,9 +1,9 @@
{
"manifest_version": 1,
"name": "带CD管理的自动采集",
"version": "1.0",
"version": "1.1",
"bgi_version": "0.45.0",
"description": "自动同步你通过BetterGI订阅的地图追踪任务执行采集任务并管理材料刷新时间支持多账号。\n首次运行前请先简单阅读说明推荐在线版 https://github.com/babalae/bettergi-scripts-list/tree/main/repo/js/CD-Aware-AutoGather \n本地版说明见脚本目录内的 README.md 文件",
"description": "自动同步你通过BetterGI订阅的地图追踪任务执行采集任务并管理材料刷新时间支持多账号。\n首次运行前请先简单阅读说明推荐在线版 https://gitee.com/babalae/bettergi-scripts-list/tree/main/repo/js/CD-Aware-AutoGather \n本地版说明见脚本目录内的 README.md 文件",
"authors": [
{
"name": "Ayaka-Main",

View File

@@ -2,7 +2,7 @@
{
"name": "runMode",
"type": "select",
"label": "首次运行前请先简单阅读说明,推荐在线版\n https://github.com/babalae/bettergi-scripts-list\n/tree/main/repo/js/CD-Aware-AutoGather \n本地版说明见脚本目录内的 README.md 文件",
"label": "首次运行前请先简单阅读说明,推荐在线版\n https://gitee.com/babalae/bettergi-scripts-list\n/tree/main/repo/js/CD-Aware-AutoGather \n本地版说明见脚本目录内的 README.md 文件",
"options": [
"扫描文件夹更新可选材料列表"
]

View File

@@ -0,0 +1,94 @@
{
"info": {
"name": "25-天工峡-4个",
"type": "collect",
"author": "火山",
"version": "1.0",
"description": "",
"map_name": "Teyvat",
"bgi_version": "0.45.0"
},
"positions": [
{
"id": 1,
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 1759.55,
"y": -874.19,
"action_params": ""
},
{
"id": 2,
"x": 1779.13,
"y": -887.38,
"type": "path",
"move_mode": "dash",
"action": "",
"action_params": ""
},
{
"id": 3,
"x": 1773.17,
"y": -891.54,
"type": "target",
"move_mode": "walk",
"action": "combat_script",
"action_params": "诺艾尔 attack(0.2),wait(0.3)"
},
{
"id": 4,
"x": 1773.08,
"y": -893.92,
"type": "target",
"move_mode": "walk",
"action": "combat_script",
"action_params": "诺艾尔 attack(0.2), attack(0.2),wait(0.3),attack(0.2),wait(1)"
},
{
"id": 5,
"x": 1772.88,
"y": -897.15,
"type": "target",
"move_mode": "walk",
"action": "combat_script",
"action_params": "诺艾尔 attack(0.2),wait(0.3)"
},
{
"id": 6,
"x": 1778.29,
"y": -902.06,
"type": "target",
"move_mode": "walk",
"action": "combat_script",
"action_params": "诺艾尔 attack(0.2), attack(0.2),wait(0.3),attack(0.2),wait(1)"
},
{
"id": 7,
"x": 1779.38,
"y": -900.25,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 8,
"x": 1779.69,
"y": -898.23,
"type": "target",
"move_mode": "walk",
"action": "combat_script",
"action_params": "诺艾尔 attack(0.2), attack(0.2),wait(0.3),attack(0.2),wait(1)"
},
{
"id": 9,
"x": 1778.33,
"y": -896.22,
"type": "target",
"move_mode": "walk",
"action": "combat_script",
"action_params": "诺艾尔 attack(0.2),wait(0.3)"
}
]
}

View File

@@ -0,0 +1,94 @@
{
"info": {
"name": "26-巨渊之口-4个",
"type": "collect",
"author": "火山",
"version": "1.0",
"description": "",
"map_name": "Teyvat",
"bgi_version": "0.45.0"
},
"positions": [
{
"id": 1,
"x": 1917.89,
"y": -760.86,
"type": "teleport",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 2,
"x": 1917.42,
"y": -759.95,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 3,
"x": 1901.25,
"y": -747.46,
"type": "path",
"move_mode": "fly",
"action": "stop_flying",
"action_params": "1500"
},
{
"id": 4,
"x": 1903.93,
"y": -746.07,
"type": "target",
"move_mode": "walk",
"action": "combat_script",
"action_params": "诺艾尔 attack(0.2),wait(0.3)"
},
{
"id": 5,
"x": 1905.29,
"y": -743.13,
"type": "target",
"move_mode": "walk",
"action": "combat_script",
"action_params": "诺艾尔 attack(0.2), attack(0.2),wait(0.3),attack(0.2),wait(1)"
},
{
"id": 6,
"x": 1903.32,
"y": -741.52,
"type": "target",
"move_mode": "walk",
"action": "combat_script",
"action_params": "诺艾尔 attack(0.2), attack(0.2),wait(0.3),attack(0.2),wait(1)"
},
{
"id": 7,
"x": 1905.12,
"y": -740.59,
"type": "target",
"move_mode": "walk",
"action": "combat_script",
"action_params": "诺艾尔 attack(0.2),wait(0.3)"
},
{
"id": 8,
"x": 1906.9,
"y": -739.37,
"type": "target",
"move_mode": "walk",
"action": "combat_script",
"action_params": "诺艾尔 attack(0.2), attack(0.2),wait(0.3),attack(0.2),wait(1)"
},
{
"id": 9,
"x": 1906.41,
"y": -736.37,
"type": "target",
"move_mode": "walk",
"action": "combat_script",
"action_params": "诺艾尔 attack(0.2), attack(0.2),wait(0.3),attack(0.2),wait(1)"
}
]
}

View File

@@ -0,0 +1,157 @@
{
"info": {
"name": "27-岩中幽谷-7个",
"type": "collect",
"author": "火山",
"version": "1.0",
"description": "",
"map_name": "Teyvat",
"bgi_version": "0.45.0"
},
"positions": [
{
"id": 1,
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 1902.31,
"y": -478.89,
"action_params": ""
},
{
"id": 2,
"x": 1906.19,
"y": -480.04,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 3,
"x": 1912.05,
"y": -480.93,
"type": "path",
"move_mode": "fly",
"action": "stop_flying",
"action_params": "1100"
},
{
"id": 4,
"x": 1913.71,
"y": -480.27,
"type": "target",
"move_mode": "walk",
"action": "combat_script",
"action_params": "诺艾尔 attack(0.2), attack(0.2),wait(0.7)"
},
{
"id": 5,
"x": 1887.74,
"y": -470.55,
"type": "target",
"move_mode": "dash",
"action": "combat_script",
"action_params": "诺艾尔 attack(0.2), attack(0.2),wait(0.3),attack(0.2),wait(1)"
},
{
"id": 6,
"x": 1885.62,
"y": -473.71,
"type": "target",
"move_mode": "walk",
"action": "combat_script",
"action_params": "诺艾尔 attack(0.2), attack(0.2),wait(0.3),attack(0.2),wait(1)"
},
{
"id": 7,
"x": 1902.31,
"y": -478.89,
"type": "teleport",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 8,
"x": 1913.43,
"y": -496.5,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 9,
"x": 1900.8,
"y": -515.99,
"type": "orientation",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 10,
"x": 1901.2,
"y": -515.57,
"type": "target",
"move_mode": "dash",
"action": "combat_script",
"action_params": "诺艾尔 attack(0.2), attack(0.2),wait(0.3),attack(0.2),wait(1)"
},
{
"id": 11,
"x": 1899.75,
"y": -517.16,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 12,
"x": 1860.03,
"y": -568.7,
"type": "path",
"move_mode": "dash",
"action": "",
"action_params": ""
},
{
"id": 13,
"x": 1814.64,
"y": -580.06,
"type": "target",
"move_mode": "dash",
"action": "combat_script",
"action_params": "诺艾尔 attack(0.2), attack(0.2),wait(0.3),attack(0.2),wait(1)"
},
{
"id": 14,
"x": 1812.84,
"y": -583.34,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 15,
"x": 1812.72,
"y": -583.37,
"type": "orientation",
"move_mode": "walk",
"action": "combat_script",
"action_params": "诺艾尔 attack(0.2),wait(0.3)"
},
{
"id": 16,
"x": 1810.16,
"y": -583.17,
"type": "target",
"move_mode": "jump",
"action": "combat_script",
"action_params": "keypress(x),wait(0.3),诺艾尔 attack(0.2), attack(0.2),wait(0.3),attack(0.2),wait(1)"
}
]
}

View File

@@ -0,0 +1,166 @@
{
"info": {
"name": "28-地面矿区(有战斗)-9个",
"type": "collect",
"author": "火山",
"version": "1.0",
"description": "",
"map_name": "Teyvat",
"bgi_version": "0.45.0"
},
"positions": [
{
"id": 1,
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 1701.5,
"y": -582.35,
"action_params": ""
},
{
"id": 2,
"x": 1653.23,
"y": -586.68,
"type": "path",
"move_mode": "dash",
"action": "fight",
"action_params": ""
},
{
"id": 3,
"x": 1652.09,
"y": -588.84,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 4,
"x": 1650.56,
"y": -578.95,
"type": "target",
"move_mode": "dash",
"action": "combat_script",
"action_params": "诺艾尔 attack(0.2), attack(0.2),wait(0.3),attack(0.2),wait(1)"
},
{
"id": 5,
"x": 1646.53,
"y": -579.43,
"type": "target",
"move_mode": "walk",
"action": "combat_script",
"action_params": "诺艾尔 attack(0.2),wait(0.3)"
},
{
"id": 6,
"x": 1643.82,
"y": -580.71,
"type": "target",
"move_mode": "walk",
"action": "combat_script",
"action_params": "诺艾尔 attack(0.2), attack(0.2),wait(0.3),attack(0.2),wait(1)"
},
{
"id": 7,
"x": 1644.66,
"y": -596.82,
"type": "path",
"move_mode": "dash",
"action": "",
"action_params": ""
},
{
"id": 8,
"x": 1602.97,
"y": -621.24,
"type": "path",
"move_mode": "dash",
"action": "",
"action_params": ""
},
{
"id": 9,
"x": 1603.0,
"y": -617.17,
"type": "target",
"move_mode": "walk",
"action": "combat_script",
"action_params": "诺艾尔 attack(0.2), attack(0.2),wait(0.3),attack(0.2),wait(1)"
},
{
"id": 10,
"x": 1585.45,
"y": -637.0,
"type": "path",
"move_mode": "dash",
"action": "",
"action_params": ""
},
{
"id": 11,
"x": 1577.06,
"y": -640.19,
"type": "target",
"move_mode": "dash",
"action": "combat_script",
"action_params": "诺艾尔 attack(0.2), attack(0.2),wait(0.3),attack(0.2),wait(1)"
},
{
"id": 12,
"x": 1593.35,
"y": -635.07,
"type": "path",
"move_mode": "dash",
"action": "",
"action_params": ""
},
{
"id": 13,
"x": 1605.89,
"y": -677.46,
"type": "path",
"move_mode": "dash",
"action": "",
"action_params": ""
},
{
"id": 14,
"x": 1631.27,
"y": -702.24,
"type": "path",
"move_mode": "fly",
"action": "stop_flying",
"action_params": "1000"
},
{
"id": 15,
"x": 1631.28,
"y": -701.11,
"type": "target",
"move_mode": "walk",
"action": "combat_script",
"action_params": "诺艾尔 attack(0.2),wait(0.3)"
},
{
"id": 16,
"x": 1631.17,
"y": -696.23,
"type": "target",
"move_mode": "walk",
"action": "combat_script",
"action_params": "诺艾尔 attack(0.2), attack(0.2),wait(0.3),attack(0.2),wait(1)"
},
{
"id": 17,
"x": 1629.31,
"y": -695.77,
"type": "target",
"move_mode": "walk",
"action": "combat_script",
"action_params": "诺艾尔 attack(0.2), attack(0.2),wait(0.3),attack(0.2),wait(1)"
}
]
}

View File

@@ -0,0 +1,157 @@
{
"info": {
"name": "29-琉璃峰-5个",
"type": "collect",
"author": "火山",
"version": "1.0",
"description": "",
"map_name": "Teyvat",
"bgi_version": "0.45.0"
},
"positions": [
{
"id": 1,
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 1759.57,
"y": -874.2,
"action_params": ""
},
{
"id": 2,
"x": 1740.12,
"y": -875.96,
"type": "path",
"move_mode": "run",
"action": "",
"action_params": ""
},
{
"id": 3,
"x": 1739.98,
"y": -875.53,
"type": "orientation",
"move_mode": "walk",
"action": "combat_script",
"action_params": "wait(0.2),keypress(VK_SPACE),wait(0.5),w(3)"
},
{
"id": 4,
"x": 1735.58,
"y": -890.04,
"type": "path",
"move_mode": "jump",
"action": "",
"action_params": ""
},
{
"id": 5,
"x": 1706.56,
"y": -887.08,
"type": "path",
"move_mode": "dash",
"action": "",
"action_params": ""
},
{
"id": 6,
"x": 1706.24,
"y": -900.46,
"type": "path",
"move_mode": "dash",
"action": "",
"action_params": ""
},
{
"id": 7,
"x": 1699.39,
"y": -902.6,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 8,
"x": 1694.99,
"y": -900.87,
"type": "path",
"move_mode": "jump",
"action": "",
"action_params": ""
},
{
"id": 9,
"x": 1679.29,
"y": -899.04,
"type": "path",
"move_mode": "dash",
"action": "",
"action_params": ""
},
{
"id": 10,
"x": 1678.69,
"y": -913.42,
"type": "target",
"move_mode": "dash",
"action": "combat_script",
"action_params": "诺艾尔 attack(0.2), attack(0.2),wait(0.3),attack(0.2),wait(1)"
},
{
"id": 11,
"x": 1683.74,
"y": -916.58,
"type": "target",
"move_mode": "walk",
"action": "combat_script",
"action_params": "诺艾尔 attack(0.2), attack(0.2),wait(0.3),attack(0.2),wait(1)"
},
{
"id": 12,
"x": 1681.95,
"y": -914.65,
"type": "target",
"move_mode": "walk",
"action": "combat_script",
"action_params": "keypress(VK_SPACE),wait(0.5)"
},
{
"id": 13,
"x": 1634.04,
"y": -827.77,
"type": "path",
"move_mode": "fly",
"action": "stop_flying",
"action_params": "1000"
},
{
"id": 14,
"x": 1638.46,
"y": -819.63,
"type": "target",
"move_mode": "walk",
"action": "combat_script",
"action_params": "诺艾尔 attack(0.2), attack(0.2),wait(0.3),attack(0.2),wait(1)"
},
{
"id": 15,
"x": 1641.86,
"y": -817.86,
"type": "target",
"move_mode": "walk",
"action": "combat_script",
"action_params": "诺艾尔 attack(0.2), attack(0.2),wait(0.3),attack(0.2),wait(1)"
},
{
"id": 16,
"x": 1641.09,
"y": -819.66,
"type": "target",
"move_mode": "walk",
"action": "combat_script",
"action_params": "诺艾尔 attack(0.2), attack(0.2),wait(0.3),attack(0.2),wait(1)"
}
]
}

View File

@@ -0,0 +1,76 @@
{
"info": {
"name": "30-琉璃峰北-2个",
"type": "collect",
"author": "火山",
"version": "1.0",
"description": "",
"map_name": "Teyvat",
"bgi_version": "0.45.0"
},
"positions": [
{
"id": 1,
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 1470.12,
"y": -728.81,
"action_params": ""
},
{
"id": 2,
"x": 1471.51,
"y": -716.98,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 3,
"x": 1476.54,
"y": -690.87,
"type": "path",
"move_mode": "fly",
"action": "",
"action_params": ""
},
{
"id": 4,
"x": 1481.47,
"y": -671.4,
"type": "path",
"move_mode": "fly",
"action": "",
"action_params": ""
},
{
"id": 5,
"x": 1485.62,
"y": -654.65,
"type": "path",
"move_mode": "fly",
"action": "",
"action_params": ""
},
{
"id": 6,
"x": 1491.43,
"y": -625.48,
"type": "target",
"move_mode": "dash",
"action": "combat_script",
"action_params": "诺艾尔 attack(0.2), attack(0.2),wait(0.3),attack(0.2),wait(1)"
},
{
"id": 7,
"x": 1486.79,
"y": -625.74,
"type": "target",
"move_mode": "walk",
"action": "combat_script",
"action_params": "诺艾尔 attack(0.2), attack(0.2),wait(0.3),attack(0.2),wait(1)"
}
]
}