xdh
2019-02-13 5d0665e7f5b3bee843f58afa9a05ae9d7e1fc72f
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerPrestigeSys.py
@@ -47,8 +47,7 @@
#        DoRealmLVUpLogic(curPlayer)
    return True
def OnLogin(curPlayer):
def OnLogin(curPlayer):
    SyncRealmFBState(curPlayer)
    return
@@ -175,7 +174,7 @@
    DoRealmLVUpLogic(curPlayer)
    return
def DoRealmLVUpLogic(curPlayer):
def DoRealmLVUpLogic(curPlayer, needSys=True):
    curRealmLV = curPlayer.GetOfficialRank()
    nextRealmLv = curRealmLV + 1
    GameWorld.DebugLog('    升级境界nextRealmLv=%s'%nextRealmLv)
@@ -185,7 +184,8 @@
    
    curPlayer.SetOfficialRank(nextRealmLv)
    PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_RealmFBIsOpen, 0)
    PlayerControl.WorldNotify(0, 'RealmUpSuccess', [curPlayer.GetName(), nextRealmLv])
    if needSys:
        PlayerControl.WorldNotify(0, 'RealmUpSuccess', [curPlayer.GetName(), nextRealmLv])
    RefreshOfficialAttr(curPlayer)
    GameFuncComm.DoFuncOpenLogic(curPlayer)
    SyncRealmFBState(curPlayer)