From 3facc622190958f02399ea1647159997179d3bf0 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 09 十二月 2020 11:10:15 +0800
Subject: [PATCH] 8605 【港台】【BT】【长尾】【后端】新增限时集字活动(支持脱机掉落)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py |    5 +++++
 1 files changed, 5 insertions(+), 0 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 4a407f6..de23364 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py
@@ -870,6 +870,11 @@
     for dropID in dropIDList:
         dropIDCountDict[dropID] = dropIDCountDict.get(dropID, 0) + 1
         
+    # 集字掉落
+    dropWordsCountDict = PlayerActCollectWords.OnGetDropWordsItemDict(dropPlayer, npcData, killCount)
+    for dropID, dropCount in dropWordsCountDict.items():
+        dropIDCountDict[dropID] = dropIDCountDict.get(dropID, 0) + dropCount
+        
     auctionIDList = []
     if ipyDrop.GetAucionItemCanSell():
         for dropID in dropIDCountDict.keys():

--
Gitblit v1.8.0