From e082d496795bd07657a81714bab4a5a63446e397 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期五, 12 四月 2019 16:41:10 +0800
Subject: [PATCH] 6491 子 【2.0】【开发】打宝界面和境界压制调整 / 【2.0】【后端】打宝界面和境界压制调整

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerPrestigeSys.py |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerPrestigeSys.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerPrestigeSys.py
index 26948e1..cde63ee 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerPrestigeSys.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerPrestigeSys.py
@@ -45,7 +45,8 @@
 
 def OnLogin(curPlayer):        
     SyncRealmFBState(curPlayer)
-    UpdateRealmExp(curPlayer)
+    UpdateRealmExp(curPlayer, False)
+    NotifyRealmExpInfo(curPlayer)
     return
 
 
@@ -166,7 +167,8 @@
     GameFuncComm.DoFuncOpenLogic(curPlayer)
     SyncRealmFBState(curPlayer)
     #更新修为速率
-    UpdateRealmExp(curPlayer)
+    UpdateRealmExp(curPlayer, False)
+    NotifyRealmExpInfo(curPlayer)
     #境界提升成就
     PlayerSuccess.UptateSuccessProgress(curPlayer, ShareDefine.SuccType_RealmlvUp, nextRealmLv)
     #更新排行榜
@@ -239,7 +241,7 @@
     ipyData = GetRealmIpyData(curPlayer.GetOfficialRank())
     if not ipyData:
         return curTotalExp
-    addExp = passSeconds / 5 * ipyData.GetExpRate()
+    addExp = passSeconds / IpyGameDataPY.GetFuncCfg('RealmExpTime') * ipyData.GetExpRate()
     if addExp <= 0:
         return curTotalExp
     PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_RealmExpBeginTime, curTime)

--
Gitblit v1.8.0