From 4547c5cd74eb44edb2dc3d242bb1f451e2fba9a2 Mon Sep 17 00:00:00 2001 From: kaedelcb <57870068+kaedelcb@users.noreply.github.com> Date: Sat, 11 Oct 2025 21:25:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8C=AA=E5=BE=B7=E5=8D=A1=E8=8E=B1=E4=B8=AD?= =?UTF-8?q?=E5=BF=83=E7=82=B9=E6=9B=B4=E6=96=B0/=E5=9C=B0=E5=9B=BE?= =?UTF-8?q?=E8=BF=BD=E8=B8=AA=E4=B8=8D=E6=89=A7=E8=A1=8C=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E6=B4=BE=E9=81=A3=20(#2323)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BetterGenshinImpact/GameTask/AutoPathing/PathExecutor.cs | 5 ++--- .../GameTask/Common/Element/Assets/MapLazyAssets.cs | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/BetterGenshinImpact/GameTask/AutoPathing/PathExecutor.cs b/BetterGenshinImpact/GameTask/AutoPathing/PathExecutor.cs index 2b8e41ea..5ee32eb8 100644 --- a/BetterGenshinImpact/GameTask/AutoPathing/PathExecutor.cs +++ b/BetterGenshinImpact/GameTask/AutoPathing/PathExecutor.cs @@ -637,9 +637,9 @@ public class PathExecutor { tpTask = new TpTask(ct); } - + // 最小5分钟间隔 - if ((DateTime.UtcNow - _lastGetExpeditionRewardsTime).TotalMinutes < 5) + if ( _combatScenes?.CurrentMultiGameStatus?.IsInMultiGame == true && (DateTime.UtcNow - _lastGetExpeditionRewardsTime).TotalMinutes < 5) { return false; } @@ -652,7 +652,6 @@ public class PathExecutor if (!RunnerContext.Instance.isAutoFetchDispatch && adventurersGuildCountry != "无") { var ra1 = CaptureToRectArea(); - var textRect = new Rect(60, 20, 160, 260); var textMat = new Mat(ra1.SrcMat, textRect); string text = OcrFactory.Paddle.Ocr(textMat); diff --git a/BetterGenshinImpact/GameTask/Common/Element/Assets/MapLazyAssets.cs b/BetterGenshinImpact/GameTask/Common/Element/Assets/MapLazyAssets.cs index 6fdeb7cb..afe713da 100644 --- a/BetterGenshinImpact/GameTask/Common/Element/Assets/MapLazyAssets.cs +++ b/BetterGenshinImpact/GameTask/Common/Element/Assets/MapLazyAssets.cs @@ -25,6 +25,7 @@ public class MapLazyAssets : Singleton { "须弥", [2877, -374] }, { "枫丹", [4515, 3631] }, { "纳塔", [8973.5, -1879.1] }, + { "挪德卡莱", [9542.25, 1661.84] }, }; public readonly Dictionary DomainPositionMap = new();