Merge pull request #27 from wy3057/main

脚本添加
This commit is contained in:
辉鸭蛋
2024-10-22 13:03:00 +08:00
committed by GitHub
32 changed files with 457 additions and 1 deletions

137
repo.json
View File

@@ -1,5 +1,5 @@
{
"time": "20241022012520",
"time": "20241022125747",
"url": "https://github.com/babalae/bettergi-scripts-list/archive/refs/heads/main.zip",
"file": "repo.json",
"indexes": [
@@ -4610,6 +4610,141 @@
"author": "鹤望兰",
"description": "等待十秒~|~用于等待十秒",
"tags": []
},
{
"name": "切换1号角色",
"type": "directory",
"hash": "78723b61bda4c6dbd22b17c5dd0626818bd7901e",
"version": "1.0",
"author": "风埠",
"description": "切换1号角色~|~用于切换1号角色",
"tags": []
},
{
"name": "切换2号角色",
"type": "directory",
"hash": "84a8df39639e3f7ef7a3c241088c52038a7fc5df",
"version": "1.0",
"author": "风埠",
"description": "切换2号角色~|~用于切换2号角色",
"tags": []
},
{
"name": "切换3号角色",
"type": "directory",
"hash": "3503d94566f29a769efbf3d6439dc3766c336851",
"version": "1.0",
"author": "风埠",
"description": "切换3号角色~|~用于切换3号角色",
"tags": []
},
{
"name": "切换4号角色",
"type": "directory",
"hash": "4217e048714e8b25c7a869d70c7730b11283df55",
"version": "1.0",
"author": "风埠",
"description": "切换4号角色~|~用于切换4号角色",
"tags": []
},
{
"name": "向前行走5秒",
"type": "directory",
"hash": "cc8661adca942daccde9382c6273a717d469e254",
"version": "1.0",
"author": "风埠",
"description": "向前行走5秒搭配进尘歌壶脚本并在入口处放合成台可以自动走到到合成台~|~用于向前走5秒",
"tags": []
},
{
"name": "向右行走5秒",
"type": "directory",
"hash": "436780fcb71177b87ef8ad043f533ec9de410951",
"version": "1.0",
"author": "风埠",
"description": "向右行走5秒~|~向右行走5秒",
"tags": []
},
{
"name": "向后行走5秒",
"type": "directory",
"hash": "5b352df3f3a2dc5952b02e099f289ad412c0bed4",
"version": "1.0",
"author": "风埠",
"description": "向后行走5秒~|~向后行走5秒",
"tags": []
},
{
"name": "向左行走5秒",
"type": "directory",
"hash": "e5b458d5e39772f27201e9e7fe11250a4ffb28e4",
"version": "1.0",
"author": "风埠",
"description": "向左行走5秒~|~向左行走5秒",
"tags": []
},
{
"name": "尘歌壶妙香林找阿圆",
"type": "directory",
"hash": "8d71612bcaeedfc49353e66871d86bd7b56928f8",
"version": "1.0",
"author": "风埠",
"description": "向右行走1.5秒,搭配进入尘歌壶可以到阿圆那领取洞天宝钱和好感值(这个成男角色容易掉下去比如那维莱特)~|~向右行走1.5秒",
"tags": []
},
{
"name": "尘歌壶清琼岛找阿圆",
"type": "directory",
"hash": "4ad41397cea9a9cf5bab2e191fcf117a6aea3a24",
"version": "1.0",
"author": "风埠",
"description": "向左行走1.5秒,搭配进入尘歌壶可以到阿圆那领取洞天宝钱和好感值~|~向左行走1.5秒",
"tags": []
},
{
"name": "尘歌壶罗浮洞找阿圆",
"type": "directory",
"hash": "e06cf53fc71fbcd00f32cb44adc8ad130f70ad6b",
"version": "1.0",
"author": "风埠",
"description": "向右行走0.5秒,搭配进入尘歌壶可以到阿圆那领取洞天宝钱和好感值~|~向右行走0.5秒",
"tags": []
},
{
"name": "尘歌壶翠黛峰找阿圆",
"type": "directory",
"hash": "e06cf53fc71fbcd00f32cb44adc8ad130f70ad6b",
"version": "1.0",
"author": "风埠",
"description": "向右行走0.5秒,搭配进入尘歌壶可以到阿圆那领取洞天宝钱和好感值~|~向右行走0.5秒",
"tags": []
},
{
"name": "稻妻合成台",
"type": "directory",
"hash": "add45a9c0df33c1895d8a67c642fc7a31dbea186",
"version": "1.0",
"author": "fengbu",
"description": "稻妻合成台~|~去稻妻合成台“那位莱特不行他冲刺比其他成男角色远”成男角色冲刺右键8下A左走5秒跳跃找交互停顿",
"tags": []
},
{
"name": "进入尘歌壶",
"type": "directory",
"hash": "89cb2141693f861a1a79d2cff60f687fabdbf76e",
"version": "1.0",
"author": "风埠",
"description": "进入尘歌壶~|~用于进入尘歌壶",
"tags": []
},
{
"name": "领取洞天宝钱和好感",
"type": "directory",
"hash": "bf0ee2547be5fa41bb222cea37f920fd77c71dc8",
"version": "1.0",
"author": "风埠",
"description": "领取洞天宝钱和好感~|~领取洞天宝钱和好感",
"tags": []
}
]
},

