1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 15:36:59 +08:00

Add: Single Battle Oil Consumption Upper Limit for WarArchives (#4)

This commit is contained in:
sui-feng-cb
2025-12-24 19:16:44 +08:00
parent 5310187a46
commit 4ff5cc640a
11 changed files with 194 additions and 2 deletions

View File

@@ -4145,6 +4145,12 @@
"display": "hide"
}
},
"InterceptiveCheck": {
"OilThreshold": {
"type": "input",
"value": 0
}
},
"StopCondition": {
"OilLimit": {
"type": "input",

View File

@@ -161,6 +161,8 @@ Campaign:
UseAutoSearch: true
Use2xBook: false
AmbushEvade: true
InterceptiveCheck:
OilThreshold: 0
StopCondition:
OilLimit: 1000
RunCount: 0

View File

@@ -114,6 +114,7 @@ Event:
WarArchives:
- Scheduler
- Campaign
- InterceptiveCheck
- StopCondition
- Fleet
- Submarine

View File

@@ -84,6 +84,9 @@ class GeneratedConfig:
Campaign_Use2xBook = False
Campaign_AmbushEvade = True
# Group `InterceptiveCheck`
InterceptiveCheck_OilThreshold = 0
# Group `StopCondition`
StopCondition_OilLimit = 1000
StopCondition_RunCount = 0

View File

@@ -862,6 +862,16 @@
"help": ""
}
},
"InterceptiveCheck": {
"_info": {
"name": "Dynamic Verification",
"help": "Judge whether the current task settings meet the requirements through in-game information to avoid problems caused by forgetting to adjust the task settings.\nAfter any of the following conditions is triggered, the current battle will be exited and the task will be closed."
},
"OilThreshold": {
"name": "Single Battle Oil Consumption Upper Limit",
"help": "If the oil consumption of a single battle is greater than or equal to X, the setting is deemed incorrect.\n0 means no limit on oil consumption."
}
},
"StopCondition": {
"_info": {
"name": "Stop Condition Settings",

View File

@@ -862,6 +862,16 @@
"help": "Campaign.AmbushEvade.help"
}
},
"InterceptiveCheck": {
"_info": {
"name": "InterceptiveCheck._info.name",
"help": "InterceptiveCheck._info.help"
},
"OilThreshold": {
"name": "InterceptiveCheck.OilThreshold.name",
"help": "InterceptiveCheck.OilThreshold.help"
}
},
"StopCondition": {
"_info": {
"name": "StopCondition._info.name",

View File

@@ -862,6 +862,16 @@
"help": ""
}
},
"InterceptiveCheck": {
"_info": {
"name": "动态校验",
"help": "通过局内信息判断当前任务设置是否符合需求,避免出现由未调整任务设置导致的问题\n触发以下任意条件后退出当前作战并关闭任务"
},
"OilThreshold": {
"name": "单战油耗上限",
"help": "局内单场战斗油耗大于等于 X 时认为设置有误\n0表示无限制"
}
},
"StopCondition": {
"_info": {
"name": "停止条件",

View File

@@ -862,6 +862,16 @@
"help": ""
}
},
"InterceptiveCheck": {
"_info": {
"name": "動態校驗",
"help": "透過局內資訊判斷當前任務設定是否符合需求,避免出現因忘記調整任務設定而導致的問題\n觸發以下任一條件後將退出當前作戰並關閉任務"
},
"OilThreshold": {
"name": "單戰油耗上限",
"help": "局內單場戰鬥油耗大於等於 X 時認為設定有誤\n0表示不限制油耗"
}
},
"StopCondition": {
"_info": {
"name": "停止條件",