JS脚本归档 (#599)

This commit is contained in:
起个名字好难的喵
2025-04-18 23:22:20 +08:00
committed by GitHub
parent 16cbcfc011
commit 9873074579
177 changed files with 1346 additions and 1346 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"
]
}
]