| | |
| | | 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():
|
| | | realmIpyData = GetRealmIpyData(curRealmLV)
|
| | | needRealmPoint = realmIpyData.GetNeedPoint() if realmIpyData else 0
|
| | | DataRecordPack.DR_RealmLVUp(curPlayer, nextRealmLv, realmPoint, needRealmPoint)
|
| | | PlayerControl.WorldNotify(0, 'RealmUpSuccess', [curPlayer.GetName(), nextRealmLv])
|
| | | RefreshOfficialAttr(curPlayer)
|
| | | GameFuncComm.DoFuncOpenLogic(curPlayer)
|