From 112e6e57009cdfee014bdfeb97c22b9520fd4dca Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 17 五月 2019 16:53:20 +0800
Subject: [PATCH] 6828 【后端】【2.0】角色部分初始属性不计算战力

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

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/SummonNPC_Attack_NormalNPC.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/SummonNPC_Attack_NormalNPC.py
index 5d3bdc6..403c638 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/SummonNPC_Attack_NormalNPC.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/SummonNPC_Attack_NormalNPC.py
@@ -144,13 +144,12 @@
     curPlayer = NPCCommon.GetSummonNPCOwner(IPY_GameWorld.gotPlayer, curSummonNPC)
     
     if not ChNPC.OnCheckCanDie(curPlayer, curTagNPC, skill, tick):
-        GameObj.SetHP(curTagNPC, 1)
         return
     
     #2011-05-12 chenxuewei 有没主人都只要通知一次即可,避免重复通知
     if curPlayer != None:
-        FBLogic.DoFB_Player_KillNPC(curPlayer, curTagNPC, tick)
         NPCCommon.OnPlayerAttackNPCDie(curTagNPC, curPlayer, skill)
+        FBLogic.DoFB_Player_KillNPC(curPlayer, curTagNPC, tick)
     else:
         #副本
         FBLogic.DoFB_Npc_KillNPC(curSummonNPC, curTagNPC, tick)

--
Gitblit v1.8.0