mirror of
https://github.com/babalae/bettergi-scripts-list.git
synced 2026-03-26 05:09:52 +08:00
fix(AutoPlan): 修复树脂耗尽模式和开放模式计数配置
- 将 isResinExhaustionMode 配置项从 false 修改为 true - 将 openModeCountMin 配置项从 false 修改为 true - 更新自动运行列表过滤条件以支持多个运行类型 - 添加对 autoLeyLineOutcrop.count 的可选链检查 - 扩展运行配置以同时处理 DomainRoundNum 和 LeyLineOutcrop 计数
This commit is contained in:
@@ -115,8 +115,8 @@ async function autoLeyLineOutcrop(autoLeyLineOutcrop) {
|
||||
"count": 0,
|
||||
"country": "country_cb3d792be8db",
|
||||
"leyLineOutcropType": "leyLineOutcropType_f259b77fabcb",
|
||||
"isResinExhaustionMode": false,
|
||||
"openModeCountMin": false,
|
||||
"isResinExhaustionMode": true,
|
||||
"openModeCountMin": true,
|
||||
"useAdventurerHandbook": false,
|
||||
"friendshipTeam": "friendshipTeam_7122cab56b16",
|
||||
"team": "team_d0798ca3aa27",
|
||||
@@ -352,7 +352,10 @@ async function main() {
|
||||
let runConfig = config.run.config;
|
||||
//"队伍名称|秘境名称/刷取物品名称|刷几轮|限时/周日|周几执行(0-6)不填默认执行|执行顺序,..."
|
||||
const autoRunOrderList = await initRunOrderList(runConfig);
|
||||
const list = autoRunOrderList.filter(item => item.runType === config.user.runTypes[0] && item.autoFight.DomainRoundNum > 0)
|
||||
const list = autoRunOrderList.filter(item =>
|
||||
(item.runType === config.user.runTypes[0] && item?.autoFight.DomainRoundNum > 0)
|
||||
|| (item.runType === config.user.runTypes[1] && item?.autoLeyLineOutcrop.count > 0)
|
||||
)
|
||||
if (list?.length > 0) {
|
||||
await autoRunList(list);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user