From 41003de2a34a117d9aa286009742493e2aa9ff4b Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 23 五月 2019 17:18:56 +0800
Subject: [PATCH] 6843 【后端】【2.0】缥缈仙域优化 6897 【后端】【2.0】缥缈仙域产出类型修改 6805 【后端】【2.0】副本前端化(缥缈宝藏、妖王、草园、VIPboss)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/Player_Attack_SummonNPC.py |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/Player_Attack_SummonNPC.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/Player_Attack_SummonNPC.py
index e58b91c..3873af4 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/Player_Attack_SummonNPC.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/Player_Attack_SummonNPC.py
@@ -21,18 +21,16 @@
 # @change: "2015-04-11 15:30" hxp 增加最终伤害逻辑
 # @change: "2016-02-26 17:00" hxp 增加PVP伤害统计
 #------------------------------------------------------------------------------ 
-"""Version = 2016-02-26 17:00"""
+#"""Version = 2016-02-26 17:00"""
 #---------------------------------------------------------------------
 import NPCCommon
 import GameWorld
 import AttackCommon
 import IPY_GameWorld
-import PlayerControl
-import SkillCommon
 import ChConfig
-import ChEquip
-import SkillShell
+import FBLogic
 import GameObj
+import ChNPC
 #---------------------------------------------------------------------
 
 #---------------------------------------------------------------------
@@ -146,8 +144,11 @@
     #召唤兽死亡
     if GameObj.GetHP(curTagSummon) <=  0:
         NPCCommon.OnPlayerAttackNPCDie(curTagSummon, curPlayer, skill)
+        FBLogic.DoFB_Player_KillNPC(curPlayer , curTagSummon , tick)
         #获得控制器
         curTagNormalNPCControl = NPCCommon.NPCControl(curTagSummon)
         curTagNormalNPCControl.SetKilled()
-    
+    else:
+        ChNPC.OnNPCAttacked(curPlayer, curTagSummon, skill, tick)
+        
     return True

--
Gitblit v1.8.0