From 54c8b15218929d0f8ccd04124144f9fe5ba6e4a7 Mon Sep 17 00:00:00 2001 From: xdh <xiefantasy@qq.com> Date: 星期五, 28 九月 2018 23:54:21 +0800 Subject: [PATCH] 1 去除无用旧代码 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py | 16 ---------------- 1 files changed, 0 insertions(+), 16 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py index d29c0e5..fb1a30c 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py @@ -4390,16 +4390,6 @@ PlayerControl.NotifyCode(curPlayer, "04BBF813-7A30-47A8-927DE1ACCC4F378E") return -#=============================================================================== -# isFreedomTransBuff = SkillCommon.GetPlayerBuffBySkillTypeID(curPlayer, ShareDefine.Def_FreedomTransBuffID) -# if not PlayerControl.IsPlayerInFight(curPlayer): -# -# if (transportType == ChConfig.Def_Transport_Type_BigMap) or (not isFreedomTransBuff): -# #传送支付处理 -# -# if not PayForTransport(curPlayer, transportType, isAutoBuy): -# return -#=============================================================================== #是任务传送,VIP等级不够,且传送符不足,不处理 if transportType == ChConfig.Def_Transport_Type_Mission and \ not TransportVipLvRestrict(curPlayer, transportType) and \ @@ -4501,12 +4491,6 @@ # @param transportType 传送类型 # @return 是否vip等级限制 def TransportVipLvRestrict(curPlayer, transportType): - - #大地图标记传送不能体验无限飞buff功能 - if transportType != ChConfig.Def_Transport_Type_BigMap: - if SkillCommon.GetPlayerBuffBySkillTypeID(curPlayer, ShareDefine.Def_FreedomTransBuffID): - #有无限飞buff - return True return PlayerVip.GetPrivilegeValue(curPlayer, ChConfig.VIPPrivilege_FreeTransport) -- Gitblit v1.8.0