From 9de3ec62ce339d8c60be4d759ba2033a25b66a27 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期六, 27 四月 2019 16:42:37 +0800 Subject: [PATCH] 6628 【2.0】【后端】查看玩家装备和查看玩家战力功能(查看玩家缓存相关功能修改) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoat.py | 6 +++--- 1 files changed, 3 insertions(+), 3 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 76e683e..9b81661 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoat.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoat.py @@ -110,7 +110,7 @@ continue eatItemID = eatItem.GetItemTypeID() if eatItemID != ItemIDList[i]: - GameWorld.Log('时装分解 发的物品ID不对应index=%s eatItemID=%s,ItemIDList[i]=%s'%(index, eatItemID, ItemIDList[i])) + GameWorld.Log('时装分解 发的物品ID不对应index=%s eatItemID=%s,ItemIDList[i]=%s'%(index, eatItemID, ItemIDList[i]), playerID) continue itemData = GameWorld.GetGameData().GetItemByTypeID(eatItemID) if not itemData: @@ -127,7 +127,7 @@ addExp += itemCnt * curEff.GetEffectValue(1) ItemCommon.DelItem(curPlayer, eatItem, itemCnt, True, ChConfig.ItemDel_CoatDecompose) if not addExp: - GameWorld.Log(' 时装分解, 没有可分解的ItemIDList=%s'%ItemIDList) + GameWorld.Log(' 时装分解, 没有可分解的ItemIDList=%s'%ItemIDList, playerID) return totalExp = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_ClothesChestEXP) + addExp curChestLV = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_ClothesChestLV) @@ -190,7 +190,7 @@ # @param destIndex 目标索引 # @return def SwitchCoat(curPlayer, srcBackpack, desBackPack, srcIndex, destIndex): - clothesPlaceList = [ShareDefine.retWeaponSkin, ShareDefine.retClothesSkin, ShareDefine.retWeapon2Skin] + clothesPlaceList = [6,7,8]#[ShareDefine.retWeaponSkin, ShareDefine.retClothesSkin, ShareDefine.retWeapon2Skin] if not ((desBackPack == IPY_GameWorld.rptEquip and srcBackpack == ShareDefine.rptTempSwap and destIndex in clothesPlaceList) \ or (srcBackpack == IPY_GameWorld.rptEquip and desBackPack == ShareDefine.rptTempSwap and srcIndex in clothesPlaceList)): return False -- Gitblit v1.8.0