From dcc91df4e4090f84da0bf7027de4550a0315c184 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 21 十二月 2021 16:52:28 +0800
Subject: [PATCH] 1111 【后端】修复组队报错;修复购买副本次数报错;

---
 ServerPython/CoreServerGroup/GameServer/Script/DataRecordPack.py |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/ServerPython/CoreServerGroup/GameServer/Script/DataRecordPack.py b/ServerPython/CoreServerGroup/GameServer/Script/DataRecordPack.py
index a421082..57cfda4 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/DataRecordPack.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/DataRecordPack.py
@@ -65,6 +65,7 @@
 import GameWorld
 import datetime
 import ShareDefine
+import PlayerControl
 import ChConfig
 #===============================================================================
 ##发送事件记录给EventShell
@@ -75,7 +76,7 @@
     if curPlayer:
         pid = curPlayer.GetDictByKey(ChConfig.Def_PlayerKey_PlayerFromPID)
         dataDict["pid"] = pid
-        dataDict["fightPower"] = curPlayer.GetFightPower()
+        dataDict["fightPower"] = PlayerControl.GetFightPower(curPlayer)
         dataDict["PlayerLV"] = curPlayer.GetLV()
         dataDict["IP"] = curPlayer.GetIP()
         
@@ -554,6 +555,15 @@
     SendEventPack("CompensationPersonal", dataDict)
     return 
 
+## 删除个人补偿流向
+#  @param curPlayerID, GUID, ItemDictList
+#  @return: None 
+def DR_DelPersonalCompensation(playerID, GUID, eventName):
+    dataDict = {'PlayerID':playerID, 'GUID':GUID, 'eventName':eventName}
+    #发送封包
+    SendEventPack("CompensationPersonalDel", dataDict)
+    return 
+
 ## 添加全服补偿流向
 #  @param GUID, ItemDictList
 #  @return: None 

--
Gitblit v1.8.0