From 7e2fba6800afaaeef3ac9d2d3c8c42ebcefd2016 Mon Sep 17 00:00:00 2001 From: hch <305670599@qq.com> Date: 星期二, 05 三月 2019 15:53:48 +0800 Subject: [PATCH] 6328 【后端】优化代码eval --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py index d174759..a5cbd7d 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py @@ -4003,7 +4003,7 @@ # 记录开服活动冲级数据 OpenServerCampaign.UpdOpenServerCampaignRecordData(curPlayer, ShareDefine.Def_Campaign_Type_LV, curPlayer.GetLV()) #神秘限购 - FunctionNPCCommon.MysticalShopOpen(curPlayer, befLV, aftLV) + FunctionNPCCommon.MysticalLimitShopOpen(curPlayer, befLV, aftLV) #不需要做升级任务, 设置玩家经验 SetPlayerTotalExp(curPlayer, curTotalExp) return @@ -5756,7 +5756,6 @@ # 通知GsmeServer; # SendGameServerRefreshState(int inputType, int inputValue) -# SetExAttr15 ~ 18 对应神兵类型等级,场景特效用 # 禁言 通知gameServer def SetGMForbidenTalk(curPlayer, value): @@ -5828,6 +5827,12 @@ GameWorld.DebugLog("更新玩家所属服务器组ID: serverGroupID=%s" % serverGroupID) return +##影响外观的3部位索引记录 123456789 123:武器格子索引 456:副手 789:衣服 +def GetFaceEquipIndexList(curPlayer): + attr15 = curPlayer.GetExAttr15() + return [attr15%1000, attr15/1000%1000, attr15/1000000] +def SetFaceEquipIndex(curPlayer, value): return curPlayer.SetExAttr15(value) + ##获得玩家威望值 def GetPrestige(curPlayer): return 0 def SetPrestige(curPlayer, value): return -- Gitblit v1.8.0