mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 01:40:46 +08:00
fix: 尝试修复自动战斗干员撤不掉的问题
This commit is contained in:
@@ -6436,8 +6436,27 @@
|
||||
]
|
||||
},
|
||||
"BattleOperRetreat": {
|
||||
"roi": [
|
||||
554,
|
||||
146,
|
||||
119,
|
||||
118
|
||||
],
|
||||
"templThreshold": 0.7,
|
||||
"cache": false,
|
||||
"action": "ClickSelf",
|
||||
"maskRange": [
|
||||
100,
|
||||
255
|
||||
],
|
||||
"onErrorNext": [
|
||||
"BattleOperRetreatJustClick"
|
||||
],
|
||||
"rearDelay": 300
|
||||
},
|
||||
"BattleOperRetreatJustClick": {
|
||||
"algorithm": "JustReturn",
|
||||
"rearDelay": 200,
|
||||
"rearDelay": 300,
|
||||
"action": "ClickRect",
|
||||
"specificRect": [
|
||||
580,
|
||||
|
||||
BIN
resource/template/BattleOperRetreat.png
Normal file
BIN
resource/template/BattleOperRetreat.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 803 B |
@@ -536,7 +536,7 @@ bool asst::BattleProcessTask::oper_retreat(const BattleAction& action)
|
||||
m_ctrler->click(pos);
|
||||
sleep(Task.get("BattleUseOper")->pre_delay);
|
||||
|
||||
return ProcessTask(*this, { "BattleOperRetreat" }).set_task_delay(0).run();
|
||||
return ProcessTask(*this, { "BattleOperRetreat" }).set_task_delay(0).set_retry_times(3).run();
|
||||
}
|
||||
|
||||
bool asst::BattleProcessTask::use_skill(const BattleAction& action)
|
||||
|
||||
Reference in New Issue
Block a user