hxp
2018-10-16 f460b6035d693dd40c361f7c289c5dac2a2a32a1
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py
@@ -102,7 +102,7 @@
import PlayerTJG
import GameLogic_XMZZ
import GameLogic_SealDemon
import GameLogic_Dogz
import PlayerFlashSale
import PlayerFlashGiftbag
import PlayerCostRebate
import PlayerSpringSale
@@ -491,7 +491,8 @@
    PlayerSpringSale.OnPlayerLogin(curPlayer)
    #限时礼包
    PlayerFlashGiftbag.OnPlayerLogin(curPlayer)
    #限时抢购
    PlayerFlashSale.OnPlayerLogin(curPlayer)
#    # 消费VIP
#    PlayerCostVIP.CostVIPOnLogin(curPlayer, tick)
#    
@@ -544,7 +545,7 @@
    # 骑宠
    FamilyRobBoss.OnPlayerLogin(curPlayer)
    # 绑玉转盘
    PlayerBindJadeWheel.OnDay(curPlayer)
    PlayerBindJadeWheel.OnLogin(curPlayer)
    
    # 上线查询一次充值订单
    curPlayer.SendDBQueryRecharge()
@@ -4390,16 +4391,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 +4492,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)