chore: fix typos

This commit is contained in:
Horror Proton
2023-01-28 11:30:18 +08:00
parent 4ade1c7a15
commit cc7fe180c6
4 changed files with 8 additions and 8 deletions

View File

@@ -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": [

View File

@@ -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();
}

View File

@@ -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();

View File

@@ -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();