From 1220086d487c28e3c265fdbbeb4e9ba5dbafd787 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 30 五月 2019 16:49:47 +0800
Subject: [PATCH] 6805 【后端】【2.0】副本前端化(支持骑乘、宠物的召唤限制处理)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGatherSoul.py |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGatherSoul.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGatherSoul.py
index 27b7ad0..45152c8 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGatherSoul.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGatherSoul.py
@@ -420,16 +420,18 @@
     
     materialsIDList = []
     materialsLVDict = {}
-    indexList1 = []  #背包的聚魂索引
-    indexList2 = []  #孔索引
+    indexList1, dataList1 = [], []  #背包的聚魂索引
+    indexList2, dataList2 = [], []  #孔索引
     for i, placeType in enumerate(packList):
         index = indexList[i]
         if placeType == 0:
             GatherSoulData = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_VPackItem % (ShareDefine.rptGatherSoul, index))  # 聚魂背包中的值
             indexList1.append(index)
+            dataList1.append(GatherSoulData)
         else:
             GatherSoulData = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_GatherSoulHoleData % (index), 0)
             indexList2.append(index)
+            dataList2.append(GatherSoulData)
         if not GatherSoulData:
             continue
         GatherSoulItemID = ItemControler.GetGatherSoulItemID(GatherSoulData)
@@ -500,7 +502,7 @@
     curItem = ItemControler.GetOutPutItemObj(tagItemID)
     curItem.SetUserAttr(ShareDefine.Def_IudetGatherSoulLV, tagItemLV)
     PlayerItemControler = ItemControler.PlayerItemControler(curPlayer)
-    PlayerItemControler.PutInItem(ShareDefine.rptGatherSoul, curItem, event=[ChConfig.ItemGive_ItemCompound, False, {'indexList1':indexList1, 'indexList2':indexList2, 'soulDust':totalPoint}])
+    PlayerItemControler.PutInItem(ShareDefine.rptGatherSoul, curItem, event=[ChConfig.ItemGive_ItemCompound, False, {'indexList1':dataList1, 'indexList2':dataList2, 'soulDust':totalPoint}])
     GameWorld.DebugLog('    聚魂合成 成功')
     curPlayer.Sync_MakeItemAnswer(ShareDefine.Def_mitGatherSoulCompound, 1)
     return

--
Gitblit v1.8.0