From d0d6af30f0a6854b23ada340b5a618eb50c6f865 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期六, 20 十月 2018 22:20:03 +0800
Subject: [PATCH] 2683 子 天赋技能和新增双职业各两个技能 / 【后端】天赋技能  -  buff层级变化触发技能,添加精灵召唤兽

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/PrintNPCHurt.py |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/PrintNPCHurt.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/PrintNPCHurt.py
index ba34515..fb307e5 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/PrintNPCHurt.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/PrintNPCHurt.py
@@ -16,6 +16,8 @@
 #-------------------------------------------------------------------------------
 import GameWorld
 import IPY_GameWorld
+import FamilyRobBoss
+import NPCCommon
 import ChConfig
 
 ##查看点选的NPC仇恨列表
@@ -36,7 +38,13 @@
         GameWorld.DebugAnswer(curPlayer, "objID(%s) 错误 找不到对应NPC" % objID)
         return
     
-    GameWorld.DebugAnswer(curPlayer, "-------------------------------")
+    GameWorld.DebugAnswer(curPlayer, "---%s,ID=%s,team=%s,family=%s" 
+                          % (GameWorld.GetGameWorld().GetTick()%1000, curPlayer.GetPlayerID(), curPlayer.GetTeamID(), curPlayer.GetFamilyID()))
+    
+    # 归属仙盟的,取仙盟伤血统计
+    if NPCCommon.GetDropOwnerType(curNPC) == ChConfig.DropOwnerType_Family:
+        FamilyRobBoss.OnGMPrintFamilyOwnerBossHurt(curPlayer, curNPC)
+        return
     
     npcHurtList = curNPC.GetPlayerHurtList()
     if isSort:

--
Gitblit v1.8.0