xdh
2018-10-29 a984223d7a68ebd6596251e43f97903e6bfd395f
4395 【1.1】【1.2】增加境界升级流向
2个文件已修改
17 ■■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerPrestigeSys.py 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py
@@ -1571,9 +1571,6 @@
    return
## 玩家上线成就检查
#  @param tagObjType: 攻击方类型
#  @param tagObj: 攻击方ID
#  @param mapID: 死亡玩家所在地图ID
#  @return
def DR_CheckOldPlayerSuccess(curPlayer):
    dataDict = {'PlayerID':curPlayer.GetPlayerID(), "PlayerName":curPlayer.GetPlayerName(), 
@@ -1584,13 +1581,11 @@
    return
## 玩家境界升级
#  @param tagObjType: 攻击方类型
#  @param tagObj: 攻击方ID
#  @param mapID: 死亡玩家所在地图ID
#  @return
def DR_RealmLVUp(curPlayer, realmlv, realmPoint):
def DR_RealmLVUp(curPlayer, realmlv, realmPoint, needRealmPoint):
    dataDict = {'PlayerID':curPlayer.GetPlayerID(), "PlayerName":curPlayer.GetPlayerName(), 
                'AccID':curPlayer.GetAccID(), 'realmlv':realmlv, 'realmPoint':realmPoint}
                'AccID':curPlayer.GetAccID(), 'realmlv':realmlv, 'curRealmPoint':realmPoint, 'costRealmPoint':needRealmPoint,
                'playerlv':curPlayer.GetLV(), 'power':curPlayer.GetFightPower()}
    
    #发送封包
    SendEventPack("RealmLVUp", dataDict, curPlayer)
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerPrestigeSys.py
@@ -186,9 +186,9 @@
    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)