From d81bb018d0cb883702d329ceda1776680a5417b9 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期四, 10 一月 2019 10:51:46 +0800
Subject: [PATCH] 5730 【后端】【1.5】时装功能开发(时装穿脱通知修改)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoat.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoat.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoat.py
index 0aac70e..fe35c08 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoat.py
+++ b/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
 

--
Gitblit v1.8.0