hxp
2025-06-04 d196d101b54ca95a1343399841d6b4e1117143b7
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
#!/usr/bin/python
# -*- coding: GBK -*-
#-------------------------------------------------------------------------------
#
#-------------------------------------------------------------------------------
#
##@package GM.Commands.ClearFBCD
#
# @todo:Çå³ý¸±±¾½øÈëCDʱ¼ä
# @author hxp
# @date 2014-07-21
# @version 1.0
#
# ÏêϸÃèÊö: Çå³ý¸±±¾½øÈëCDʱ¼ä
#
#---------------------------------------------------------------------
"""Version = 2014-07-21 11:30"""
 
import FBCommon
import IpyGameDataPY
import ChConfig
import GameWorld
#---------------------------------------------------------------------
#Âß¼­ÊµÏÖ
## GMÃüÁîÖ´ÐÐÈë¿Ú
#  @param curPlayer µ±Ç°Íæ¼Ò
#  @param list ²ÎÊýÁбí [npcID]
#  @return None
#  @remarks º¯ÊýÏêϸ˵Ã÷.
def OnExec(curPlayer, list):
    #Çå³ýÏà¹Ø±³°üÎïÆ·
    enterCDDict = IpyGameDataPY.GetFuncEvalCfg('FBEnterCD', 1, {})
 
    for mapID in enterCDDict.keys():
        FBCommon.SetFBPDictValue(curPlayer, ChConfig.Def_PDict_LastEnterFBTick % mapID, 0)
        GameWorld.DebugAnswer(curPlayer, "¸±±¾id=%s, Çå³ýCD³É¹¦£¡" % mapID)
        
    FBCommon.SyncFBEnterTick(curPlayer)
    return