Merge branch 'main' of https://github.com/Traveler07/bettergi-scripts-list
This commit is contained in:
15
repo/js/ExitGame/main.js
Normal file
15
repo/js/ExitGame/main.js
Normal file
@@ -0,0 +1,15 @@
|
||||
(async function () {
|
||||
// settings 的对象内容来自于 settings.json 文件生成的动态配置页面
|
||||
//前置系统状态:大世界正常主界面
|
||||
setGameMetrics(3840,2160,2)
|
||||
keyPress("VK_ESCAPE");//打开派蒙菜单
|
||||
await sleep(1000);
|
||||
click(90,2000);//点击左下角退出按钮
|
||||
await sleep(1000);
|
||||
click(2100,1500);//点击确定
|
||||
await sleep(10000);//渲染开门界面的时间
|
||||
click(200,1950);//点击登录界面左下角退出按钮
|
||||
await sleep(1000);
|
||||
click(2200,1100);//点击确定
|
||||
await sleep(1000);
|
||||
})();
|
||||
13
repo/js/ExitGame/manifest.json
Normal file
13
repo/js/ExitGame/manifest.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"manifest_version": 1,
|
||||
"name": "完全退出游戏",
|
||||
"version": "1.0",
|
||||
"description": "配合其他脚本使用。当其他任务完成之后,调用此脚本完成游戏退出(指结束游戏进程)",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Because",
|
||||
"link": "https://github.com/Because66666"
|
||||
}
|
||||
],
|
||||
"main": "main.js"
|
||||
}
|
||||
Reference in New Issue
Block a user