JS脚本:摧毁圣遗物换摩拉 图像识别改造;JS/地图追踪归档 (#641)

* JS/地图追踪归档

* JS脚本:摧毁圣遗物换摩拉 图像识别改造
This commit is contained in:
起个名字好难的喵
2025-04-25 00:46:06 +08:00
committed by GitHub
parent 6901e9f02f
commit 25397b45c8
43 changed files with 238 additions and 126 deletions

View File

@@ -0,0 +1,32 @@
(async function () {
setGameMetrics(1920, 1080, 2); // 设置游戏窗口大小和DPI
keyPress("B");
await sleep(3000);
click(670,40);
await sleep(2000);
click(660,1010);
await sleep(2000);
click(300,1020);
await sleep(1000);
click(300,380);
await sleep(400);
click(300,300);
await sleep(400);
click(300,220);
await sleep(400);
click(300,150);
await sleep(800);
click(340,1010);
await sleep(800);
click(1740,1020);
await sleep(800);
click(1180,750);
await sleep(800);
click(950,800);
await sleep(800);
keyPress("Escape");
await sleep(1000);
keyPress("Escape");
log.info("已分解狗粮");
})();

View File

@@ -0,0 +1,12 @@
{
"manifest_version": 1,
"name": "分解狗粮",
"version": "1.0",
"description": "用于分解狗粮",
"authors": [
{
"name": "鹤望兰",
}
],
"main": "main.js",
}