From 966257b79b291427dc3068b9079cf4e5c12877af Mon Sep 17 00:00:00 2001 From: xdh <xiefantasy@qq.com> Date: 星期五, 11 一月 2019 16:59:35 +0800 Subject: [PATCH] 5730 【后端】【1.5】时装功能开发(时装柜属性) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoat.py | 7 +++++++ 1 files changed, 7 insertions(+), 0 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 fe35c08..76e683e 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoat.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoat.py @@ -170,6 +170,13 @@ continue for attrID, attrValue in starAttrDict[str(skinLV)].items(): PlayerControl.CalcAttrDict_Type(int(attrID), attrValue, allAttrList) + #时装柜属性 + curChestLV = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_ClothesChestLV) + ipyData = IpyGameDataPY.GetIpyGameDataNotLog('CoatChestUp', curChestLV) + if ipyData: + for attrID, attrValue in ipyData.GetAddAttr().items(): + PlayerControl.CalcAttrDict_Type(int(attrID), attrValue, allAttrList) + # 保存计算值 PlayerControl.SetCalcAttrListValue(curPlayer, ChConfig.Def_CalcAttrFunc_Coat, allAttrList) return -- Gitblit v1.8.0