Add files via upload

切换队伍
This commit is contained in:
linbooker
2024-10-21 23:38:58 +08:00
committed by GitHub
parent 5437eed3d4
commit c8c261bc53
3 changed files with 35 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
(async function () {
setGameMetrics(3840, 2160, 2);
keyPress(settings.n);
await sleep(1000);
log.info("已切换至角色"+ settings.n);
})();

View File

@@ -0,0 +1,13 @@
{
"manifest_version": 1,
"name": "切换角色",
"version": "1.0",
"description": "用于切换角色",
"authors": [
{
"name": "LL"
}
],
"settings_ui": "settings.json",
"main": "main.js"
}

View File

@@ -0,0 +1,14 @@
[
{
"name": "n",
"type": "select",
"label": "角色序号",
"options": [
"1",
"2",
"3",
"4",
"5"
]
}
]