From f12bbdcbaebff76914ae6dc735941d19f8f4e87f Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期二, 25 六月 2019 02:00:11 +0800
Subject: [PATCH] 860312 印记飘字的优先级高于压制

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/KillScreenNPC.py |    8 ++------
 1 files changed, 2 insertions(+), 6 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 1917405..94a6d4a 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
@@ -23,7 +23,6 @@
 import AttackCommon
 import GameObj
 import NPCCommon
-import GameLogic_ZhuXianTower
 
 
 ## GM命令执行入口
@@ -33,11 +32,6 @@
 #  @remarks 函数详细说明.
 def OnExec(curPlayer, playerList):
 
-    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]
@@ -87,6 +81,8 @@
         return
     if not curNPC.GetVisible():
         return
+    if curPlayer.GetSightLevel() != curNPC.GetSightLevel():
+        return
     curHP = GameObj.GetHP(curNPC)
     AttackCommon.NPCAddObjInHurtList(curPlayer, curNPC, curHP, curHP)
     

--
Gitblit v1.8.0