From ecec2bde4584f578e822e614548e3ceec830cfef Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 23 十二月 2025 16:04:59 +0800
Subject: [PATCH] 129 【战斗】战斗系统-服务端(修复吕玲绮队友死亡触发怒技回合受限无效bug;7009效果支持纯被动效果技能;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/UpdatePlayerName.py |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/UpdatePlayerName.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/UpdatePlayerName.py
index 40c5f19..d9c6372 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/UpdatePlayerName.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/UpdatePlayerName.py
@@ -26,7 +26,6 @@
 import PyMongoMain
 import PlayerTask
 import DirtyList
-import ObjPool
 
 def OnPlayerLogin(curPlayer):
     if curPlayer.NomalDictGetProperty(ChConfig.Def_Player_Rename):
@@ -94,7 +93,7 @@
     PlayerBillboard.UpdatePlayerBillboardName(curPlayer)
     #社交名待更新
     
-    PlayerTask.AddTaskValue(curPlayer, ChConfig.TaskType_Rename, 1)
+    PlayerTask.UpdTaskValue(curPlayer, ChConfig.TaskType_Rename)
     return
 
 def GetPlayerFullName(curPlayer, playerName):
@@ -116,7 +115,7 @@
     return fullName
 
 def Sync_UpdatePlayerNameCount(curPlayer):
-    clientPack = ObjPool.GetPoolMgr().acquire(ChPyNetSendPack.tagUpdatePlayerNameCount)
+    clientPack = ChPyNetSendPack.tagUpdatePlayerNameCount()
     clientPack.Count = curPlayer.NomalDictGetProperty(ChConfig.Def_Player_Rename)
     NetPackCommon.SendFakePack(curPlayer, clientPack)
     return

--
Gitblit v1.8.0