From 141959c90ea475111b1d021d219745c2e246f45e Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期三, 13 十一月 2024 12:24:21 +0800 Subject: [PATCH] 10261 【越南】【砍树】【英文】增加玩家定制头像支持; --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/Face.py | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/Face.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/Face.py index b8a554b..e31234d 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/Face.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/Face.py @@ -54,6 +54,8 @@ faceID = ipyData.GetFaceID() if ipyData.GetUnlockDefault(): continue + if ipyData.GetCustomPlayerID(): + continue if not GameWorld.GetDictValueByBit(curPlayer, ChConfig.Def_PDict_FaceState, faceID): continue GameWorld.SetDictValueByBit(curPlayer, ChConfig.Def_PDict_FaceState, faceID, 0) @@ -68,6 +70,9 @@ if ipyData.GetUnlockDefault(): GameWorld.DebugAnswer(curPlayer, "该头像默认激活:%s" % faceID) return + if ipyData.GetCustomPlayerID(): + GameWorld.DebugAnswer(curPlayer, "定制头像不处理:%s" % faceID) + return GameWorld.SetDictValueByBit(curPlayer, ChConfig.Def_PDict_FaceState, faceID, 0) PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_FaceEndTime % faceID, 0) PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_FaceStar % faceID, 0) -- Gitblit v1.8.0