From 501afa4af216074d8bcbf532bf8d605c8c7fdf72 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 28 六月 2019 11:59:03 +0800
Subject: [PATCH] 4262 【主干】灵根加点超过65535报错(B2 06 玩家加点 #tagCMAddPoint)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/ClearCollectNPCCnt.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/ClearCollectNPCCnt.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/ClearCollectNPCCnt.py
index e2b742e..88c7341 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/ClearCollectNPCCnt.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/ClearCollectNPCCnt.py
@@ -50,5 +50,8 @@
         NPCCommon.SyncCollNPCTime(curPlayer, resetNPCIDList)
         
     GameWorld.DebugAnswer(curPlayer, "重置采集NPC成功")
+    
+    npcID = IpyGameDataPY.GetFuncCfg("CrossGrasslandCfg", 1)
+    NPCCommon.UpdateNPCAttackCount(curPlayer, npcID, 0)
     return
 

--
Gitblit v1.8.0