From 9475e2f76a63d802ec32cdc47e0ae45da5b3f603 Mon Sep 17 00:00:00 2001 From: Roland125 <44255013+Roland125@users.noreply.github.com> Date: Tue, 19 May 2026 01:38:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=89=BF=E7=81=AD=E6=8E=89=E8=90=BD?= =?UTF-8?q?=E8=AF=86=E5=88=AB=E4=B8=8D=E5=88=B0=E5=90=88=E6=88=90=E7=8E=89?= =?UTF-8?q?=E6=97=B6=E4=B8=8D=E5=81=9C=E6=AD=A2=E4=BB=BB=E5=8A=A1=20(#1672?= =?UTF-8?q?6)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/MaaCore/Task/Fight/StageDropsTaskPlugin.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/MaaCore/Task/Fight/StageDropsTaskPlugin.cpp b/src/MaaCore/Task/Fight/StageDropsTaskPlugin.cpp index 4e0ad8d44e..acce38c2d5 100644 --- a/src/MaaCore/Task/Fight/StageDropsTaskPlugin.cpp +++ b/src/MaaCore/Task/Fight/StageDropsTaskPlugin.cpp @@ -207,13 +207,12 @@ bool asst::StageDropsTaskPlugin::recognize_drops() } if (m_is_annihilation) { - bool has_orundum = std::ranges::any_of(m_cur_drops, [](const auto& drop) { + const bool has_orundum = std::ranges::any_of(m_cur_drops, [](const auto& drop) { return drop.item_id == "4003"; // see StageDropType::Reward }); if (!has_orundum) { - LogInfo << __FUNCTION__ << "No orundum dropped in annihilation, stopping task"; - stop_task(); - return true; + LogInfo << __FUNCTION__ + << "No orundum (4003) in recognized drops"; } RegionOCRer ocr(image);