From a1c3000d2003f7be01f5dbc8898afa62bb7b785c Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 30 十二月 2025 21:20:48 +0800
Subject: [PATCH] 320 【付费内容】商城-服务端(每日特惠打包购买奖励物品格式兼容防范报错;)
---
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