hch
2019-03-29 8f9ba65c87a5f8cc0d59398638245ac1c788071e
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py
@@ -1178,10 +1178,6 @@
    NPCCommon.ClearCollectNPC(curPlayer)
    #结束事件
    EventShell.DoExitEvent(curPlayer)
    # 结束摆摊/查看摆摊
    EventShell.ExitShopItem(curPlayer)
    EventShell.ExitWatchShopItem(curPlayer)
    #设置玩家的地图位置, 如果是副本, 离开副本
#    副本规则:
@@ -1446,11 +1442,6 @@
            PlayerTruck.PlayerTruckDown(curPlayer, curTruck)
        
    curPlayer.SetChangeMapTakeTruck(takeTruck)
    # 如果在摆摊中,提示摆摊关闭
    playerShop = curPlayer.GetPlayerShop()
    if playerShop.GetIsStartShop():
        NotifyCode(curPlayer, "GeRen_admin_70569")
    
    #离开地图服务器
    __PlayerLeaveServerLogic(curPlayer, tick, False)
@@ -3667,15 +3658,6 @@
        return True
    
    #---------------------------------------------------------------------
    ## 获取下一次转生所需等级
    def GetNextReincarnationLV(self, curPlayer):
        Reincarnation_ConditionDict = ReadChConfig.GetEvalChConfig("Reincarnation_Condition")
        curReinCnt = curPlayer.GetReincarnationLv() # 当前转生次数
        nextReinCnt = curReinCnt + 1
        nextReinLV = IpyGameDataPY.GetFuncCfg("PlayerMaxLV")
        if nextReinCnt in Reincarnation_ConditionDict:
            nextReinLV = Reincarnation_ConditionDict[nextReinCnt][0]
        return nextReinLV
    
    ## 加经验值 
    #  @param self 类实例
@@ -3706,7 +3688,6 @@
        if addExp == 0:
            # 不进入计算
            return addExp, expViewType
        #nextReinLV = self.GetNextReincarnationLV(curPlayer)
        
        #取得人物当前经验
        #curTotalExp = GetPlayerTotalExp(curPlayer)