hch
2019-05-21 608bd56472d25fcbccb572df24a71eab836e1fe7
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/Pet_Attack_NormalNPC.py
@@ -110,9 +110,12 @@
        #执行击杀NPC逻辑
        curPlayer = PetControl.GetPetOwner(curPet)  # 宠物主人
        
        if not ChNPC.OnCheckCanDie(curPlayer, curTagNPC, skill, tick):
            return
        if curPlayer != None:
            FBLogic.DoFB_Player_KillNPC(curPlayer, curTagNPC, tick)
            NPCCommon.OnPlayerAttackNPCDie(curTagNPC, curPlayer, skill)
            FBLogic.DoFB_Player_KillNPC(curPlayer, curTagNPC, tick)
            
        curTagNormalNPCControl = NPCCommon.NPCControl(curTagNPC)
        curTagNormalNPCControl.SetKilled()