View File

@@ -0,0 +1,6 @@
(async function () {
setGameMetrics(1920, 1080, 2); // 设置游戏窗口大小和DPI
keyPress("1");
log.info("已切换1号角色");
})();

View File

@@ -0,0 +1,12 @@
{
"manifest_version": 1,
"name": "切换1号角色",
"version": "1.0",
"description": "用于切换1号角色",
"authors": [
{
"name": "风埠",
}
],
"main": "main.js",
}

View File

@@ -0,0 +1,6 @@
(async function () {
setGameMetrics(1920, 1080, 2); // 设置游戏窗口大小和DPI
keyPress("2");
log.info("已切换2号角色");
})();

View File

@@ -0,0 +1,12 @@
{
"manifest_version": 1,
"name": "切换2号角色",
"version": "1.0",
"description": "用于切换2号角色",
"authors": [
{
"name": "风埠",
}
],
"main": "main.js",
}

View File

@@ -0,0 +1,6 @@
(async function () {
setGameMetrics(1920, 1080, 2); // 设置游戏窗口大小和DPI
keyPress("3");
log.info("已切换3号角色");
})();

View File

@@ -0,0 +1,12 @@
{
"manifest_version": 1,
"name": "切换3号角色",
"version": "1.0",
"description": "用于切换3号角色",
"authors": [
{
"name": "风埠",
}
],
"main": "main.js",
}

View File

@@ -0,0 +1,6 @@
(async function () {
setGameMetrics(1920, 1080, 2); // 设置游戏窗口大小和DPI
keyPress("4");
log.info("已切换4号角色");
})();

View File

@@ -0,0 +1,12 @@
{
"manifest_version": 1,
"name": "切换4号角色",
"version": "1.0",
"description": "用于切换4号角色",
"authors": [
{
"name": "风埠",
}
],
"main": "main.js",
}

View File

@@ -0,0 +1,9 @@
(async function () {
setGameMetrics(1920, 1080, 2); // 设置游戏窗口大小和DPI
// 向前走5s
keyDown("w");
await sleep(5000);
keyUp("w");
log.info("已进入向前走5s");
})();

View File

@@ -0,0 +1,12 @@
{
"manifest_version": 1,
"name": "向前行走5秒搭配进尘歌壶脚本并在入口处放合成台可以自动走到到合成台",
"version": "1.0",
"description": "用于向前走5秒",
"authors": [
{
"name": "风埠",
}
],
"main": "main.js",
}

View File

@@ -0,0 +1,9 @@
(async function () {
setGameMetrics(1920, 1080, 2); // 设置游戏窗口大小和DPI
// 向右走5s
keyDown("D");
await sleep(5000);
keyUp("D");
log.info("已进入向右走5s");
})();

View File

@@ -0,0 +1,12 @@
{
"manifest_version": 1,
"name": "向右行走5秒",
"version": "1.0",
"description": "向右行走5秒",
"authors": [
{
"name": "风埠",
}
],
"main": "main.js",
}

View File

@@ -0,0 +1,9 @@
(async function () {
setGameMetrics(1920, 1080, 2); // 设置游戏窗口大小和DPI
// 向后走5s
keyDown("S");
await sleep(5000);
keyUp("S");
log.info("已进入向后走5s");
})();

View File

@@ -0,0 +1,12 @@
{
"manifest_version": 1,
"name": "向后行走5秒",
"version": "1.0",
"description": "向后行走5秒",
"authors": [
{
"name": "风埠",
}
],
"main": "main.js",
}

View File

@@ -0,0 +1,9 @@
(async function () {
setGameMetrics(1920, 1080, 2); // 设置游戏窗口大小和DPI
// 向左走5s
keyDown("A");
await sleep(5000);
keyUp("A");
log.info("已进入向右左走5s");
})();

View File

@@ -0,0 +1,12 @@
{
"manifest_version": 1,
"name": "向左行走5秒",
"version": "1.0",
"description": "向左行走5秒",
"authors": [
{
"name": "风埠",
}
],
"main": "main.js",
}

View File

