From e720efce7c9f50a3fef7dd82e850e08543e8ac41 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期三, 10 十二月 2025 15:35:41 +0800
Subject: [PATCH] 125 战斗 修复主线BOSS跨章节多次请求主线战斗的问题
---
Main/System/Main/AutoFightModel.cs | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
diff --git a/Main/System/Main/AutoFightModel.cs b/Main/System/Main/AutoFightModel.cs
index f21dd38..0cf11c9 100644
--- a/Main/System/Main/AutoFightModel.cs
+++ b/Main/System/Main/AutoFightModel.cs
@@ -141,17 +141,12 @@
if (storyBattleField != null && storyBattleField.GetBattleMode() != BattleMode.Stop)
{
//鎴樻枟涓敼鍙樻ā寮�
- ApplyAutoFightToSettings();
+ isAutoAttack = isAutoAttackSet;
+ storyBattleField.AutoSetBattleMode();
}
QuickSetting.Instance.SendPackage();
ChangeAutoEvent?.Invoke();
- }
-
- public void ApplyAutoFightToSettings()
- {
- isAutoAttack = isAutoAttackSet;
- BattleManager.Instance.storyBattleField?.AutoSetBattleMode();
}
--
Gitblit v1.8.0