From 70104e7e82a8a6daf34106c78ef55de08a63445a Mon Sep 17 00:00:00 2001 From: status102 <102887808+status102@users.noreply.github.com> Date: Sat, 13 Jan 2024 12:03:54 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E9=99=90=E5=88=B6=E7=90=86=E6=99=BA?= =?UTF-8?q?=E8=AF=86=E5=88=AB=E9=87=8D=E8=AF=95=E6=AC=A1=E6=95=B0=20fix=20?= =?UTF-8?q?#7998?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/MaaCore/Task/Interface/FightTask.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MaaCore/Task/Interface/FightTask.cpp b/src/MaaCore/Task/Interface/FightTask.cpp index 6f0076b009..1f33e4c0b7 100644 --- a/src/MaaCore/Task/Interface/FightTask.cpp +++ b/src/MaaCore/Task/Interface/FightTask.cpp @@ -50,7 +50,7 @@ asst::FightTask::FightTask(const AsstCallback& callback, Assistant* inst) m_stage_drops_plugin_ptr->set_retry_times(0); m_dr_grandet_task_plugin_ptr = m_fight_task_ptr->register_plugin(); m_dr_grandet_task_plugin_ptr->set_enable(false); - m_fight_task_ptr->register_plugin(); + m_fight_task_ptr->register_plugin()->set_retry_times(3); m_fight_task_ptr->register_plugin(); m_medicine_plugin = m_fight_task_ptr->register_plugin();