xdh
2019-02-28 ba4dd9775177975f46867fa979c06e92089511d6
3036 【主干】【1.6】集市上架物品可以复制物品
1个文件已修改
7 ■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerBourseTube.py 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerBourseTube.py
@@ -65,6 +65,11 @@
    if clientData.PriceCount <= 0:
        GameWorld.DebugLog("Bourse### PlayerSellBourseItem PriceCount <= 0"%itemIndex)
        return  
    if clientData.Count > curItem.GetCount():
        GameWorld.Log('    Bourse### 客户端发的物品数量大于实际数量!!')
    sellCount = min(clientData.Count, curItem.GetCount())
    if sellCount <= 0:
        return
    password = clientData.Pwd
    #判断vip权限
@@ -76,7 +81,7 @@
    sendPack = ChMapToGamePyPack.tagMGCheckAddPlayerBourseItem()
    sendPack.PlayerID = curPlayer.GetPlayerID()
    sendPack.ItemIndex = itemIndex
    sendPack.Count = clientData.Count
    sendPack.Count = sellCount
    sendPack.PriceType = clientData.PriceType
    sendPack.PriceCount = clientData.PriceCount
    sendPack.Pwd = password