From 54b3ca452de08e8cf5723a0715cc0c3853c2df3a Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期六, 01 十二月 2018 16:35:48 +0800
Subject: [PATCH] 2549 【BUG】【1.3】玩家登录时过天处理离线期间所获得的助战仙缘币异常
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py | 15 ++++++++++++---
1 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py
index ef70914..9f48c2d 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py
@@ -123,6 +123,7 @@
if curPlayer:
pid = curPlayer.NomalDictGetProperty(ChConfig.Def_Player_Dict_PlayerFromPID)
dataDict["pid"] = pid
+ dataDict["fightPower"] = curPlayer.GetFightPower()
dataDict["time"] = str(datetime.datetime.today()).split(".")[0]
dataStr = str(dataDict)
@@ -1571,9 +1572,6 @@
return
## 玩家上线成就检查
-# @param tagObjType: 攻击方类型
-# @param tagObj: 攻击方ID
-# @param mapID: 死亡玩家所在地图ID
# @return
def DR_CheckOldPlayerSuccess(curPlayer):
dataDict = {'PlayerID':curPlayer.GetPlayerID(), "PlayerName":curPlayer.GetPlayerName(),
@@ -1581,4 +1579,15 @@
#发送封包
SendEventPack("CheckOldPlayerSuccess", dataDict, curPlayer)
+ return
+
+## 玩家境界升级
+# @return
+def DR_RealmLVUp(curPlayer, realmlv, realmPoint, needRealmPoint):
+ dataDict = {'PlayerID':curPlayer.GetPlayerID(), "PlayerName":curPlayer.GetPlayerName(),
+ 'AccID':curPlayer.GetAccID(), 'realmlv':realmlv, 'curRealmPoint':realmPoint, 'costRealmPoint':needRealmPoint,
+ 'playerlv':curPlayer.GetLV(), 'power':curPlayer.GetFightPower()}
+
+ #发送封包
+ SendEventPack("RealmLVUp", dataDict, curPlayer)
return
\ No newline at end of file
--
Gitblit v1.8.0