From 9f22ca0294f38f6490679798e1c06baf28c87002 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 23 五月 2022 17:00:13 +0800
Subject: [PATCH] 9415 【BT】【后端】古神战场(增加被采集中的水晶资源NPCID同步)

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

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py
index 6b08c4f..3193394 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py
@@ -5663,9 +5663,9 @@
     if collectNPCIpyData.GetLostHPPer():
         curPlayer.SetDict(ChConfig.Def_PlayerKey_CollectLostHPTick, tick)
         
-    FBLogic.OnBeginCollect(curPlayer, curNPC)
     ##添加这个NPC的伤血列表,用于判断可否同时采集,改为字典判断
     AttackCommon.AddHurtValue(curNPC, curPlayer.GetPlayerID(), ChConfig.Def_NPCHurtTypePlayer, 1)
+    FBLogic.OnBeginCollect(curPlayer, curNPC)
     return
 
 def SetCollectNPC(curPlayer, curNPC):

--
Gitblit v1.8.0