From f1d500ffa61d5b71fd64080d471d6002f30d629a Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期一, 29 十月 2018 10:25:42 +0800
Subject: [PATCH] 4395 【1.1】【1.2】增加境界升级流向
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py | 13 +++++++++++++
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerPrestigeSys.py | 4 +++-
2 files changed, 16 insertions(+), 1 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..07fd85f 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py
@@ -1581,4 +1581,17 @@
#发送封包
SendEventPack("CheckOldPlayerSuccess", dataDict, curPlayer)
+ return
+
+## 玩家境界升级
+# @param tagObjType: 攻击方类型
+# @param tagObj: 攻击方ID
+# @param mapID: 死亡玩家所在地图ID
+# @return
+def DR_RealmLVUp(curPlayer, realmlv, realmPoint):
+ dataDict = {'PlayerID':curPlayer.GetPlayerID(), "PlayerName":curPlayer.GetPlayerName(),
+ 'AccID':curPlayer.GetAccID(), 'realmlv':realmlv, 'realmPoint':realmPoint}
+
+ #发送封包
+ SendEventPack("RealmLVUp", dataDict, curPlayer)
return
\ No newline at end of file
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerPrestigeSys.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerPrestigeSys.py
index fb59904..9302651 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerPrestigeSys.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerPrestigeSys.py
@@ -30,6 +30,7 @@
import OpenServerCampaign
import PlayerBillboard
import EventShell
+import DataRecordPack
#------------------------------------------------------------------------------
(
@@ -184,7 +185,8 @@
curPlayer.SetOfficialRank(nextRealmLv)
PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_RealmFBIsOpen, 0)
-
+ realmPoint = PlayerControl.GetMoney(curPlayer, ShareDefine.TYPE_Price_RealmPoint)
+ DataRecordPack.DR_RealmLVUp(curPlayer, nextRealmLv, realmPoint)
#realmIpyData = GetRealmIpyData(curRealmLV)
#if realmIpyData and realmIpyData.GetIsBigRealm():
PlayerControl.WorldNotify(0, 'RealmUpSuccess', [curPlayer.GetName(), nextRealmLv])
--
Gitblit v1.8.0