From 44182340a9819694d1dc56370ee59b3bc036e1b8 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 06 十二月 2023 10:13:13 +0800
Subject: [PATCH] 9811 【BT9】【后端】逐鹿万界(占领者同步信息增加仙盟名、仙盟ID)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_CrossFamilyFlagwar.py |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_CrossFamilyFlagwar.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_CrossFamilyFlagwar.py
index c21a153..dd82d0c 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_CrossFamilyFlagwar.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_CrossFamilyFlagwar.py
@@ -138,8 +138,10 @@
         
         npcID = flagNPC.GetNPCID()
         batPlayer = self.getBattlePlayer(playerID)
+        familyID = batPlayer.familyID
+        batFamily = self.getBattleFamily(familyID)
         flagOwner = self.worldHelpDict.get("flagOwner", {})
-        flagOwner[str(npcID)] = [playerID, batPlayer.name]
+        flagOwner[str(npcID)] = [playerID, batPlayer.name, batFamily.name, familyID]
         self.worldHelpDict["flagOwner"] = flagOwner
         return
     
@@ -163,7 +165,9 @@
             for playerID, flagNPC in self.playerFlagDict.items():
                 npcID = flagNPC.GetNPCID()
                 batPlayer = self.getBattlePlayer(playerID)
-                flagOwner[str(npcID)] = [playerID, batPlayer.name]
+                familyID = batPlayer.familyID
+                batFamily = self.getBattleFamily(familyID)
+                flagOwner[str(npcID)] = [playerID, batPlayer.name, batFamily.name, familyID]
             helpInfo = {"flagOwner":flagOwner}
             
         # 取自身仙盟及前后名次仙盟信息

--
Gitblit v1.8.0