From 46dbf29a22bd25d8e9c6ea4c34fea35a4828d712 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 31 十二月 2025 12:13:01 +0800
Subject: [PATCH] 121 【武将】武将系统-服务端(武将重置突破支持消耗货币;)

---
 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