feat: 跳过调整时间动画的js脚本 (#351)
This commit is contained in:
28
repo/js/时瞬/main.js
Normal file
28
repo/js/时瞬/main.js
Normal file
@@ -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");
|
||||
})();
|
||||
Reference in New Issue
Block a user