From 069a0af2eabef2682f612f241be44991d96d335a Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期六, 13 十二月 2025 12:14:38 +0800
Subject: [PATCH] 389 流向记录(汇报中心角色信息增加: 真实充值、战力、主线任务、主线过关、公会名、官职、祝福数、主阵容信息;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/Success.py |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/Success.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/Success.py
index 718f47b..9d55295 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/Success.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/Success.py
@@ -40,15 +40,17 @@
         succType = msgList[1] if len(msgList) > 1 else 0
         addValue = msgList[2] if len(msgList) > 2 else 1
         conds = msgList[3:]
-        GameWorld.DebugAnswer(curPlayer, "增加成就进度: T:%s,V:%s,C:%s" % (succType, addValue, conds))
-        PlayerSuccess.DoAddSuccessProgress(curPlayer, succType, addValue, conds)
+        PlayerSuccess.DoAddSuccessProgress(curPlayer, succType, addValue, conds, delayCalc=False)
+        curValue = PlayerSuccess.GetSuccValue(curPlayer, succType, conds)
+        GameWorld.DebugAnswer(curPlayer, "增加成就进度: T:%s,A:%s,V:%s,C:%s," % (succType, addValue, curValue, conds))
     # 更新进度
     elif cmdType == "u":
         succType = msgList[1] if len(msgList) > 1 else 0
         newCnt = msgList[2] if len(msgList) > 2 else 1
         conds = msgList[3:]
-        GameWorld.DebugAnswer(curPlayer, "更新成就进度: T:%s,V:%s,C:%s" % (succType, addValue, conds))
         PlayerSuccess.UptateSuccessProgress(curPlayer, succType, newCnt, conds)
+        curValue = PlayerSuccess.GetSuccValue(curPlayer, succType, conds)
+        GameWorld.DebugAnswer(curPlayer, "更新成就进度: T:%s,V:%s,C:%s" % (succType, curValue, conds))
     return
 
 def __DoResetSuccess(curPlayer, msgList, resetValue=True):

--
Gitblit v1.8.0