From fb6c6d84ca327e4c3f02797fc3441057531ab27a Mon Sep 17 00:00:00 2001 From: hch <305670599@qq.com> Date: 星期六, 27 四月 2019 12:21:54 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/SnxxServerCode --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ChEquip.py | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ChEquip.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ChEquip.py index a4dcc0b..3b419c2 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ChEquip.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ChEquip.py @@ -171,6 +171,15 @@ #if isRefreshEquipBuff: # __RefreshPlayerAllEquipBuff(curPlayer) + + if classLV: + playerID = curPlayer.GetPlayerID() + if playerID not in PyGameData.g_equipChangeClassLVInfo: + PyGameData.g_equipChangeClassLVInfo[playerID] = [] + classLVList = PyGameData.g_equipChangeClassLVInfo[playerID] + if classLV not in classLVList: + classLVList.append(classLV) + #GameWorld.DebugLog("添加装备缓存变更阶: classLV=%s, %s" % (classLV, classLVList), playerID) return ## 刷新所有装备对人物属性的改变 -- Gitblit v1.8.0