JS脚本归档 (#599)

This commit is contained in:
起个名字好难的喵
2025-04-18 23:22:20 +08:00
committed by GitHub
parent 16cbcfc011
commit 9873074579
177 changed files with 1346 additions and 1346 deletions

View File

@@ -1,12 +1,12 @@
(async function () { (async function () {
for (var i=0;i<3;i++) for (var i=0;i<3;i++)
{ {
keyPress("VK_ESCAPE"); keyPress("VK_ESCAPE");
await sleep(1000); await sleep(1000);
} }
keyPress("VK_RETURN"); keyPress("VK_RETURN");
await sleep(500); await sleep(500);
keyPress("VK_ESCAPE"); keyPress("VK_ESCAPE");
await sleep(500); await sleep(500);
log.info("已返回主界面"); log.info("已返回主界面");
})(); })();

View File

@@ -1,12 +1,12 @@
{ {
"manifest_version": 1, "manifest_version": 1,
"name": "返回主界面", "name": "返回主界面",
"version": "1.0", "version": "1.0",
"description": "强制返回主界面", "description": "强制返回主界面",
"authors": [ "authors": [
{ {
"name": "LL" "name": "LL"
} }
], ],
"main": "main.js" "main": "main.js"
} }

View File

@@ -1,10 +1,10 @@
(async function () { (async function () {
setGameMetrics(1920, 1080, 2); // 设置游戏窗口大小和DPI setGameMetrics(1920, 1080, 2); // 设置游戏窗口大小和DPI
keyPress("F"); keyPress("F");
await sleep(1000); await sleep(1000);
click(1497, 1024); click(1497, 1024);
await sleep(1000); await sleep(1000);
log.info("已开始钓鱼"); log.info("已开始钓鱼");
})(); })();

View File

@@ -1,12 +1,12 @@
{ {
"manifest_version": 1, "manifest_version": 1,
"name": "开始钓鱼", "name": "开始钓鱼",
"version": "1.0", "version": "1.0",
"description": "开始钓鱼", "description": "开始钓鱼",
"authors": [ "authors": [
{ {
"name": "龙弗山权", "name": "龙弗山权",
} }
], ],
"main": "main.js", "main": "main.js",
} }

View File

@@ -1,23 +1,23 @@
(async function () { (async function () {
setGameMetrics(1920, 1080, 2); setGameMetrics(1920, 1080, 2);
keyPress("F"); keyPress("F");
log.info("按下F键"); log.info("按下F键");
await sleep(1000); await sleep(1000);
log.info("等待1秒"); log.info("等待1秒");
click(960, 540); click(960, 540);
log.info("点击坐标(960, 540)(屏幕中心)"); log.info("点击坐标(960, 540)(屏幕中心)");
await sleep(1500); await sleep(1500);
log.info("等待1.5秒"); log.info("等待1.5秒");
click(1380, 425); click(1380, 425);
log.info("点击坐标(1380, 425)(领取「每日委托」奖励)"); log.info("点击坐标(1380, 425)(领取「每日委托」奖励)");
await sleep(1000); await sleep(1000);
log.info("等待1秒"); log.info("等待1秒");
click(960, 540); click(960, 540);
log.info("点击坐标(960, 540)(屏幕中心)"); log.info("点击坐标(960, 540)(屏幕中心)");
await sleep(3000); await sleep(3000);
log.info("等待3秒"); log.info("等待3秒");
click(960, 960); click(960, 960);
log.info("点击坐标(960, 960)(关闭奖励弹出页面)"); log.info("点击坐标(960, 960)(关闭奖励弹出页面)");
log.info("结束"); log.info("结束");
})(); })();

View File

@@ -1,12 +1,12 @@
{ {
"manifest_version": 1, "manifest_version": 1,
"name": "领取每日委托奖励", "name": "领取每日委托奖励",
"version": "1.3", "version": "1.3",
"description": "用于领取每日委托奖励", "description": "用于领取每日委托奖励",
"authors": [ "authors": [
{ {
"name": "鹤望兰", "name": "鹤望兰"
} }
], ],
"main": "main.js", "main": "main.js"
} }

View File

@@ -1,14 +1,14 @@
(async function () { (async function () {
setGameMetrics(3840, 2160, 2); setGameMetrics(3840, 2160, 2);
keyPress("F1"); keyPress("F1");
await sleep(1600); await sleep(1600);
click(580, 680); click(580, 680);
await sleep(1000); await sleep(1000);
click(3110, 1508); click(3110, 1508);
await sleep(1000); await sleep(1000);
keyPress("Escape"); keyPress("Escape");
await sleep(1500); await sleep(1500);
keyPress("Escape"); keyPress("Escape");
log.info("已领取历练点"); log.info("已领取历练点");
})(); })();

View File

@@ -1,12 +1,12 @@
{ {
"manifest_version": 1, "manifest_version": 1,
"name": "领取历练点", "name": "领取历练点",
"version": "1.0", "version": "1.0",
"description": "用于领取历练点", "description": "用于领取历练点",
"authors": [ "authors": [
{ {
"name": "HZYgrandma", "name": "HZYgrandma",
} }
], ],
"main": "main.js", "main": "main.js",
} }

View File

@@ -1,14 +1,14 @@
(async function () { (async function () {
setGameMetrics(1920, 1080, 2); // 设置游戏窗口大小和DPI setGameMetrics(1920, 1080, 2); // 设置游戏窗口大小和DPI
log.info(`退出钓鱼,为下个钓点做准备`); log.info(`退出钓鱼,为下个钓点做准备`);
await keyPress("Escape"); await keyPress("Escape");
await sleep(1000); await sleep(1000);
click(1010, 756); click(1010, 756);
await sleep(1000); await sleep(1000);
})(); })();

View File

@@ -1,12 +1,12 @@
{ {
"manifest_version": 1, "manifest_version": 1,
"name": "结束钓鱼", "name": "结束钓鱼",
"version": "1.0", "version": "1.0",
"description": "结束钓鱼", "description": "结束钓鱼",
"authors": [ "authors": [
{ {
"name": "龙弗山权", "name": "龙弗山权",
} }
], ],
"main": "main.js", "main": "main.js",
} }

View File

@@ -1,16 +1,16 @@
(async function () { (async function () {
setGameMetrics(1920, 1080, 2); // 设置游戏窗口大小和DPI setGameMetrics(1920, 1080, 2); // 设置游戏窗口大小和DPI
keyPress("F"); keyPress("F");
await sleep(3000); await sleep(3000);
click(960, 540); click(960, 540);
await sleep(1500); await sleep(1500);
click(1400, 580); click(1400, 580);
await sleep(1000); await sleep(1000);
click(160, 1010); click(160, 1010);
await sleep(1000); await sleep(1000);
click(1160, 1020); click(1160, 1020);
await sleep(1000); await sleep(1000);
keyPress("Escape"); keyPress("Escape");
log.info("已领取每日委托奖励"); log.info("已领取每日委托奖励");
})(); })();

View File

@@ -1,12 +1,12 @@
{ {
"manifest_version": 1, "manifest_version": 1,
"name": "重新探索派遣", "name": "重新探索派遣",
"version": "1.1", "version": "1.1",
"description": "用于重新探索派遣", "description": "用于重新探索派遣",
"authors": [ "authors": [
{ {
"name": "鹤望兰", "name": "鹤望兰",
} }
], ],
"main": "main.js", "main": "main.js",
} }

View File

@@ -1,6 +1,6 @@
(async function () { (async function () {
// settings 的对象内容来自于 settings.json 文件生成的动态配置页面 // settings 的对象内容来自于 settings.json 文件生成的动态配置页面
log.info('等待{time}秒', settings.t) log.info('等待{time}秒', settings.t)
timeset=1000*settings.t timeset=1000*settings.t
await sleep(timeset); await sleep(timeset);
})(); })();

View File

@@ -1,13 +1,13 @@
{ {
"manifest_version": 1, "manifest_version": 1,
"name": "只是等待一下", "name": "只是等待一下",
"version": "1.0", "version": "1.0",
"description": "只用于等待,方便在调度器为不同性能的设备配置等待", "description": "只用于等待,方便在调度器为不同性能的设备配置等待",
"authors": [ "authors": [
{ {
"name": "HZYgrandma", "name": "HZYgrandma",
} }
], ],
"settings_ui": "settings.json", "settings_ui": "settings.json",
"main": "main.js" "main": "main.js"
} }

View File

@@ -1,7 +1,7 @@
[ [
{ {
"name": "t", "name": "t",
"type": "input-text", "type": "input-text",
"label": "等待时间(单位:秒)" "label": "等待时间(单位:秒)"
} }
] ]

View File

@@ -1,14 +1,14 @@
(async function () { (async function () {
await sleep(15000); await sleep(15000);
setGameMetrics(3840, 2160, 2); setGameMetrics(3840, 2160, 2);
keyPress("L"); keyPress("L");
await sleep(4500); await sleep(4500);
click(150, 1078); click(150, 1078);
await sleep(800); await sleep(800);
click(3200, 2050); click(3200, 2050);
await sleep(1000); await sleep(1000);
keyPress("Escape"); keyPress("Escape");
await sleep(1000); await sleep(1000);
log.info("已切换至上一队"); log.info("已切换至上一队");
})(); })();

View File

@@ -1,12 +1,12 @@
{ {
"manifest_version": 1, "manifest_version": 1,
"name": "切换上一队", "name": "切换上一队",
"version": "1.0", "version": "1.0",
"description": "用于切换到上一队", "description": "用于切换到上一队",
"authors": [ "authors": [
{ {
"name": "HZYgrandma", "name": "HZYgrandma",
} }
], ],
"main": "main.js", "main": "main.js",
} }

View File

@@ -1,13 +1,13 @@
(async function () { (async function () {
setGameMetrics(3840, 2160, 2); setGameMetrics(3840, 2160, 2);
keyPress("L"); keyPress("L");
await sleep(4500); await sleep(4500);
click(3684, 1078); click(3684, 1078);
await sleep(800); await sleep(800);
click(3200, 2050); click(3200, 2050);
await sleep(1000); await sleep(1000);
keyPress("Escape"); keyPress("Escape");
await sleep(1000); await sleep(1000);
log.info("已切换至下一队"); log.info("已切换至下一队");
})(); })();

View File

@@ -1,12 +1,12 @@
{ {
"manifest_version": 1, "manifest_version": 1,
"name": "切换下一队", "name": "切换下一队",
"version": "1.0", "version": "1.0",
"description": "用于切换到下一队", "description": "用于切换到下一队",
"authors": [ "authors": [
{ {
"name": "HZYgrandma", "name": "HZYgrandma",
} }
], ],
"main": "main.js", "main": "main.js",
} }

View File

@@ -1,50 +1,50 @@
(async function () { (async function () {
setGameMetrics(1920, 1080, 2); setGameMetrics(1920, 1080, 2);
const stepDuration = 50; const stepDuration = 50;
const commonX = 49; const commonX = 49;
const ZoomInButton = 428; const ZoomInButton = 428;
const ZoomOutButton = 654; const ZoomOutButton = 654;
const start = 453; const start = 453;
const end = 628; const end = 628;
async function mouseClickNTimes(x, y,n) { async function mouseClickNTimes(x, y,n) {
moveMouseTo(x, y); moveMouseTo(x, y);
await sleep(100); await sleep(100);
for (let i =0; i < n; i++) { for (let i =0; i < n; i++) {
leftButtonDown(); leftButtonDown();
await sleep(50); await sleep(50);
leftButtonUp(); leftButtonUp();
await sleep(50); await sleep(50);
} }
await sleep(stepDuration); await sleep(stepDuration);
} }
async function mouseClickAndMove(x1, y1, x2, y2) { async function mouseClickAndMove(x1, y1, x2, y2) {
moveMouseTo(x1, y1); moveMouseTo(x1, y1);
await sleep(50); await sleep(50);
leftButtonDown(); leftButtonDown();
await sleep(50); await sleep(50);
moveMouseTo(x2, y2); moveMouseTo(x2, y2);
await sleep(50); await sleep(50);
leftButtonUp(); leftButtonUp();
await sleep(stepDuration); await sleep(stepDuration);
} }
async function setMapZoom(n) { async function setMapZoom(n) {
await mouseClickNTimes(commonX, ZoomOutButton, 5); await mouseClickNTimes(commonX, ZoomOutButton, 5);
if (Number.isInteger(n)) { if (Number.isInteger(n)) {
mouseClickNTimes(commonX, ZoomInButton, 5 - n); mouseClickNTimes(commonX, ZoomInButton, 5 - n);
} else { } else {
const targetY = Math.ceil(start + n * 35 - 0.5); const targetY = Math.ceil(start + n * 35 - 0.5);
await mouseClickAndMove(commonX, end, commonX, targetY); await mouseClickAndMove(commonX, end, commonX, targetY);
} }
} }
const zoom = Number(settings.zoom); const zoom = Number(settings.zoom);
const n = Math.min(Math.max(zoom, 1),6)- 1; const n = Math.min(Math.max(zoom, 1),6)- 1;
log.info(`设置大地图缩放为 ${n+1}`); log.info(`设置大地图缩放为 ${n+1}`);
await keyPress("M"); await keyPress("M");
await sleep(1000); await sleep(1000);
await setMapZoom(n); await setMapZoom(n);
await sleep(1000); await sleep(1000);
await keyPress("Escape"); await keyPress("Escape");
await sleep(1000); await sleep(1000);
})(); })();

View File

@@ -1,14 +1,14 @@
{ {
"manifest_version": 1, "manifest_version": 1,
"name": "设置大地图缩放", "name": "设置大地图缩放",
"version": "1.0", "version": "1.0",
"bgi_version": "0.36.0", "bgi_version": "0.36.0",
"description": "通过左侧缩放条调整大地图缩放1为最大放大6为最小3.5为中间", "description": "通过左侧缩放条调整大地图缩放1为最大放大6为最小3.5为中间",
"authors": [ "authors": [
{ {
"name": "Tim" "name": "Tim"
} }
], ],
"settings_ui": "settings.json", "settings_ui": "settings.json",
"main": "main.js" "main": "main.js"
} }

View File

@@ -1,7 +1,7 @@
[ [
{ {
"name": "zoom", "name": "zoom",
"type": "input-text", "type": "input-text",
"label": "缩放范围是1~61表示最大放大3.5表示中间" "label": "缩放范围是1~61表示最大放大3.5表示中间"
} }
] ]

View File

@@ -1,8 +1,8 @@
(async function () { (async function () {
setGameMetrics(3840, 2160, 2); setGameMetrics(3840, 2160, 2);
keyPress(settings.n); keyPress(settings.n);
await sleep(1000); await sleep(1000);
log.info("已切换至角色"+ settings.n); log.info("已切换至角色"+ settings.n);
})(); })();

View File

@@ -1,13 +1,13 @@
{ {
"manifest_version": 1, "manifest_version": 1,
"name": "切换角色", "name": "切换角色",
"version": "1.0", "version": "1.0",
"description": "用于切换角色", "description": "用于切换角色",
"authors": [ "authors": [
{ {
"name": "LL" "name": "LL"
} }
], ],
"settings_ui": "settings.json", "settings_ui": "settings.json",
"main": "main.js" "main": "main.js"
} }

View File

@@ -1,14 +1,14 @@
[ [
{ {
"name": "n", "name": "n",
"type": "select", "type": "select",
"label": "角色序号", "label": "角色序号",
"options": [ "options": [
"1", "1",
"2", "2",
"3", "3",
"4", "4",
"5" "5"
] ]
} }
] ]

View File

@@ -1,10 +1,10 @@
{"macroEvents":[{"type":4,"mouseX":1000,"mouseY":800,"mouseButton":"Left","time":100}, {"macroEvents":[{"type":4,"mouseX":1000,"mouseY":800,"mouseButton":"Left","time":100},
{"type":2,"mouseX":1000,"mouseY":900,"time":150}, {"type":2,"mouseX":1000,"mouseY":900,"time":150},
{"type":2,"mouseX":1000,"mouseY":1000,"time":200}, {"type":2,"mouseX":1000,"mouseY":1000,"time":200},
{"type":2,"mouseX":1000,"mouseY":1100,"time":250}, {"type":2,"mouseX":1000,"mouseY":1100,"time":250},
{"type":2,"mouseX":1000,"mouseY":1200,"time":300}, {"type":2,"mouseX":1000,"mouseY":1200,"time":300},
{"type":2,"mouseX":1000,"mouseY":1300,"time":350}, {"type":2,"mouseX":1000,"mouseY":1300,"time":350},
{"type":2,"mouseX":1000,"mouseY":1400,"time":400}, {"type":2,"mouseX":1000,"mouseY":1400,"time":400},
{"type":2,"mouseX":1000,"mouseY":1500,"time":450}, {"type":2,"mouseX":1000,"mouseY":1500,"time":450},
{"type":5,"mouseX":1000,"mouseY":1500,"mouseButton":"Left","time":500}], {"type":5,"mouseX":1000,"mouseY":1500,"mouseButton":"Left","time":500}],
"info":{"name":"","description":"","x":746,"y":620,"width":1920,"height":1080,"recordDpi":1.75}} "info":{"name":"","description":"","x":746,"y":620,"width":1920,"height":1080,"recordDpi":1.75}}

View File

@@ -1,29 +1,29 @@
(async function () { (async function () {
setGameMetrics(3840, 2160, 2); setGameMetrics(3840, 2160, 2);
keyPress("L"); keyPress("L");
await sleep(4500); await sleep(4500);
click(100, 2050); click(100, 2050);
await sleep(800); await sleep(800);
for(let i = 0; i < 3; i++){ for(let i = 0; i < 3; i++){
await keyMouseScript.runFile(`assets/Team.json`); await keyMouseScript.runFile(`assets/Team.json`);
await sleep(800); await sleep(800);
} }
click(100, 300); click(100, 300);
await sleep(800); await sleep(800);
click(100, 2050); click(100, 2050);
await sleep(800); await sleep(800);
for(let i = 1; i < settings.n; i++){ for(let i = 1; i < settings.n; i++){
click(3684, 1078); click(3684, 1078);
await sleep(800); await sleep(800);
} }
click(3200, 2050); click(3200, 2050);
await sleep(1000); await sleep(1000);
keyPress("Escape"); keyPress("Escape");
await sleep(1000); await sleep(1000);
log.info("已切换至第"+ settings.n +"队"); log.info("已切换至第"+ settings.n +"队");
})(); })();

View File

@@ -1,13 +1,13 @@
{ {
"manifest_version": 1, "manifest_version": 1,
"name": "切换队伍", "name": "切换队伍",
"version": "1.0", "version": "1.0",
"description": "按顺序切换至队伍", "description": "按顺序切换至队伍",
"authors": [ "authors": [
{ {
"name": "LL" "name": "LL"
} }
], ],
"settings_ui": "settings.json", "settings_ui": "settings.json",
"main": "main.js" "main": "main.js"
} }

View File

@@ -1,7 +1,7 @@
[ [
{ {
"name": "n", "name": "n",
"type": "input-text", "type": "input-text",
"label": "队伍序号" "label": "队伍序号"
} }
] ]

View File

@@ -1,5 +1,5 @@
(async function () { (async function () {
setGameMetrics(1920, 1080, 2); setGameMetrics(1920, 1080, 2);
await sleep(10000); // 转换时间单位从20ms到秒 await sleep(10000); // 转换时间单位从20ms到秒
log.info("等待了10秒"); log.info("等待了10秒");
})(); })();

View File

@@ -1,12 +1,12 @@
{ {
"manifest_version": 1, "manifest_version": 1,
"name": "等待十秒", "name": "等待十秒",
"version": "1.0", "version": "1.0",
"description": "用于等待十秒", "description": "用于等待十秒",
"authors": [ "authors": [
{ {
"name": "鹤望兰", "name": "鹤望兰",
} }
], ],
"main": "main.js", "main": "main.js",
} }

View File

@@ -1,22 +1,22 @@
{ {
"macroEvents": [ "macroEvents": [
{"type": 2, "mouseX": 525, "mouseY": 881, "time": 0}, {"type": 2, "mouseX": 525, "mouseY": 881, "time": 0},
{"type": 2, "mouseX": 525, "mouseY": 781, "time": 50}, {"type": 2, "mouseX": 525, "mouseY": 781, "time": 50},
{"type": 2, "mouseX": 525, "mouseY": 681, "time": 100}, {"type": 2, "mouseX": 525, "mouseY": 681, "time": 100},
{"type": 2, "mouseX": 525, "mouseY": 581, "time": 150}, {"type": 2, "mouseX": 525, "mouseY": 581, "time": 150},
{"type": 2, "mouseX": 525, "mouseY": 481, "time": 200}, {"type": 2, "mouseX": 525, "mouseY": 481, "time": 200},
{"type": 2, "mouseX": 525, "mouseY": 381, "time": 250}, {"type": 2, "mouseX": 525, "mouseY": 381, "time": 250},
{"type": 2, "mouseX": 525, "mouseY": 281, "time": 300}, {"type": 2, "mouseX": 525, "mouseY": 281, "time": 300},
{"type": 2, "mouseX": 525, "mouseY": 211, "time": 350}, {"type": 2, "mouseX": 525, "mouseY": 211, "time": 350},
{"type": 2, "mouseX": 525, "mouseY": 209, "mouseButton": "Left", "time": 400} {"type": 2, "mouseX": 525, "mouseY": 209, "mouseButton": "Left", "time": 400}
], ],
"info": { "info": {
"name": "", "name": "",
"description": "", "description": "",
"x": 0, "x": 0,
"y": 0, "y": 0,
"width": 1920, "width": 1920,
"height": 1080, "height": 1080,
"recordDpi": 1 "recordDpi": 1
} }
} }

View File

@@ -1,22 +1,22 @@
{ {
"macroEvents": [ "macroEvents": [
{"type": 2, "mouseX": 1200, "mouseY": 881, "time": 0}, {"type": 2, "mouseX": 1200, "mouseY": 881, "time": 0},
{"type": 2, "mouseX": 1200, "mouseY": 781, "time": 50}, {"type": 2, "mouseX": 1200, "mouseY": 781, "time": 50},
{"type": 2, "mouseX": 1200, "mouseY": 681, "time": 100}, {"type": 2, "mouseX": 1200, "mouseY": 681, "time": 100},
{"type": 2, "mouseX": 1200, "mouseY": 581, "time": 150}, {"type": 2, "mouseX": 1200, "mouseY": 581, "time": 150},
{"type": 2, "mouseX": 1200, "mouseY": 481, "time": 200}, {"type": 2, "mouseX": 1200, "mouseY": 481, "time": 200},
{"type": 2, "mouseX": 1200, "mouseY": 381, "time": 250}, {"type": 2, "mouseX": 1200, "mouseY": 381, "time": 250},
{"type": 2, "mouseX": 1200, "mouseY": 281, "time": 300}, {"type": 2, "mouseX": 1200, "mouseY": 281, "time": 300},
{"type": 2, "mouseX": 1200, "mouseY": 211, "time": 350}, {"type": 2, "mouseX": 1200, "mouseY": 211, "time": 350},
{"type": 2, "mouseX": 1200, "mouseY": 208, "mouseButton": "Left", "time": 400} {"type": 2, "mouseX": 1200, "mouseY": 208, "mouseButton": "Left", "time": 400}
], ],
"info": { "info": {
"name": "", "name": "",
"description": "", "description": "",
"x": 0, "x": 0,
"y": 0, "y": 0,
"width": 1920, "width": 1920,
"height": 1080, "height": 1080,
"recordDpi": 1 "recordDpi": 1
} }
} }

View File

@@ -1,61 +1,61 @@
[ [
{ {
"name": "Character", "name": "Character",
"type": "select", "type": "select",
"label": "出战位号默认4", "label": "出战位号默认4",
"options": [ "options": [
"1号位", "1号位",
"2号位", "2号位",
"3号位", "3号位",
"4号位" "4号位"
] ]
}, },
{ {
"name": "pageScrollCount", "name": "pageScrollCount",
"type": "input-text", "type": "input-text",
"label": "默认:四行为一页\n滑页次数默认0" "label": "默认:四行为一页\n滑页次数默认0"
}, },
{ {
"name": "rightOffset", "name": "rightOffset",
"type": "select", "type": "select",
"label": "----------------------\n武器按【等级排序】:\n位于第几列默认1", "label": "----------------------\n武器按【等级排序】:\n位于第几列默认1",
"options": [ "options": [
"1", "1",
"2", "2",
"3", "3",
"4", "4",
] ]
}, },
{ {
"name": "downOffset", "name": "downOffset",
"type": "select", "type": "select",
"label": "位于第几行默认1", "label": "位于第几行默认1",
"options": [ "options": [
"1", "1",
"2", "2",
"3", "3",
"4", "4",
"5" "5"
] ]
}, },
{ {
"name": "Element", "name": "Element",
"type": "select", "type": "select",
"label": "=============\n\n需选则出战外的角色时\n----------------------\n元素默认'物'=无)\n选元素缩范围 非必填", "label": "=============\n\n需选则出战外的角色时\n----------------------\n元素默认'物'=无)\n选元素缩范围 非必填",
"options": [ "options": [
"火", "火",
"水", "水",
"草", "草",
"雷", "雷",
"风", "风",
"冰", "冰",
"岩", "岩",
"物", "物",
] ]
}, },
{ {
"name": "Switching", "name": "Switching",
"type": "input-text", "type": "input-text",
"label": "----------------------\n切换次数默认0\n填入从出战位号\n向右切换多少次" "label": "----------------------\n切换次数默认0\n填入从出战位号\n向右切换多少次"
} }
] ]

View File

@@ -1,19 +1,19 @@
[ [
{ {
"name": "walkTime", "name": "walkTime",
"type": "select", "type": "select",
"label": "行走时间ms", "label": "行走时间ms",
"options": [ "options": [
"500", "500",
"1000", "1000",
"1500", "1500",
"2000", "2000",
"2500", "2500",
"3000", "3000",
"3500", "3500",
"4000", "4000",
"4500", "4500",
"5000" "5000"
] ]
} }
] ]

View File

@@ -1,14 +1,14 @@
(async function () { (async function () {
setGameMetrics(2560, 1440, 1.5) setGameMetrics(2560, 1440, 1.5)
let delay = settings.delay || 5000; let delay = settings.delay || 5000;
genshin.returnMainUi() genshin.returnMainUi()
log.warn("请勿操作鼠标和键盘!") log.warn("请勿操作鼠标和键盘!")
await genshin.tp(449.244140625,-834.70458984375,true) await genshin.tp(449.244140625,-834.70458984375,true)
await pathingScript.runFile("assets/进入璃月群玉阁.json") await pathingScript.runFile("assets/进入璃月群玉阁.json")
await sleep(delay) await sleep(delay)
log.info("看到这条消息时如果加载还没有完成请修改JS脚本自定义配置延长传送加载时间") log.info("看到这条消息时如果加载还没有完成请修改JS脚本自定义配置延长传送加载时间")
await keyMouseScript.runFile("assets/游逸旅闻-凝光1-璃月群玉阁内.json") await keyMouseScript.runFile("assets/游逸旅闻-凝光1-璃月群玉阁内.json")
await sleep(1000) await sleep(1000)
keyPress("VK_F") keyPress("VK_F")
})(); })();

View File

@@ -1,16 +1,16 @@
{ {
"manifest_version": 1, "manifest_version": 1,
"name": "游逸旅闻-凝光1-璃月群玉阁", "name": "游逸旅闻-凝光1-璃月群玉阁",
"version": "1.0", "version": "1.0",
"bgi_version": "0.42.0", "bgi_version": "0.42.0",
"description": "", "description": "",
"authors": [ "authors": [
{ {
"name": "ddaodan", "name": "ddaodan",
"link": "https://github.com/ddaodan" "link": "https://github.com/ddaodan"
} }
], ],
"settings_ui": "settings.json", "settings_ui": "settings.json",
"main": "main.js" "main": "main.js"
} }

View File

@@ -1,7 +1,7 @@
[ [
{ {
"name": "delay", "name": "delay",
"type": "input-text", "type": "input-text",
"label": "加载时间默认5000毫秒一般情况下不需要调整 单位:毫秒" "label": "加载时间默认5000毫秒一般情况下不需要调整 单位:毫秒"
} }
] ]

View File

@@ -1,13 +1,13 @@
(async function () { (async function () {
setGameMetrics(2560, 1440, 1.5) setGameMetrics(2560, 1440, 1.5)
let delay = settings.delay || 5000; let delay = settings.delay || 5000;
genshin.returnMainUi() genshin.returnMainUi()
log.warn("请勿操作鼠标和键盘!") log.warn("请勿操作鼠标和键盘!")
await pathingScript.runFile("assets/进入蒙德天使的馈赠.json") await pathingScript.runFile("assets/进入蒙德天使的馈赠.json")
await sleep(delay) await sleep(delay)
log.info("看到这条消息时如果加载还没有完成请修改JS脚本自定义配置延长传送加载时间") log.info("看到这条消息时如果加载还没有完成请修改JS脚本自定义配置延长传送加载时间")
await keyMouseScript.runFile("assets/游逸旅闻-罗莎莉亚2-蒙德天使的馈赠内.json") await keyMouseScript.runFile("assets/游逸旅闻-罗莎莉亚2-蒙德天使的馈赠内.json")
await sleep(1000) await sleep(1000)
keyPress("VK_F") keyPress("VK_F")
})(); })();

View File

@@ -1,16 +1,16 @@
{ {
"manifest_version": 1, "manifest_version": 1,
"name": "游逸旅闻-罗莎莉亚2-蒙德天使的馈赠", "name": "游逸旅闻-罗莎莉亚2-蒙德天使的馈赠",
"version": "1.0", "version": "1.0",
"bgi_version": "0.42.0", "bgi_version": "0.42.0",
"description": "", "description": "",
"authors": [ "authors": [
{ {
"name": "ddaodan", "name": "ddaodan",
"link": "https://github.com/ddaodan" "link": "https://github.com/ddaodan"
} }
], ],
"settings_ui": "settings.json", "settings_ui": "settings.json",
"main": "main.js" "main": "main.js"
} }

View File

@@ -1,7 +1,7 @@
[ [
{ {
"name": "delay", "name": "delay",
"type": "input-text", "type": "input-text",
"label": "加载时间默认5000毫秒一般情况下不需要调整 单位:毫秒" "label": "加载时间默认5000毫秒一般情况下不需要调整 单位:毫秒"
} }
] ]

View File

@@ -1,13 +1,13 @@
(async function () { (async function () {
setGameMetrics(2560, 1440, 1.5) setGameMetrics(2560, 1440, 1.5)
let delay = settings.delay || 5000; let delay = settings.delay || 5000;
genshin.returnMainUi() genshin.returnMainUi()
log.warn("请勿操作鼠标和键盘!") log.warn("请勿操作鼠标和键盘!")
await pathingScript.runFile("assets/进入蒙德西风骑士团.json") await pathingScript.runFile("assets/进入蒙德西风骑士团.json")
await sleep(delay) await sleep(delay)
log.info("看到这条消息时如果加载还没有完成请修改JS脚本自定义配置延长传送加载时间") log.info("看到这条消息时如果加载还没有完成请修改JS脚本自定义配置延长传送加载时间")
await keyMouseScript.runFile("assets/游逸旅闻-菲谢尔1&3-蒙德西风骑士团内.json") await keyMouseScript.runFile("assets/游逸旅闻-菲谢尔1&3-蒙德西风骑士团内.json")
await sleep(1000) await sleep(1000)
keyPress("VK_F") keyPress("VK_F")
})(); })();

View File

@@ -1,16 +1,16 @@
{ {
"manifest_version": 1, "manifest_version": 1,
"name": "游逸旅闻-菲谢尔1&3-蒙德西风骑士团", "name": "游逸旅闻-菲谢尔1&3-蒙德西风骑士团",
"version": "1.0", "version": "1.0",
"bgi_version": "0.42.0", "bgi_version": "0.42.0",
"description": "", "description": "",
"authors": [ "authors": [
{ {
"name": "ddaodan", "name": "ddaodan",
"link": "https://github.com/ddaodan" "link": "https://github.com/ddaodan"
} }
], ],
"settings_ui": "settings.json", "settings_ui": "settings.json",
"main": "main.js" "main": "main.js"
} }

View File

@@ -1,7 +1,7 @@
[ [
{ {
"name": "delay", "name": "delay",
"type": "input-text", "type": "input-text",
"label": "加载时间默认5000毫秒一般情况下不需要调整 单位:毫秒" "label": "加载时间默认5000毫秒一般情况下不需要调整 单位:毫秒"
} }
] ]

View File

@@ -1,13 +1,13 @@
(async function () { (async function () {
setGameMetrics(2560, 1440, 1.5) setGameMetrics(2560, 1440, 1.5)
let delay = settings.delay || 5000; let delay = settings.delay || 5000;
genshin.returnMainUi() genshin.returnMainUi()
log.warn("请勿操作鼠标和键盘!") log.warn("请勿操作鼠标和键盘!")
await pathingScript.runFile("assets/进入蒙德西风骑士团.json") await pathingScript.runFile("assets/进入蒙德西风骑士团.json")
await sleep(delay) await sleep(delay)
log.info("看到这条消息时如果加载还没有完成请修改JS脚本自定义配置延长传送加载时间") log.info("看到这条消息时如果加载还没有完成请修改JS脚本自定义配置延长传送加载时间")
await keyMouseScript.runFile("assets/游逸旅闻-菲谢尔2-蒙德西风骑士团内.json") await keyMouseScript.runFile("assets/游逸旅闻-菲谢尔2-蒙德西风骑士团内.json")
await sleep(1000) await sleep(1000)
keyPress("VK_F") keyPress("VK_F")
})(); })();

View File

@@ -1,16 +1,16 @@
{ {
"manifest_version": 1, "manifest_version": 1,
"name": "游逸旅闻-菲谢尔2-蒙德西风骑士团", "name": "游逸旅闻-菲谢尔2-蒙德西风骑士团",
"version": "1.0", "version": "1.0",
"bgi_version": "0.42.0", "bgi_version": "0.42.0",
"description": "", "description": "",
"authors": [ "authors": [
{ {
"name": "ddaodan", "name": "ddaodan",
"link": "https://github.com/ddaodan" "link": "https://github.com/ddaodan"
} }
], ],
"settings_ui": "settings.json", "settings_ui": "settings.json",
"main": "main.js" "main": "main.js"
} }

View File

@@ -1,7 +1,7 @@
[ [
{ {
"name": "delay", "name": "delay",
"type": "input-text", "type": "input-text",
"label": "加载时间默认5000毫秒一般情况下不需要调整 单位:毫秒" "label": "加载时间默认5000毫秒一般情况下不需要调整 单位:毫秒"
} }
] ]

View File

@@ -1,13 +1,13 @@
(async function () { (async function () {
setGameMetrics(2560, 1440, 1.5) setGameMetrics(2560, 1440, 1.5)
let delay = settings.delay || 5000; let delay = settings.delay || 5000;
genshin.returnMainUi() genshin.returnMainUi()
log.warn("请勿操作鼠标和键盘!") log.warn("请勿操作鼠标和键盘!")
await pathingScript.runFile("assets/进入蒙德晨曦酒庄.json") await pathingScript.runFile("assets/进入蒙德晨曦酒庄.json")
await sleep(delay) await sleep(delay)
log.info("看到这条消息时如果加载还没有完成请修改JS脚本自定义配置延长传送加载时间") log.info("看到这条消息时如果加载还没有完成请修改JS脚本自定义配置延长传送加载时间")
await keyMouseScript.runFile("assets/游逸旅闻-迪卢克1-蒙德晨曦酒庄内.json") await keyMouseScript.runFile("assets/游逸旅闻-迪卢克1-蒙德晨曦酒庄内.json")
await sleep(1000) await sleep(1000)
keyPress("VK_F") keyPress("VK_F")
})(); })();

View File

@@ -1,16 +1,16 @@
{ {
"manifest_version": 1, "manifest_version": 1,
"name": "游逸旅闻-迪卢克1-蒙德晨曦酒庄", "name": "游逸旅闻-迪卢克1-蒙德晨曦酒庄",
"version": "1.0", "version": "1.0",
"bgi_version": "0.42.0", "bgi_version": "0.42.0",
"description": "", "description": "",
"authors": [ "authors": [
{ {
"name": "ddaodan", "name": "ddaodan",
"link": "https://github.com/ddaodan" "link": "https://github.com/ddaodan"
} }
], ],
"settings_ui": "settings.json", "settings_ui": "settings.json",
"main": "main.js" "main": "main.js"
} }

View File

@@ -0,0 +1,7 @@
[
{
"name": "delay",
"type": "input-text",
"label": "加载时间默认5000毫秒一般情况下不需要调整 单位:毫秒"
}
]

Some files were not shown because too many files have changed in this diff Show More