From 097c53c5b87f4db42922d7cf9129a69c9bb35ef8 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期四, 20 十二月 2018 21:30:52 +0800
Subject: [PATCH] 5372 【后端】【1.4】聚魂副本开发

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_XMZZ.py |   17 ++++++++++++++---
 1 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_XMZZ.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_XMZZ.py
index 9f113ac..9961324 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_XMZZ.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_XMZZ.py
@@ -175,7 +175,9 @@
     fbStep = GameWorld.GetGameFB().GetFBStep()
     
 #    # 副本准备
-#    if fbStep == FB_Step_Prepare:
+    if fbStep == FB_Step_Prepare:
+        ResetPos(tick)
+        
 #        PrepareXMZZPK(tick) 
 #    # 副本进行中
     if fbStep == FB_Step_Fighting:
@@ -185,6 +187,15 @@
 #        __DoLogic_FB_Over(tick)
     
     
+    return
+
+def ResetPos(tick):
+    if tick - GameWorld.GetGameFB().GetFBStepTick() < 1 * 1000:
+        return
+    FBCommon.SetFBStep(FB_Step_Fighting, tick)
+    curPlayer = FBCommon.GetCurSingleFBPlayer()
+    if curPlayer:
+        __ResetPos(curPlayer)
     return
 
 def __ChcekFBOver(tick):
@@ -240,10 +251,10 @@
     #===============================================================================================
     FBCommon.SetFBStep(FB_Step_Prepare, tick)
     #重置坐标
-    __ResetPos(curPlayer)
+    #__ResetPos(curPlayer)
         
     FBCommon.Sync_Player_TimeTick(IPY_GameWorld.tttWaitStart, __GetFightTime()[Def_PrepareTime] * 1000)
-    FBCommon.SetFBStep(FB_Step_Fighting, tick)
+    #FBCommon.SetFBStep(FB_Step_Fighting, tick)
     
     if not vsPlayerInfo:
         return

--
Gitblit v1.8.0