From 490aeb49ba64a080efbca0a884c9c6cdd8dcf8a2 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期四, 10 一月 2019 19:50:32 +0800
Subject: [PATCH] 5740 境界(还原)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerPrestigeSys.py |   27 +--------------------------
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py                 |    3 +--
 2 files changed, 2 insertions(+), 28 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
index 2106c5b..cdedd74 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
@@ -4524,8 +4524,7 @@
 Def_VerFix_Horse, # 坐骑等级上限修改,对应技能触发修改;
 Def_VerFix_Pet, # 灵宠等级上限修改,对应技能触发修改;
 Def_VerFix_AddPoint, # 老号属性点修复;
-Def_VerFix_ReamlvFix, # 老号境界等级变更;
-) = range(9)
+) = range(8)
 
 ##==================================================================================================
 #游戏消费点类型定义
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 ed64d70..41eeaff 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerPrestigeSys.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerPrestigeSys.py
@@ -47,32 +47,7 @@
 #        DoRealmLVUpLogic(curPlayer)
     return True
 
-def OnLogin(curPlayer):
-    if not GameWorld.GetDictValueByBit(curPlayer, ChConfig.Def_Player_Dict_VersionFix, ChConfig.Def_VerFix_ReamlvFix):
-        GameWorld.SetDictValueByBit(curPlayer, ChConfig.Def_Player_Dict_VersionFix, ChConfig.Def_VerFix_ReamlvFix, 1)
-        #计算老号当前境界修行点--折算修行点对应新境界--弥补多余修行点
-        oldRealmLV = curPlayer.GetOfficialRank()
-        if oldRealmLV:
-            givePoint = IpyGameDataPY.GetFuncEvalCfg('ReRealm', 1, {}).get(oldRealmLV, 0)
-            newRealmLV = 0
-            ipyMgr = IpyGameDataPY.IPY_Data()
-            maxRealmLV = ipyMgr.GetRealmByIndex(ipyMgr.GetRealmCount()-1).GetLv()
-            for lv in xrange(maxRealmLV):
-                ipyData = GetRealmIpyData(lv)
-                if not ipyData:
-                    break
-                needPoint = ipyData.GetNeedPoint()
-                if givePoint < needPoint:
-                    break
-                givePoint -= needPoint
-                newRealmLV = lv + 1
-            if newRealmLV > 0:
-                curPlayer.SetOfficialRank(newRealmLV-1)
-                DoRealmLVUpLogic(curPlayer, False)
-            PlayerControl.SendMailByKey('ReRealm', [curPlayer.GetID()], [(ChConfig.Def_ItemID_RealmPoint, givePoint, 1)], [newRealmLV, givePoint])
-            GameWorld.Log('老号境界处理 oldRealmLV=%s,newRealmLV=%s,givePoint=%s'%(oldRealmLV, newRealmLV, givePoint), curPlayer.GetID())
-        
-        
+def OnLogin(curPlayer):        
     SyncRealmFBState(curPlayer)
     return
 

--
Gitblit v1.8.0