xdh
2019-05-16 6b3e505e9c8f3a08dbcc9aa34944d20f64cf22b5
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/KillScreenNPC.py
@@ -23,7 +23,6 @@
import AttackCommon
import GameObj
import NPCCommon
import GameLogic_ZhuXianTower
## GM命令执行入口
@@ -33,11 +32,6 @@
#  @remarks 函数详细说明.
def OnExec(curPlayer, playerList):
    if curPlayer.GetMapID() == ChConfig.Def_FBMapID_ZhuXianTower:
        #诛仙塔击杀怪
        GameWorld.GetGameFB().SetGameFBDict(GameLogic_ZhuXianTower.FBDict_RemainHP, 1)
        return
    isMapAllNPC = 0
    if len(playerList) > 0:
        isMapAllNPC = playerList[0]
@@ -83,7 +77,7 @@
        return
    if curNPC.GetCurAction() == IPY_GameWorld.laNPCDie:
        return
    if curNPC.GetType() not in [IPY_GameWorld.ntMonster, ChConfig.ntMonsterTime]:
    if curNPC.GetType() not in [IPY_GameWorld.ntMonster, ChConfig.ntPriWoodPilePVE, ChConfig.ntPriWoodPilePVP]:
        return
    if not curNPC.GetVisible():
        return