From b3251b06e19cf3385f19e8071abeb5ce9fde1393 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期一, 13 八月 2018 14:47:39 +0800
Subject: [PATCH] fix:#2415【后端】【1.0.15版本】宗门试练资源找回新加参数——玩家通关过的最高层数的历史最高评价

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerRecover.py |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerRecover.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerRecover.py
index 81e52d8..43802b3 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerRecover.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerRecover.py
@@ -123,6 +123,9 @@
             
             
             PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_RecoverGainData % index, historyMaxLine)
+            if dataMapID == ChConfig.Def_FBMapID_MunekadoTrial:
+                historyStar = GameWorld.GetDictValueByBit(curPlayer, ChConfig.Def_Player_Dict_PlayerFBStar_MapId, historyMaxLine-1, False, [dataMapID])
+                PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_RecoverGainDataEx % index, historyStar)
             
             #更新可找回次数
             curCommonCnt = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_RecoverFBCommonCnt % index, 0)
@@ -390,6 +393,8 @@
     reExp = PlayerControl.GetPlayerReExp(curPlayer)
     expRate = PlayerControl.GetLimitExpRate(curPlayer, ChConfig.ExpRateLimitType_Recover)
     extraData = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_RecoverGainData % index, 0)
+    extraData2 = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_RecoverGainDataEx % index, 0)
+    
     tjgExp = 0 #脱机挂找回经验
     exp = 0
     sp = 0
@@ -453,6 +458,7 @@
         numInfoPack.RecoverCnt = commonCnt
         numInfoPack.ExtraCnt = vipExtraCnt
         numInfoPack.ExtraData = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_RecoverGainData % index, 0)
+        numInfoPack.ExtraData2 = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_RecoverGainDataEx % index, 0)
         sendPack.NumInfo.append(numInfoPack)  
     sendPack.Num = len(sendPack.NumInfo)
     NetPackCommon.SendFakePack(curPlayer, sendPack)

--
Gitblit v1.8.0