1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/usr/bin/python
# -*- coding: GBK -*-
#-------------------------------------------------------------------------------
#
##@package GM.Commands.RealmLVUP
#
# @todo:¾³½çÌáÉý
# @author hxp
# @date 2017-11-16
# @version 1.0
#
# ÏêϸÃèÊö: ¾³½çÌáÉý
#
#-------------------------------------------------------------------------------
#"""Version = 2017-11-16 21:00"""
#-------------------------------------------------------------------------------
 
import GameWorld
import PlayerPrestigeSys
 
 
## Âß¼­ÊµÏÖ
#  @param curPlayer
#  @param cmdList ²ÎÊýÁбí
#  @return None
def OnExec(curPlayer, cmdList):
    isOK = PlayerPrestigeSys.DoRealmLVUpLogic(curPlayer)
    curRealmLV = curPlayer.GetOfficialRank()
    if isOK:
        GameWorld.DebugAnswer(curPlayer, "ÌáÉý¾³½ç³É¹¦£¡GetOfficialRank=%s" % curRealmLV)
    else:
        GameWorld.DebugAnswer(curPlayer, "ÌáÉý¾³½çʧ°Ü£¡GetOfficialRank=%s" % curRealmLV)
    return