From 35d98e9c630fd4408561c8c54b4c09193bb9ce9e Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期五, 20 三月 2026 14:57:32 +0800
Subject: [PATCH] 0312 修改服务端补主线进度通知

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/TurnAttack.py |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/TurnAttack.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/TurnAttack.py
index e54dc6f..21cedac 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/TurnAttack.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/TurnAttack.py
@@ -1483,6 +1483,12 @@
     curPlayer = GameWorld.GetPlayerManager().GetPlayerByIndex(index)
     reqType = clientData.ReqType
     reqValue = clientData.ReqValue
+
+        
+    # 开始时补通知一次当前关卡进度, 原因:前端播放战报关卡进度吞包刷新问题
+    curPlayer.SetExAttr1(PlayerControl.GetMainLevelPassValue(curPlayer), False, False) # 不通知GameServer
+    PlayerControl.SetMainLevelNowValue(curPlayer, PlayerControl.GetMainLevelNowValue(curPlayer))
+    
     
     if reqType == 0:
         __doExitMainFight(curPlayer)
@@ -1605,9 +1611,7 @@
     if not lineupMainInfo:
         GameWorld.DebugLogEx("没有设置主阵容!", playerID)
         return
-    
-    # 开始时补通知一次当前关卡进度, 原因:前端播放战报关卡进度吞包刷新问题
-    PlayerControl.SetMainLevelNowValue(curPlayer, PlayerControl.GetMainLevelNowValue(curPlayer))
+
     
     strongerLV = levelIpyData.GetNPCLV()
     difficulty = levelIpyData.GetDifficulty()

--
Gitblit v1.8.0