#!/usr/bin/python  
 | 
# -*- coding: GBK -*-  
 | 
#---------------------------------------------------------------------  
 | 
#  
 | 
#---------------------------------------------------------------------  
 | 
##@package KillMapNPC  
 | 
# @todo: »÷ɱ¸±±¾ËùÓÐNPC  
 | 
#  
 | 
# @author: ifo  
 | 
# @date 2010-4-22  
 | 
# @version 1.1  
 | 
#  
 | 
# # @change: "2010-09-20 13:10" panwei Âß¼¸ÄÕû  
 | 
#---------------------------------------------------------------------  
 | 
"""Version = 2010-09-20 13:10"""  
 | 
#---------------------------------------------------------------------  
 | 
import FBCommon  
 | 
import NPCCommon  
 | 
#---------------------------------------------------------------------  
 | 
## GMÃüÁîÖ´ÐÐÈë¿Ú  
 | 
#  @param curPlayer µ±Ç°Íæ¼Ò  
 | 
#  @param cmdList ²ÎÊýÁÐ±í  
 | 
#  @return None  
 | 
#  @remarks º¯ÊýÏêϸ˵Ã÷.  
 | 
def OnExec(curPlayer, cmdList):  
 | 
    gameNPCList = FBCommon.GetMapSystemNPCList()  
 | 
      
 | 
    for gameNPC in gameNPCList:  
 | 
        curNPCControl = NPCCommon.NPCControl(gameNPC)  
 | 
        curNPCControl.SetKilled()  
 | 
      
 | 
    return  
 | 
  
 |