From 11e82d25c1aa5b91706689d0414fdc893ed52627 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期六, 13 四月 2019 11:11:38 +0800 Subject: [PATCH] 6459 【后端】【2.0】缥缈仙域开发单(妖王初版) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py | 12 ++++++++++++ 1 files changed, 12 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 8ab0775..65d1b72 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,15 @@ NotifyCode(curPlayer, "SingleEnterPK", [mapID]) return + tick = GameWorld.GetGameWorld().GetTick() + for mapIDList in ChConfig.Def_FB_MapID.values(): + if mapID not in mapIDList: + continue + if not FBLogic.OnEnterFBEvent(curPlayer, mapID, lineID, tick): + NotifyCode(curPlayer, "SingleEnterDefaul") + return + break + # 需要动态分布线路的地图,发送到跨服服务器进行分配 if mapID in ChConfig.Def_CrossDynamicLineMap: extendInfo = {} @@ -1728,6 +1737,9 @@ if enterCnt >= FBCommon.GetEnterFBMaxCnt(curPlayer, ChConfig.Def_FBMapID_ZhuXianBoss): if curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_ZhuXianBossHelpCnt): extendParamList = [bossID, curPlayer.GetFamilyID()] + elif mapID == ChConfig.Def_FBMapID_DemonKing: + bossID = GameLogic_CrossDemonKing.GetCurFBLineBOSSID(lineID) + extendParamList = [bossID] SendToGameServerEnterFB(curPlayer, mapID, lineID, tick, extendParamList) return -- Gitblit v1.8.0