| #!/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  | 
|   |