297 【常规】坊市系统-服务端(修复坊市购买配置多物品报错bug;)
1个文件已修改
4 ■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/FunctionNPCCommon.py 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/FunctionNPCCommon.py
@@ -244,7 +244,9 @@
    totalItemList = []
    if itemID:
        totalItemList.append([itemID, itemCount * clientBuyCount, isBind])
    for itemIDEx, itemCountEx, isBindEx in itemListEx:
    for itemEx in itemListEx:
        itemIDEx, itemCountEx = itemEx[:2]
        isBindEx = itemEx[2] if len(itemEx) > 2 else 0
        totalItemList.append([itemIDEx, itemCountEx * clientBuyCount, isBindEx])
    if not totalItemList:
        GameWorld.ErrLog("Store shop item error! shopType=%s,shopID=%s" % (shopType, shopID), curPlayer.GetPlayerID())