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
34
35
36
37
38
39
40
41
42
#!/usr/bin/python
# -*- coding: GBK -*-
#-------------------------------------------------------------------------------
#
#-------------------------------------------------------------------------------
#
##@package GM.Commands.SetSkyTower
#
# @todo:ÌìÐÇËþ¹ý¹ØÊýÉèÖÃ
# @author xdh
# @date 2019-01-21 16:10
# @version 1.0
#
#
# ÏêϸÃèÊö: ÌìÐÇËþ¹ý¹ØÊýÉèÖÃ
#
#---------------------------------------------------------------------
#"""Version = 2019-01-21 16:10"""
#---------------------------------------------------------------------
 
import GameLogic_SkyTower
import GameWorld
#---------------------------------------------------------------------
#È«¾Ö±äÁ¿
#---------------------------------------------------------------------
 
#---------------------------------------------------------------------
## Âß¼­ÊµÏÖ
## GMÃüÁîÖ´ÐÐÈë¿Ú
#  @param curPlayer
#  @param cmdList ²ÎÊýÁбí
#  @return None
def OnExec(curPlayer, cmdList):
    if len(cmdList) != 1:
        GameWorld.DebugAnswer(curPlayer, "SetSkyTower ²ã")
        return
    fbLevel = cmdList[0]
    GameLogic_SkyTower.SetSkyTowerCurfloorID(curPlayer, fbLevel)
 
    GameLogic_SkyTower.SyncSkyTowerInfo(curPlayer)
    GameWorld.DebugAnswer(curPlayer, "ÌìÐÇËþ¹ý¹ØÊýÉèÖàfloor=%s£¡"%fbLevel)
    return