From 4af93d30acb4cfe3a2bc7cc51e906904ea49f6d0 Mon Sep 17 00:00:00 2001
From: lcy <1459594991@qq.com>
Date: 星期五, 28 十一月 2025 10:37:02 +0800
Subject: [PATCH] 362 修复跳过战斗回合数计算

---
 Main/System/Battle/BaseBattleWin.cs |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/Main/System/Battle/BaseBattleWin.cs b/Main/System/Battle/BaseBattleWin.cs
index 604ec76..5088f75 100644
--- a/Main/System/Battle/BaseBattleWin.cs
+++ b/Main/System/Battle/BaseBattleWin.cs
@@ -196,7 +196,7 @@
 
         int passRound = BattleManager.Instance.defaultPassRound;
         var name = battleField.ToString();
-        
+
         // 妫�鏌ユ槸鍚︿负姘镐箙鐗规潈鍗$帺瀹�
         bool hasForeverPrivilege = InvestModel.Instance.IsInvested(InvestModel.foreverCardType);
 
@@ -237,10 +237,11 @@
             // 濡傛灉鎴樺満绫诲瀷涓嶅湪 FieldNameToIndex 涓紝浣跨敤榛樿閰嶇疆
         }
 
-        int nowRound = battleField.round;
-        if (nowRound < passRound)
+        int nowRound = battleField.round;   
+        int realPassRound = passRound + 1;  // 閰嶇疆鏄秴杩噚鍥炲悎鍙互璺�,鎰忓懗鐫�x+1鍥炲悎鍙互璺�
+        if (nowRound < realPassRound)
         {
-            SysNotifyMgr.Instance.ShowTip("BattlePass", passRound - nowRound);
+            SysNotifyMgr.Instance.ShowTip("BattlePass", realPassRound - nowRound);
             return;
         }
         battleField.ForceFinish();

--
Gitblit v1.8.0