mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-17 18:01:26 +08:00
chore: fix typos
This commit is contained in:
@@ -9574,7 +9574,7 @@
|
||||
160
|
||||
]
|
||||
},
|
||||
"SSSComfirmBattleComplete": {
|
||||
"SSSConfirmBattleComplete": {
|
||||
"algorithm": "JustReturn",
|
||||
"action": "DoNothing",
|
||||
"next": [
|
||||
@@ -9634,7 +9634,7 @@
|
||||
],
|
||||
"postDelay": 1000
|
||||
},
|
||||
"SSSDropRecruitmentConfrim": {
|
||||
"SSSDropRecruitmentConfirm": {
|
||||
"algorithm": "OcrDetect",
|
||||
"action": "ClickSelf",
|
||||
"text": [
|
||||
|
||||
@@ -61,5 +61,5 @@ bool asst::SSSDropRewardsTaskPlugin::_run()
|
||||
}
|
||||
}
|
||||
|
||||
return ProcessTask(*this, { "SSSDropRecruitmentConfrim" }).set_retry_times(5).run();
|
||||
return ProcessTask(*this, { "SSSDropRecruitmentConfirm" }).set_retry_times(5).run();
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@ bool asst::SSSStageManagerTask::_run()
|
||||
|
||||
while (!need_exit()) {
|
||||
do {
|
||||
} while (!comfirm_battle_complete() && !need_exit()); //
|
||||
} while (!confirm_battle_complete() && !need_exit()); //
|
||||
|
||||
if (need_exit()) {
|
||||
break;
|
||||
@@ -92,9 +92,9 @@ std::optional<std::string> asst::SSSStageManagerTask::analyze_stage()
|
||||
return std::nullopt;
|
||||
}
|
||||
|
||||
bool asst::SSSStageManagerTask::comfirm_battle_complete()
|
||||
bool asst::SSSStageManagerTask::confirm_battle_complete()
|
||||
{
|
||||
return ProcessTask(*this, { "SSSComfirmBattleComplete" })
|
||||
return ProcessTask(*this, { "SSSConfirmBattleComplete" })
|
||||
.set_times_limit("SSSStartFighting", 0)
|
||||
.set_times_limit("SSSBegin", 0)
|
||||
.run();
|
||||
@@ -109,7 +109,7 @@ bool asst::SSSStageManagerTask::settle()
|
||||
{
|
||||
return ProcessTask(*this, { "SSSSettlement" }) //
|
||||
.run() &&
|
||||
ProcessTask(*this, { "SSSComfirmBattleComplete" })
|
||||
ProcessTask(*this, { "SSSConfirmBattleComplete" })
|
||||
.set_times_limit("SSSStartFighting", 0)
|
||||
.set_times_limit("SSSBegin", 0)
|
||||
.run();
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace asst
|
||||
|
||||
void preprocess_data();
|
||||
std::optional<std::string> analyze_stage();
|
||||
bool comfirm_battle_complete();
|
||||
bool confirm_battle_complete();
|
||||
bool click_start_button();
|
||||
bool settle(); // 结算奖励(退出整局保全战斗)
|
||||
bool check_on_start_screen();
|
||||
|
||||
Reference in New Issue
Block a user