From 87cfabeeec8f063ab11c70293c7838d4a878750e Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期六, 29 十二月 2018 01:59:07 +0800
Subject: [PATCH] 860312  添加防范持续掉血如果血量已经为0不再触发

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FamilyRobBoss.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FamilyRobBoss.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FamilyRobBoss.py
index f89257c..d02f52a 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FamilyRobBoss.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FamilyRobBoss.py
@@ -136,7 +136,6 @@
 def OnPlayerHurtFamilyOwnerBoss(curPlayer, curBoss, hurtValue):
     ## 仙盟玩家对仙盟归属boss造成伤害
     
-    GameWorld.DebugLog("OnPlayerHurtFamilyOwnerBoss hurtValue=%s" % hurtValue)
     if hurtValue <= 0:
         return
     
@@ -154,6 +153,7 @@
     if NPCCommon.GetDropOwnerType(curBoss) != ChConfig.DropOwnerType_Family:
         return
     
+    GameWorld.DebugLog("OnPlayerHurtFamilyOwnerBoss hurtValue=%s" % hurtValue)
     lineID = GameWorld.GetGameWorld().GetLineID()
     objID = curBoss.GetID()
     bossID = curBoss.GetNPCID()

--
Gitblit v1.8.0