From 7144eee263494fb574a03d629a2b7fc8b6827f42 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 25 二月 2019 14:16:45 +0800
Subject: [PATCH] 6250 【后端】【2.0】拍卖行开发单(封包)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/KillScreenNPC.py |   16 ++++++++++++++--
 1 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/KillScreenNPC.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/KillScreenNPC.py
index 3675312..7c04bc7 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/KillScreenNPC.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/KillScreenNPC.py
@@ -25,6 +25,8 @@
 import GameObj
 import NPCCommon
 import GameLogic_SealDemon
+import GameLogic_ZhuXianBoss
+import GameLogic_ZhuXianTower
 
 ## GM命令执行入口
 #  @param curPlayer 当前玩家
@@ -38,7 +40,16 @@
         lineID = gameWorld.GetPropertyID() - 1
         gameWorld.SetGameWorldDict(GameLogic_SealDemon.FBDict_RemainHP % lineID, 1)
         return
-    
+    if curPlayer.GetMapID() == ChConfig.Def_FBMapID_ZhuXianBoss:
+        #诛仙BOSS击杀怪
+        gameWorld = GameWorld.GetGameWorld()
+        lineID = gameWorld.GetPropertyID() - 1
+        gameWorld.SetGameWorldDict(GameLogic_ZhuXianBoss.FBDict_RemainHP % lineID, 1)
+        return
+    if curPlayer.GetMapID() == ChConfig.Def_FBMapID_ZhuXianTower:
+        #诛仙塔击杀怪
+        GameWorld.GetGameFB().SetGameFBDict(GameLogic_ZhuXianTower.FBDict_RemainHP, 1)
+        return
     isMapAllNPC = 0
     if len(playerList) > 0:
         isMapAllNPC = playerList[0]
@@ -86,7 +97,8 @@
         return
     if curNPC.GetType() not in [IPY_GameWorld.ntMonster]:
         return
-    
+    if not curNPC.GetVisible():
+        return
     curHP = GameObj.GetHP(curNPC)
     AttackCommon.NPCAddObjInHurtList(curPlayer, curNPC, curHP, curHP)
     

--
Gitblit v1.8.0