From 649b36b642546062ab5102b6225b9f78ea72309d Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 04 十一月 2025 18:11:02 +0800
Subject: [PATCH] 129 【战斗】战斗系统-服务端(优化完整战报仅包含战斗相关封包,结算奖励相关如物品,经验,货币,挑战次数等统一放在战报数据B430后同步)

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

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFace.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFace.py
index e1c405f..e252abc 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFace.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFace.py
@@ -16,6 +16,7 @@
 #-------------------------------------------------------------------------------
 
 import GameWorld
+import PlayerFamily
 import PlayerControl
 import IPY_GameWorld
 import ChPyNetSendPack
@@ -148,6 +149,7 @@
         randFace = random.choice(defaultFaceIDList) if defaultFaceIDList else 0
         curPlayer.SetFace(randFace)
         GameWorld.DebugLog("玩家佩戴的头像被删除,随机重置默认头像! randFace=%s" % randFace, playerID)
+        PlayerFamily.RefreshFamilyMember(curPlayer)
         
     if isRefreshAttr:
         RefreshFaceAttr(curPlayer)
@@ -198,6 +200,7 @@
         return    
     GameWorld.DebugLog("头像幻化! faceID=%s" % (faceID), playerID)
     curPlayer.SetFace(faceID)
+    PlayerFamily.RefreshFamilyMember(curPlayer)
     return
 
 def OnFaceStarUP(curPlayer, faceID):
@@ -351,6 +354,7 @@
         randFacePic = random.choice(defaultFacePicIDList) if defaultFacePicIDList else 0
         curPlayer.SetFacePic(randFacePic)
         GameWorld.DebugLog("玩家佩戴的头像框过期,随机重置默认头像框! randFacePic=%s" % randFacePic, playerID)
+        PlayerFamily.RefreshFamilyMember(curPlayer)
         
     if isRefreshAttr:
         RefreshFacePicAttr(curPlayer)
@@ -396,6 +400,7 @@
         return    
     GameWorld.DebugLog("头像框幻化! facePicID=%s" % (facePicID), playerID)
     curPlayer.SetFacePic(facePicID)
+    PlayerFamily.RefreshFamilyMember(curPlayer)
     return
 
 def OnFacePicStarUP(curPlayer, facePicID):

--
Gitblit v1.8.0