mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-19 10:32:19 +08:00
@@ -74,6 +74,16 @@ bool asst::InfrastReceptionTask::_run()
|
||||
return true;
|
||||
}
|
||||
|
||||
bool asst::InfrastReceptionTask::on_run_fails()
|
||||
{
|
||||
if (asst::InfrastAbstractTask::on_run_fails()) {
|
||||
return true;
|
||||
}
|
||||
|
||||
ProcessTask(*this, { "CloseSendClue", "Stop" }).run();
|
||||
return asst::InfrastAbstractTask::on_run_fails();
|
||||
}
|
||||
|
||||
bool asst::InfrastReceptionTask::receive_message_board()
|
||||
{
|
||||
return ProcessTask(*this, { "InfrastReceptionReceiveMessageBoard" }).run();
|
||||
|
||||
@@ -19,6 +19,7 @@ public:
|
||||
|
||||
protected:
|
||||
virtual bool _run() override;
|
||||
virtual bool on_run_fails() override;
|
||||
|
||||
private:
|
||||
virtual int operlist_swipe_times() const noexcept override { return 4; }
|
||||
|
||||
Reference in New Issue
Block a user