-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
41 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,28 @@ | ||
(async function () { | ||
// 设置游戏分辨率和DPI缩放 | ||
setGameMetrics(1920, 1080, 1); | ||
|
||
async function cancelAni() { | ||
moveMouseTo(200, 200); | ||
leftButtonDown(); | ||
await(10); | ||
leftButtonUp(); | ||
} | ||
|
||
// 点击确认 | ||
await click(1500,1000); | ||
|
||
// 跳过调整动画 | ||
await sleep(1); | ||
await cancelAni(); | ||
await sleep(1000); | ||
await click(45,715); | ||
|
||
// 重新进入调时间界面以消除调时间的声音 | ||
await sleep(600); | ||
await keyPress("Escape"); | ||
|
||
// 退出派蒙界面 | ||
await sleep(600); | ||
await keyPress("Escape"); | ||
})(); |
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,13 @@ | ||
{ | ||
"manifest_version": 1, | ||
"name": "时瞬", | ||
"version": "1.0", | ||
"bgi_version": "0.42.0", | ||
"description": "手动旋转指针到目标时间,执行此脚本帮你点击确定并跳过时间变动的动画", | ||
"authors": [ | ||
{ | ||
"name": "子寻" | ||
} | ||
], | ||
"main": "main.js" | ||
} |