From 7bf715fffbe5c92ebdf6109bc28ab90171624446 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=B9=A4=E6=9C=9B=E5=85=B0?= <109917116+ccccccggggg@users.noreply.github.com> Date: Mon, 16 Dec 2024 22:26:46 +0800 Subject: [PATCH 1/2] Add files via upload --- repo/js/Destruction artifact/main.js | 30 ++++++++++++++++++++++ repo/js/Destruction artifact/manifest.json | 12 +++++++++ 2 files changed, 42 insertions(+) create mode 100644 repo/js/Destruction artifact/main.js create mode 100644 repo/js/Destruction artifact/manifest.json diff --git a/repo/js/Destruction artifact/main.js b/repo/js/Destruction artifact/main.js new file mode 100644 index 00000000..b7857cf8 --- /dev/null +++ b/repo/js/Destruction artifact/main.js @@ -0,0 +1,30 @@ +(async function () { + setGameMetrics(1920, 1080, 2); // 设置游戏窗口大小和DPI + keyPress("B"); + await sleep(3000); + click(670,40); + await sleep(2000); + click(80,1010); + await sleep(2000); + click(170,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(3000); + click(1180,830); + await sleep(800); + click(950,800); + await sleep(1000); + keyPress("Escape"); + + log.info("已摧毁狗粮"); +})(); \ No newline at end of file diff --git a/repo/js/Destruction artifact/manifest.json b/repo/js/Destruction artifact/manifest.json new file mode 100644 index 00000000..35102c4c --- /dev/null +++ b/repo/js/Destruction artifact/manifest.json @@ -0,0 +1,12 @@ +{ + "manifest_version": 1, + "name": "摧毁狗粮", + "version": "1.0", + "description": "用于摧毁狗粮获取金钱", + "authors": [ + { + "name": "鹤望兰", + } + ], + "main": "main.js", +} \ No newline at end of file From 886ff8db3a7bbe9d5e321348b5cd22c9e022d6f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=B9=A4=E6=9C=9B=E5=85=B0?= <109917116+ccccccggggg@users.noreply.github.com> Date: Mon, 16 Dec 2024 22:28:40 +0800 Subject: [PATCH 2/2] Update manifest.json --- repo/js/Destruction artifact/manifest.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/repo/js/Destruction artifact/manifest.json b/repo/js/Destruction artifact/manifest.json index 35102c4c..ef8a3f59 100644 --- a/repo/js/Destruction artifact/manifest.json +++ b/repo/js/Destruction artifact/manifest.json @@ -2,11 +2,11 @@ "manifest_version": 1, "name": "摧毁狗粮", "version": "1.0", - "description": "用于摧毁狗粮获取金钱", + "description": "用于摧毁狗粮获取摩拉", "authors": [ { "name": "鹤望兰", } ], "main": "main.js", -} \ No newline at end of file +}