xdh
2019-04-09 f87b69ad9c32c75d74d40689e0d0427f0a1a6e46
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerPrestigeSys.py
@@ -45,7 +45,8 @@
def OnLogin(curPlayer):        
    SyncRealmFBState(curPlayer)
    UpdateRealmExp(curPlayer)
    UpdateRealmExp(curPlayer, False)
    NotifyRealmExpInfo(curPlayer)
    return
@@ -166,7 +167,8 @@
    GameFuncComm.DoFuncOpenLogic(curPlayer)
    SyncRealmFBState(curPlayer)
    #更新修为速率
    UpdateRealmExp(curPlayer)
    UpdateRealmExp(curPlayer, False)
    NotifyRealmExpInfo(curPlayer)
    #境界提升成就
    PlayerSuccess.UptateSuccessProgress(curPlayer, ShareDefine.SuccType_RealmlvUp, nextRealmLv)
    #更新排行榜
@@ -239,7 +241,7 @@
    ipyData = GetRealmIpyData(curPlayer.GetOfficialRank())
    if not ipyData:
        return curTotalExp
    addExp = passSeconds / 5 * ipyData.GetExpRate()
    addExp = passSeconds / IpyGameDataPY.GetFuncCfg('RealmExpTime') * ipyData.GetExpRate()
    if addExp <= 0:
        return curTotalExp
    PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_RealmExpBeginTime, curTime)