feat: 兽肉好感可选千星奇遇循环 (#2815)

This commit is contained in:
起个名字好难的喵
2026-02-04 07:35:48 +08:00
committed by GitHub
parent fd763ae616
commit 195dcd4d75
4 changed files with 23 additions and 20 deletions

View File

@@ -198,7 +198,11 @@
notification.send(`已抵达突发任务“张牙舞爪的恶党”触发位置`);
}
await genshin.relogin();
if (settings.circulationMethod) {
await genshin.wonderlandCycle();
} else {
await genshin.relogin();
}
// 判断游戏重上后是否在任务触发位置如果在就进行OCR如果不在则退回次数并重新执行触发路线
if (await comparePosition()) {
@@ -366,7 +370,7 @@
} else {
log.info(`>> 今日已完成 ${record.alreadyRunCount} 次,还需运行 ${timesToRun}`);
}
log.info('兽肉好感开始...');
await AutoFriendship(timesToRun, statueTimes, getMeatMode, delayTime, startTime, ocrTimeout);

View File

@@ -1,8 +1,8 @@
{
"manifest_version": 1,
"name": "兽肉好感:自动好感度&刷两只鳄鱼兽肉&卡时间",
"version": "1.4.3",
"bgi_version": "0.44.6",
"version": "1.4.4",
"bgi_version": "0.55.1",
"tags": [
"好感",
"兽肉",

View File

@@ -1,4 +1,9 @@
[
{
"name": "circulationMethod",
"type": "checkbox",
"label": "启用千星奇遇循环触发B服用户必选"
},
{
"name": "partyName",
"type": "input-text",
@@ -9,27 +14,27 @@
"type": "select",
"label": "开启刷兽肉模式【勾选才拾取兽肉】",
"options": [
"算了我不捡了",
"通用拾取",
"万叶拾取"
]
"算了我不捡了",
"通用拾取",
"万叶拾取"
]
},
{
"name": "inputValue",
"type": "input-text",
"label": "刷取个数选填默认为300"
},
{
{
"name": "waitTimeMode",
"type": "checkbox",
"label": "卡时间模式(基于运行次数、基准日期、周期确定需要运行次数)"
},
{
{
"name": "waitTimeModeDay",
"type": "input-text",
"label": "卡时间模式基准日期选填默认为2025-03-31"
},
{
{
"name": "waitTimeModePeriod",
"type": "input-text",
"label": "卡时间模式周期选填默认为7天/循环)"
@@ -59,4 +64,4 @@
"type": "input-text",
"label": "OCR超时时间选填默认为30秒"
}
]
]

View File

@@ -1,9 +1,3 @@
丽莎 e
枫原万叶 e(hold),attack,e(hold),attack
伊涅芙 e
枫原万叶 e(hold),attack,e(hold),attack