hxp
2019-07-18 d26c8000a37246849772ab836ba5e3d915da8dda
8088 【主干】【开发】分解后自动整理背包
2个文件已修改
6 ■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ItemControler.py 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerEquipDecompose.py 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ItemControler.py
@@ -1508,7 +1508,8 @@
    if curPack == None:
        #GameWorld.Log("重整背包类型不对")
        return
    if endIndex == 0:
        endIndex = curPack.GetCount() - 1
    #检查是否能整理
    for i in range(0, curPack.GetCount()):
        curItem = curPack.GetAt(i)
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerEquipDecompose.py
@@ -138,6 +138,9 @@
    DataRecordPack.DR_ClassUpSystem(curPlayer, "EquipDecomposeUp", updLV, saveDataDict)
    
    #EventReport.WriteEvent__lv(curPlayer, LV, updLV, Exp, updExp)
    # 整理背包
    tick = GameWorld.GetGameWorld().GetTick()
    ItemControler.ResetItem(curPlayer, IPY_GameWorld.rptItem, 0, 0, tick)
    return len(drDelItemList), giveCnt
##获取可以吞噬的物品信息