From 4aca4340db6cd180504bfd83f0694492204df998 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期五, 28 六月 2019 20:57:54 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/SnxxServerCode

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/QuestRunner.py |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/QuestRunner.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/QuestRunner.py
index f69c2cc..a1e879c 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/QuestRunner.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/QuestRunner.py
@@ -3585,9 +3585,11 @@
         if not npcData:
             continue
         NPCLV = npcData.GetLV()
-        if NPCLV > heroLV or NPCLV < heroLV-30:
-            if NPCLV < heroLV-30:
-                secondNPC = killNPC
+        if NPCLV > heroLV:
+            continue
+        
+        if recordKey != ChConfig.Def_Player_Dict_TaskLastVisitNPCID and NPCLV < heroLV-30:
+            secondNPC = killNPC
             continue
         #不和上次的NPCID相同
         if killNPC.ID == curPlayer.NomalDictGetProperty(recordKey):

--
Gitblit v1.8.0