From f3f55bc0b986102ca0bd70063cafa11c04756fe1 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期二, 16 四月 2019 10:14:55 +0800 Subject: [PATCH] 6459 【后端】【2.0】缥缈仙域开发单(地图刷怪逻辑修改,草园刷怪支持配置,支持开关线路保存刷怪信息) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 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 a939d53..9948798 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py @@ -1617,6 +1617,16 @@ NotifyCode(curPlayer, "SingleEnterPK", [mapID]) return + fbIpyData = FBCommon.GetFBIpyData(mapID) + if fbIpyData: + fbLineIpyData = FBCommon.GetFBLineIpyData(mapID, lineID, False) + if not fbLineIpyData: + GameWorld.DebugLog("副本表找不到副本对应功能线路!mapID=%s,lineID=%s" % (mapID, lineID)) + return + ret = FBCommon.CheckCanEnterFBComm(curPlayer, mapID, lineID, fbIpyData, fbLineIpyData) + if ret != ShareDefine.EntFBAskRet_OK: + return + tick = GameWorld.GetGameWorld().GetTick() for mapIDList in ChConfig.Def_FB_MapID.values(): if mapID not in mapIDList: -- Gitblit v1.8.0