From 5794b2a896fbb69511ad9b462735137296cf58f4 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期二, 06 七月 2021 15:18:04 +0800 Subject: [PATCH] 5096 【主干】【BT2】【BT3】垃圾分类任务-杀怪获得脱机挂无效 --- 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 2ecf2b6..315f857 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py @@ -885,6 +885,11 @@ for dropID, dropCount in dropWordsCountDict.items(): dropIDCountDict[dropID] = dropIDCountDict.get(dropID, 0) + dropCount + # 垃圾分类 + giveGarbageItemList = PlayerActGarbageSorting.AddActGarbageTaskProgress(dropPlayer, ChConfig.Def_GarbageTask_KillNPC, killCount, isTJG=True) + for dropID, dropCount, _ in giveGarbageItemList: + dropIDCountDict[dropID] = dropIDCountDict.get(dropID, 0) + dropCount + auctionIDList = [] if ipyDrop.GetAucionItemCanSell(): for dropID in dropIDCountDict.keys(): -- Gitblit v1.8.0