From ed9a3de1449dc0c428f9bfdc28ae9128fec3014d Mon Sep 17 00:00:00 2001 From: xdh <xiefantasy@qq.com> Date: 星期日, 28 四月 2019 09:44:49 +0800 Subject: [PATCH] 6457 宝藏副本刷怪修改 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_FairyTreasure.py | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_FairyTreasure.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_FairyTreasure.py index 3cb7779..994c680 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_FairyTreasure.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_FairyTreasure.py @@ -111,7 +111,10 @@ if not hadDelTicket: FBCommon.SetHadDelTicket(curPlayer) FBCommon.SetFBPropertyMark(lineID) - + boxIDList = FBCommon.GetFBLineRefreshNPC(mapID, lineID)[1:] + npcCnt = len(boxIDList) + NPCCustomRefresh.SetNPCRefresh(__GetFBTimeCfg()[Def_RefreshBossMark1], [[npcID,1] for npcID in boxIDList], npcCnt, npcCnt) + if not hadDelTicket \ and IpyGameDataPY.GetIpyGameDataByCondition("NPCShow", {"MapID":mapID, "LineID":lineID}, isLogNone=False): GameWorld.DebugLog("刚进入时不直接开始,需等前端通知开始才开始!", playerID) # 掉线重上强制开始 @@ -121,9 +124,7 @@ if fbStep < FB_Step_Prepare: FBCommon.SetFBStep(FB_Step_Prepare, tick) - boxIDList = FBCommon.GetFBLineRefreshNPC(mapID, lineID)[1:] - npcCnt = len(boxIDList) - NPCCustomRefresh.SetNPCRefresh(__GetFBTimeCfg()[Def_RefreshBossMark1], [[npcID,1] for npcID in boxIDList], npcCnt, npcCnt) + if gameFB.GetGameFBDictByKey(FBPlayerDict_CurStep) == 0: FBCommon.SyncDynamicBarrierState(IpyGameDataPY.GetFuncEvalCfg('HazyTreasure'), 1, curPlayer) # 准备期间有动态障碍点 if fbStep <= FB_Step_Prepare: -- Gitblit v1.8.0