JS脚本:摧毁圣遗物换摩拉 图像识别改造;JS/地图追踪归档 (#641)
* JS/地图追踪归档 * JS脚本:摧毁圣遗物换摩拉 图像识别改造
This commit is contained in:
32
archive/js/Decompose artifact/main.js
Normal file
32
archive/js/Decompose artifact/main.js
Normal 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("已分解狗粮");
|
||||
})();
|
||||
12
archive/js/Decompose artifact/manifest.json
Normal file
12
archive/js/Decompose artifact/manifest.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"manifest_version": 1,
|
||||
"name": "分解狗粮",
|
||||
"version": "1.0",
|
||||
"description": "用于分解狗粮",
|
||||
"authors": [
|
||||
{
|
||||
"name": "鹤望兰",
|
||||
}
|
||||
],
|
||||
"main": "main.js",
|
||||
}
|
||||
Reference in New Issue
Block a user