From 7f4854af3c829987e25d86353ddaf57abae88288 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期六, 22 六月 2019 10:22:58 +0800
Subject: [PATCH] 4208 【BUG】【2.0】宗门挑战失败,弹出个s评级

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_MunekadoTrial.py |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_MunekadoTrial.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_MunekadoTrial.py
index 6d4efc6..0a77bc6 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_MunekadoTrial.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_MunekadoTrial.py
@@ -203,7 +203,7 @@
         notify_tick = ZMSLCfg[Def_FightTime] * 1000 - (tick - GameWorld.GetGameFB().GetFBStepTick())
         curPlayer.Sync_TimeTick(IPY_GameWorld.tttTowerTake, 0, max(notify_tick, 0), True)
         
-    __UpdZMSLFBStar(tick, True, curPlayer)
+        __UpdZMSLFBStar(tick, True, curPlayer)
     DoFBHelp(curPlayer, tick)
     return
 
@@ -305,8 +305,8 @@
     if fbStep == FB_Step_Prepare:
         __DoLogic_FB_Prepare(tick)
     elif fbStep == FB_Step_Fight:
-        __ProcessOverFight(tick)
         __UpdZMSLFBStar(tick)
+        __ProcessOverFight(tick)
     elif fbStep == FB_Step_PickItem:
         __DoLogic_FB_PickItem(tick)
     elif fbStep == FB_Step_Over:
@@ -390,7 +390,8 @@
     costTime = tick - GameWorld.GetGameFB().GetFBStepTick()
     gameFB = GameWorld.GetGameFB()
     gameFB.SetGameFBDict(ZMSL_CostTime, costTime)
-    GameWorld.DebugLog("__DoZMSLOver isPass=%s,killNPCID=%s" % (isPass, killNPCID))
+    star = GameWorld.GetGameFB().GetGameFBDictByKey(ChConfig.Def_FB_Grade)
+    GameWorld.DebugLog("__DoZMSLOver isPass=%s,killNPCID=%s,star=%s" % (isPass, killNPCID, star))
     #===============================================================================================
     # canDropPlayerList = GetCanDropPlayerList()
     # if isPass and canDropPlayerList:
@@ -405,7 +406,7 @@
     mapID = GameWorld.GetMap().GetMapID()
     mapID = FBCommon.GetRecordMapID(mapID)
     lineID = FBCommon.GetFBPropertyMark()
-    star = GameWorld.GetGameFB().GetGameFBDictByKey(ChConfig.Def_FB_Grade)
+    
     #awardDict = FBCommon.GetFBLineReward(mapID, lineID)
     #prizeItemList = awardDict.get(star, [])
     overDict = {FBCommon.Over_grade:star,FBCommon.Over_dataMapID:mapID,FBCommon.Over_isPass:int(isPass), FBCommon.Over_costTime:costTime}

--
Gitblit v1.8.0