hxp
2025-05-30 efc705c4fb10577ff83e09273c90a6ead41164bd
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
#!/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