From 2e02049775051abf83425f7d2105e41f67ab03ec Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期一, 10 九月 2018 15:35:32 +0800
Subject: [PATCH] fix:3389 【后端】[1.0.15 & 主干]新增成就通关娲皇遗迹

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerRecover.py |    6 ++++--
 1 files changed, 4 insertions(+), 2 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 72fbe42..6eb0ab1 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerRecover.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerRecover.py
@@ -32,6 +32,7 @@
 import GameFuncComm
 import PlayerTJG
 import PlayerActivity
+import PlayerSuccess
 import PyGameData
 
 import copy
@@ -43,7 +44,7 @@
 ) = range(2)
 
 Def_TJGRecoverID = 1 #脱机挂找回索引ID
-
+Def_QueenRelics = 11 #娲皇遗迹找回索引ID
 ## OnDay处理
 #  @param curPlayer
 #  @return None
@@ -291,7 +292,8 @@
     if Def_TJGRecoverID in recoverCntDict:
         #脱机挂经验找回后重置
         PlayerTJG.ResetTJGDeadInfo(curPlayer)
-        
+    if Def_QueenRelics in recoverCntDict:
+        PlayerSuccess.DoAddSuccessProgress(curPlayer, ShareDefine.SuccType_QueenRelicsEx, recoverCntDict[Def_QueenRelics])
     DataRecordPack.DR_PlayerRecover(curPlayer, recoverWay, recoverCntDict, totalExp, totalMoney, totalSP, totalItemDict)        
     __SetRecoverNum(curPlayer, recoverCntDict)
     __NotifyRecoverNum(curPlayer)

--
Gitblit v1.8.0