From c26890bfb6fc43e232d062b241cba11b8797f5b2 Mon Sep 17 00:00:00 2001 From: xdh <xiefantasy@qq.com> Date: 星期二, 21 五月 2019 14:41:14 +0800 Subject: [PATCH] 6501 新增任务接口 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFB.py | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFB.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFB.py index 2bf9431..4f74374 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFB.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFB.py @@ -487,12 +487,13 @@ resultPack.FuncLineID = lineID #进入副本通用检查 - fbIpyData = None if not mapID else FBCommon.GetFBIpyData(mapID) - fbLineIpyData = None if not mapID else FBCommon.GetFBLineIpyData(mapID, lineID) - if PlayerControl.CheckMoveToFB(curPlayer, mapID, lineID, fbIpyData, fbLineIpyData, tick) != ShareDefine.EntFBAskRet_OK: - resultPack.Result = 0 - NetPackCommon.SendFakePack(curPlayer, resultPack) - return + if mapID: + fbIpyData = FBCommon.GetFBIpyData(mapID) + fbLineIpyData = FBCommon.GetFBLineIpyData(mapID, lineID) + if PlayerControl.CheckMoveToFB(curPlayer, mapID, lineID, fbIpyData, fbLineIpyData, tick) != ShareDefine.EntFBAskRet_OK: + resultPack.Result = 0 + NetPackCommon.SendFakePack(curPlayer, resultPack) + return curPlayer.SetCanAttack(False) curPlayer.SetVisible(False) -- Gitblit v1.8.0