Compare commits
2 Commits
8082a7bdb7
...
43c5c89794
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
43c5c89794 | ||
|
|
0431d3998a |
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"time": "20250812020823",
|
"time": "20250812100818",
|
||||||
"url": "https://github.com/babalae/bettergi-scripts-list/archive/refs/heads/main.zip",
|
"url": "https://github.com/babalae/bettergi-scripts-list/archive/refs/heads/main.zip",
|
||||||
"file": "repo.json",
|
"file": "repo.json",
|
||||||
"indexes": [
|
"indexes": [
|
||||||
@@ -75501,8 +75501,8 @@
|
|||||||
{
|
{
|
||||||
"name": "AAA-Artifacts-Bulk-Supply",
|
"name": "AAA-Artifacts-Bulk-Supply",
|
||||||
"type": "directory",
|
"type": "directory",
|
||||||
"hash": "a62467b8180b1d9c4789bc0ddfa602aefb20c23a",
|
"hash": "b7531e72d38da554476c9ccb30276021320dd97b",
|
||||||
"version": "0.0.3",
|
"version": "0.0.4",
|
||||||
"author": "mno",
|
"author": "mno",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
@@ -75518,7 +75518,7 @@
|
|||||||
"tags": [
|
"tags": [
|
||||||
"狗粮"
|
"狗粮"
|
||||||
],
|
],
|
||||||
"lastUpdated": "2025-08-12 02:08:04"
|
"lastUpdated": "2025-08-12 10:07:57"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "AEscoffier_chef",
|
"name": "AEscoffier_chef",
|
||||||
|
|||||||
58
repo/js/AAA-Artifacts-Bulk-Supply/assets/furina/强制白芙.json
Normal file
58
repo/js/AAA-Artifacts-Bulk-Supply/assets/furina/强制白芙.json
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
{
|
||||||
|
"info": {
|
||||||
|
"name": "强制白芙",
|
||||||
|
"type": "collect",
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "汐",
|
||||||
|
"links": ""
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"version": "1.0",
|
||||||
|
"description": "",
|
||||||
|
"map_name": "Teyvat",
|
||||||
|
"bgi_version": "0.45.0",
|
||||||
|
"tags": [],
|
||||||
|
"last_modified_time": 1754828996713,
|
||||||
|
"enable_monster_loot_split": false,
|
||||||
|
"map_match_method": ""
|
||||||
|
},
|
||||||
|
"positions": [
|
||||||
|
{
|
||||||
|
"id": 1,
|
||||||
|
"action": "",
|
||||||
|
"move_mode": "walk",
|
||||||
|
"type": "teleport",
|
||||||
|
"x": -762.078125,
|
||||||
|
"y": -3798.2978515625,
|
||||||
|
"action_params": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 2,
|
||||||
|
"x": -777.662109375,
|
||||||
|
"y": -3821.849609375,
|
||||||
|
"type": "path",
|
||||||
|
"move_mode": "fly",
|
||||||
|
"action": "combat_script",
|
||||||
|
"action_params": "attack(0.5),wait(6)"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 3,
|
||||||
|
"x": 268.5908203125,
|
||||||
|
"y": -665.69580078125,
|
||||||
|
"type": "teleport",
|
||||||
|
"move_mode": "walk",
|
||||||
|
"action": "",
|
||||||
|
"action_params": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 4,
|
||||||
|
"x": 263.3046875,
|
||||||
|
"y": -662.833984375,
|
||||||
|
"type": "path",
|
||||||
|
"move_mode": "walk",
|
||||||
|
"action": "combat_script",
|
||||||
|
"action_params": "keypress(f);芙宁娜 attack(0.08),charge;"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
30
repo/js/AAA-Artifacts-Bulk-Supply/assets/furina/强制黑芙.json
Normal file
30
repo/js/AAA-Artifacts-Bulk-Supply/assets/furina/强制黑芙.json
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
{
|
||||||
|
"info": {
|
||||||
|
"name": "强制黑芙",
|
||||||
|
"type": "collect",
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "汐",
|
||||||
|
"links": ""
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"version": "1.0",
|
||||||
|
"description": "",
|
||||||
|
"map_name": "Enkanomiya",
|
||||||
|
"bgi_version": "0.45.0",
|
||||||
|
"tags": [],
|
||||||
|
"last_modified_time": 1753190175272,
|
||||||
|
"enable_monster_loot_split": false
|
||||||
|
},
|
||||||
|
"positions": [
|
||||||
|
{
|
||||||
|
"id": 1,
|
||||||
|
"action": "",
|
||||||
|
"move_mode": "walk",
|
||||||
|
"type": "teleport",
|
||||||
|
"x": 97.65771484375,
|
||||||
|
"y": 255.2640380859375,
|
||||||
|
"action_params": ""
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -43,13 +43,7 @@ let failcount = 0;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
{
|
|
||||||
//校验自定义配置,从未打开过自定义配置时进行警告
|
|
||||||
for (let i = 0; i < 5; i++) {
|
|
||||||
log.warn("测试版本,可能存在各种bug,出现问题请联系作者,详见readme");
|
|
||||||
await sleep(1000);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
//预处理
|
//预处理
|
||||||
await readRecord(accountName);//读取记录文件
|
await readRecord(accountName);//读取记录文件
|
||||||
const epochTime = new Date('1970-01-01T20:00:00.000Z');
|
const epochTime = new Date('1970-01-01T20:00:00.000Z');
|
||||||
@@ -174,7 +168,7 @@ async function readRecord(accountName) {
|
|||||||
log.warn(`无记录文件,将使用默认数据`);
|
log.warn(`无记录文件,将使用默认数据`);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const content = await file.readText(recordFilePath);
|
const content = await file.readText(recordFilePath);
|
||||||
const lines = content.split("\n");
|
const lines = content.split("\n");
|
||||||
|
|
||||||
@@ -291,7 +285,7 @@ async function writeRecord(accountName) {
|
|||||||
|
|
||||||
async function processArtifacts(times = 1) {
|
async function processArtifacts(times = 1) {
|
||||||
await genshin.returnMainUi();
|
await genshin.returnMainUi();
|
||||||
await sleep(100);
|
await sleep(500);
|
||||||
let result = 0;
|
let result = 0;
|
||||||
try {
|
try {
|
||||||
if (settings.decomposeMode === "销毁(摩拉)") {
|
if (settings.decomposeMode === "销毁(摩拉)") {
|
||||||
@@ -752,7 +746,6 @@ async function runNormalPath(doStop) {
|
|||||||
log.info("填写了清怪队伍,执行清怪路线");
|
log.info("填写了清怪队伍,执行清怪路线");
|
||||||
await runPaths(normalCombatPath, combatPartyName, doStop);
|
await runPaths(normalCombatPath, combatPartyName, doStop);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 启用自动拾取的实时任务
|
// 启用自动拾取的实时任务
|
||||||
dispatcher.addTimer(new RealtimeTimer("AutoPick"));
|
dispatcher.addTimer(new RealtimeTimer("AutoPick"));
|
||||||
await runPaths(normalExecutePath, artifactPartyName, doStop);
|
await runPaths(normalExecutePath, artifactPartyName, doStop);
|
||||||
@@ -794,8 +787,9 @@ async function runActivatePath() {
|
|||||||
const extraActivatePath = extraPath + "/激活";
|
const extraActivatePath = extraPath + "/激活";
|
||||||
const extraCombatPath = extraPath + "/清怪";
|
const extraCombatPath = extraPath + "/清怪";
|
||||||
const extraPreparePath = extraPath + "/准备";
|
const extraPreparePath = extraPath + "/准备";
|
||||||
|
if (!forceAlternate && state.runningEndingAndExtraRoute === "收尾额外A") {
|
||||||
await runPaths(endingActivatePath, artifactPartyName, false);
|
await runPaths(endingActivatePath, artifactPartyName, false);
|
||||||
|
}
|
||||||
await runPaths(extraActivatePath, combatPartyName, false);
|
await runPaths(extraActivatePath, combatPartyName, false);
|
||||||
|
|
||||||
if (combatPartyName) {
|
if (combatPartyName) {
|
||||||
@@ -804,8 +798,6 @@ async function runActivatePath() {
|
|||||||
await runPaths(endingCombatPath, combatPartyName, false);
|
await runPaths(endingCombatPath, combatPartyName, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 启用自动拾取的实时任务
|
|
||||||
dispatcher.addTimer(new RealtimeTimer("AutoPick"));
|
|
||||||
await runPaths(endingPreparePath, artifactPartyName, false);
|
await runPaths(endingPreparePath, artifactPartyName, false);
|
||||||
await runPaths(extraPreparePath, combatPartyName, false);
|
await runPaths(extraPreparePath, combatPartyName, false);
|
||||||
}
|
}
|
||||||
@@ -858,6 +850,13 @@ async function runPaths(folderFilePath, PartyName, doStop) {
|
|||||||
//如果与当前队伍不同,尝试切换队伍,并更新队伍
|
//如果与当前队伍不同,尝试切换队伍,并更新队伍
|
||||||
await switchPartyIfNeeded(PartyName);
|
await switchPartyIfNeeded(PartyName);
|
||||||
state.currentParty = PartyName;
|
state.currentParty = PartyName;
|
||||||
|
if (settings.furina) {
|
||||||
|
if (state.currentParty === artifactPartyName) {
|
||||||
|
await pathingScript.runFile('assets/furina/强制白芙.json');
|
||||||
|
} else {
|
||||||
|
await pathingScript.runFile('assets/furina/强制黑芙.json');
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
await fakeLog(Path.fileName, false, true, 0);
|
await fakeLog(Path.fileName, false, true, 0);
|
||||||
try {
|
try {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"manifest_version": 1,
|
"manifest_version": 1,
|
||||||
"name": "AAA狗粮批发(测试版本)",
|
"name": "AAA狗粮批发(测试版本)",
|
||||||
"version": "0.0.3",
|
"version": "0.0.4",
|
||||||
"tags": [
|
"tags": [
|
||||||
"狗粮"
|
"狗粮"
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -13,13 +13,13 @@
|
|||||||
{
|
{
|
||||||
"name": "minIntervalTime",
|
"name": "minIntervalTime",
|
||||||
"type": "input-text",
|
"type": "input-text",
|
||||||
"label": "####################################################################\n卡时间与收尾配置\n\n最短间隔时间(分钟)\n默认值为1分钟,过短可能导致丢失收尾和额外收益",
|
"label": "####################################################################\n卡时间与收尾配置\n\n最短间隔时间(分钟)\n默认为1分钟,过短可能导致丢失收尾和额外收益",
|
||||||
"default": "1"
|
"default": "1"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "maxWaitingTime",
|
"name": "maxWaitingTime",
|
||||||
"type": "input-text",
|
"type": "input-text",
|
||||||
"label": "最大额外等待时间(分钟)\n默认值为0分钟\n普通路线结束后额外尝试等待以卡时间执行更多次主要收尾路线",
|
"label": "最大额外等待时间(分钟)\n默认值为0分钟\n普通路线结束后额外尝试等待\n以卡时间执行更多次优先收尾路线",
|
||||||
"default": "0"
|
"default": "0"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -63,5 +63,10 @@
|
|||||||
"type": "input-text",
|
"type": "input-text",
|
||||||
"label": "账户名称\n用于多账户运行时区分不同账户\n单账户无需修改",
|
"label": "账户名称\n用于多账户运行时区分不同账户\n单账户无需修改",
|
||||||
"default": "默认账户"
|
"default": "默认账户"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "furina",
|
||||||
|
"type": "checkbox",
|
||||||
|
"label": "如果你的【狗粮队伍】中有芙宁娜,请勾选"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
Reference in New Issue
Block a user