-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #29 from jhkif/main
js脚本:领取洞天宝钱
- Loading branch information
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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("已领取洞天宝钱和好感"); | ||
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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", | ||
} |