hxp
5 天以前 388823edfe6308cba6f76ca6dc4f20022c5cb2be
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.RealmTower
#
# @todo:¾³½çËþ
# @author hxp
# @date 2023-10-25
# @version 1.0
#
# ÏêϸÃèÊö: ¾³½çËþ
#
#-------------------------------------------------------------------------------
#"""Version = 2023-10-25 01:30"""
#-------------------------------------------------------------------------------
 
import GameWorld
import PlayerControl
import GameLogic_RealmTower
import ChConfig
 
## Âß¼­ÊµÏÖ
## GMÃüÁîÖ´ÐÐÈë¿Ú
#  @param curPlayer
#  @param cmdList ²ÎÊýÁбí
#  @return None
def OnExec(curPlayer, cmdList):
    if not cmdList:
        GameWorld.DebugAnswer(curPlayer, "ÉèÖþ³½çËþ²ã: RealmTower ²ã")
        return
    
    floorID = cmdList[0]
    if not GameLogic_RealmTower.GetTowerIpyData(floorID):
        GameWorld.DebugAnswer(curPlayer, "²»´æÔڸòã")
        return
    
    PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_Player_Dict_RealmTowerFloor, floorID)
    
    GameLogic_RealmTower.SyncRealmTowerInfo(curPlayer)
    GameWorld.DebugAnswer(curPlayer, "¾³½çËþ²ãÉèÖàfloorID=%s" % floorID)
    return