From b26e86ed1f7d15a3a6a7ebff2e1b8201b9e8ebf5 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 01 八月 2019 14:06:57 +0800
Subject: [PATCH] 8180 【后端】【主干】优化组队打BOSS(优化掉落表现,组队打掉多份的时候只能看到归属自己的物品)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/UseItem/Item_Chests.py |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/UseItem/Item_Chests.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/UseItem/Item_Chests.py
index aa034f3..cefa863 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/UseItem/Item_Chests.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/UseItem/Item_Chests.py
@@ -334,7 +334,6 @@
                 
     GameWorld.DebugLog("装备库产出: dropEquipInfoList=%s" % dropEquipInfoList)
     
-    placeKeyListDict = IpyGameDataPY.GetFuncCfg("EquipDropPartSets", 1)
     colorSuitRateDict = awardIpyData.GetEquipColorSuitInfo() # 装备颜色对应套装概率 {颜色:套装概率, ...}
     colorSuitPlaceKeyInfoDict = awardIpyData.GetEquipPartKeyRateInfo() # 装备部位集合信息 {(颜色,是否套装):部位集合key, ...}
     for classLV, color in dropEquipInfoList:
@@ -348,10 +347,10 @@
             continue
         placeKey = colorSuitPlaceKeyInfoDict[colorSuitKey]
         jobList = itemJobList
-        if placeKey not in placeKeyListDict:
+        placeList = NPCCommon.GetEquipPlaceByPlaceKey(placeKey)
+        if not placeList:
             GameWorld.ErrLog("部位集合key不存在!chestsItemID=%s,placeKey=%s" % (chestsItemID, placeKey))
             continue
-        placeList = placeKeyListDict[placeKey]
         randEquipIDList = NPCCommon.__GetEquipIDList(chestsItemID, classLV, color, isSuit, placeList, itemJobList, findType="ChestsItem")
         if not randEquipIDList:
             continue

--
Gitblit v1.8.0