From 1fb002af86296eeb89a18cc2a3eba4d090d1e94b Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 09 一月 2026 15:52:04 +0800
Subject: [PATCH] 271 【内政】古宝系统-服务端(修复古宝共鸣存在未激活古宝时激活共鸣0星属性bug;)

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

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoin.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoin.py
index 2503a18..5687f87 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoin.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoin.py
@@ -617,7 +617,8 @@
             syncRecordIDList.append(ctgID)
             ctgItemList = GetCTGGiveItemList(ctgIpyData)
             packCTGIDDict[ctgID] = ctgItemList
-            for itemID, itemCount, _ in ctgItemList:
+            for itemInfo in ctgItemList:
+                itemID, itemCount = itemInfo[:2]
                 packItemDict[itemID] = packItemDict.get(itemID, 0) + itemCount
             __addCTGIDBuyCnt(curPlayer, ctgID)
         if packCTGIDDict:

--
Gitblit v1.8.0