@@ -0,0 +1,9 @@
(async function () {
setGameMetrics(1920, 1080, 2); // 设置游戏窗口大小和DPI
// 向右走1.5s
keyDown("D");
await sleep(1500);
keyUp("D");
log.info("已进入向左走1.5s");
})();

View File

@@ -0,0 +1,12 @@
{
"manifest_version": 1,
"name": "向右行走1.5秒,搭配进入尘歌壶可以到阿圆那领取洞天宝钱和好感值(这个成男角色容易掉下去比如那维莱特)",
"version": "1.0",
"description": "向右行走1.5秒",
"authors": [
{
"name": "风埠",
}
],
"main": "main.js",
}

View File

@@ -0,0 +1,9 @@
(async function () {
setGameMetrics(1920, 1080, 2); // 设置游戏窗口大小和DPI
// 向左走1.5s
keyDown("A");
await sleep(1500);
keyUp("A");
log.info("已进入向左走1.5s");
})();

View File

@@ -0,0 +1,12 @@
{
"manifest_version": 1,
"name": "向左行走1.5秒,搭配进入尘歌壶可以到阿圆那领取洞天宝钱和好感值",
"version": "1.0",
"description": "向左行走1.5秒",
"authors": [
{
"name": "风埠",
}
],
"main": "main.js",
}

View File

@@ -0,0 +1,9 @@
(async function () {
setGameMetrics(1920, 1080, 2); // 设置游戏窗口大小和DPI
// 向右走0.5s
keyDown("D");
await sleep(500);
keyUp("D");
log.info("已进入向左走0.5s");
})();

View File

@@ -0,0 +1,12 @@
{
"manifest_version": 1,
"name": "向右行走0.5秒,搭配进入尘歌壶可以到阿圆那领取洞天宝钱和好感值",
"version": "1.0",
"description": "向右行走0.5秒",
"authors": [
{
"name": "风埠",
}
],
"main": "main.js",
}

View File

@@ -0,0 +1,9 @@
(async function () {
setGameMetrics(1920, 1080, 2); // 设置游戏窗口大小和DPI
// 向右走0.5s
keyDown("D");
await sleep(500);
keyUp("D");
log.info("已进入向左走0.5s");
})();

View File

@@ -0,0 +1,12 @@
{
"manifest_version": 1,
"name": "向右行走0.5秒,搭配进入尘歌壶可以到阿圆那领取洞天宝钱和好感值",
"version": "1.0",
"description": "向右行走0.5秒",
"authors": [
{
"name": "风埠",
}
],
"main": "main.js",
}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,14 @@
(async function () {
log.info('前往稻妻合成台,“那位莱特不行,他冲刺比其他成男角色远”(成男角色:钟离,公子,凯亚,迪卢克等)');
async function captureCrystalfly(locationName, x, y, num) {
log.info('前往 {name}', locationName);
await genshin.tp(x, y);
await sleep(5000);
let filePath = `assets/${locationName}.json`;
await keyMouseScript.runFile(filePath);
}
await captureCrystalfly('稻妻合成台', -4402.56, -3052.88);
})();

View File

@@ -0,0 +1,12 @@
{
"manifest_version": 1,
"name": "稻妻合成台",
"version": "1.0",
"description": "去稻妻合成台“那位莱特不行他冲刺比其他成男角色远”成男角色冲刺右键8下A左走5秒跳跃找交互停顿",
"authors": [
{
"name": "fengbu",
}
],
"main": "main.js"
}

View File

@@ -0,0 +1,14 @@
(async function () {
setGameMetrics(1920, 1080, 2); // 设置游戏窗口大小和DPI
keyPress("B");
await sleep(3000);
click(1060, 50);
await sleep(3000);
click(770, 180);
await sleep(3000);
click(1690, 1010);
await sleep(3000);
keyPress("F");
await sleep(8000);
log.info("已进入尘歌壶");
})();

View File

@@ -0,0 +1,12 @@
{
"manifest_version": 1,
"name": "进入尘歌壶",
"version": "1.0",
"description": "用于进入尘歌壶",
"authors": [
{
"name": "风埠",
}
],
"main": "main.js",
}

View File

@@ -0,0 +1,16 @@
(async function () {
setGameMetrics(1920, 1080, 2); // 设置游戏窗口大小和DPI
keyPress("F");
await sleep(3000);
click(1370, 420);
await sleep(3000);
click(1370, 420);
await sleep(3000);
click(1800, 710);
await sleep(3000);
click(1080, 960);
await sleep(3000);
click(1865, 44);
await sleep(8000);
log.info("已领取洞天宝钱和好感");
})();

View File

@@ -0,0 +1,12 @@
{
"manifest_version": 1,
"name": "领取洞天宝钱和好感",
"version": "1.0",
"description": "领取洞天宝钱和好感",
"authors": [
{
"name": "风埠",
}
],
"main": "main.js",
}