mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-17 18:01:26 +08:00
feat: 连续 4 次行动失败时跳过行动任务
close https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/1641
This commit is contained in:
@@ -2236,6 +2236,9 @@
|
||||
143
|
||||
],
|
||||
"action": "DoNothing",
|
||||
"reduceOtherTimes": [
|
||||
"FightMissionFailed"
|
||||
],
|
||||
"next": [
|
||||
"ClickCorner"
|
||||
]
|
||||
@@ -2462,10 +2465,28 @@
|
||||
"OfflineConfirm",
|
||||
"StartButton1"
|
||||
],
|
||||
"maxTimes": 3,
|
||||
"maxTimesDoc": "这是失败次数的限制,超过此限制会停止任务,但每成功一次 EndOfAction 会减少一次失败次数",
|
||||
"exceededNext": [
|
||||
"FightMissionFailedAndStop"
|
||||
],
|
||||
"onErrorNext": [
|
||||
"ClickCornerAfterPRTS_1"
|
||||
]
|
||||
},
|
||||
"FightMissionFailedAndStop": {
|
||||
"algorithm": "OcrDetect",
|
||||
"text": [
|
||||
"任务失败"
|
||||
],
|
||||
"action": "ClickSelf",
|
||||
"roi": [
|
||||
36,
|
||||
226,
|
||||
482,
|
||||
269
|
||||
]
|
||||
},
|
||||
"OfflineConfirmAfterBattle": {
|
||||
"template": "PopupConfirm.png",
|
||||
"action": "ClickSelf",
|
||||
|
||||
Reference in New Issue
Block a user