From c53bdc3bc2a095d25e5fdd7fa4b37c0106db874f Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 23 八月 2021 22:16:17 +0800
Subject: [PATCH] 8796 【主干】【gt_1.101.1】【后端】Part1 2、每日在线送符印寻宝20次(主干固定为七日在线奖励);

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/Pet_Attack_NormalNPC.py |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/Pet_Attack_NormalNPC.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/Pet_Attack_NormalNPC.py
index fabd3ff..f47b37a 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/Pet_Attack_NormalNPC.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/Pet_Attack_NormalNPC.py
@@ -111,12 +111,11 @@
         curPlayer = PetControl.GetPetOwner(curPet)  # 宠物主人
         
         if not ChNPC.OnCheckCanDie(curPlayer, curTagNPC, skill, tick):
-            GameObj.SetHP(curTagNPC, 1)
             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()

--
Gitblit v1.8.0