Skip to content

Commit

Permalink
Merge pull request #29 from jhkif/main
Browse files Browse the repository at this point in the history
js脚本:领取洞天宝钱
  • Loading branch information
huiyadanli authored Oct 22, 2024
2 parents 1d99332 + 04cdce6 commit d9e56b8
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
21 changes: 21 additions & 0 deletions repo/js/Collect Dongtian Xuyu Resin/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
(async function () {
setGameMetrics(1920, 1080, 2); // 设置游戏窗口大小和DPI
await sleep(3000);
keyPress("F");
await sleep(5000);
click(1370, 655);
await sleep(3000);
click(1370, 655);
await sleep(3000);
click(680,300);
await sleep(3000);
click(1760, 1020);
await sleep(3000);
click(1160, 780);
await sleep(3000);
click(1160, 780);
await sleep(3000);
click(1865, 44);
await sleep(3000);
log.info("已领取洞天宝钱和好感");
})();
12 changes: 12 additions & 0 deletions repo/js/Collect Dongtian Xuyu Resin/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"manifest_version": 1,
"name": "领取洞天百宝须臾树脂,只领取须臾树脂,前面是领取洞天宝钱和好感",
"version": "1.0",
"description": "领取洞天须臾树脂",
"authors": [
{
"name": "风埠",
}
],
"main": "main.js",
}

0 comments on commit d9e56b8

Please sign in to comment.