xdh
2019-01-10 d81bb018d0cb883702d329ceda1776680a5417b9
5730 【后端】【1.5】时装功能开发(时装穿脱通知修改)
1个文件已修改
4 ■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoat.py 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoat.py
@@ -231,7 +231,7 @@
    if isOK:
        if desBackPack == IPY_GameWorld.rptEquip:
            packIndex = IPY_GameWorld.rptEquip
            itemPlace = IPY_GameWorld.retClothesCoat
            itemPlace = destIndex
            itemPack = curPlayer.GetItemManager().GetPack(packIndex)
            curItem = itemPack.GetAt(itemPlace)
            itemId = curItem.GetItemTypeID()
@@ -245,7 +245,7 @@
            itemPack = curPlayer.GetItemManager().GetPack(packIndex)
            curItem = itemPack.GetAt(0)
            if curItem:
                curPlayer.Sync_UnEquipItem(curItem.GetItemTypeID(), IPY_GameWorld.retClothesCoat)
                curPlayer.Sync_UnEquipItem(curItem.GetItemTypeID(), srcIndex)
    GameWorld.DebugLog("SwitchCoat isOK=%s" % isOK)
    return True