| | |
| | |
|
| | | #发送封包
|
| | | 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 |
| | |
| | | import OpenServerCampaign
|
| | | import PlayerBillboard
|
| | | import EventShell
|
| | | import DataRecordPack
|
| | |
|
| | | #------------------------------------------------------------------------------
|
| | | (
|
| | |
| | |
|
| | | 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])
|