From f56df744e9c1c50cc89d71ae0daf05a1f9c264fb Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 01 三月 2019 14:50:21 +0800
Subject: [PATCH] 6250 【后端】【2.0】拍卖行开发单(新增修改关注拍品封包)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerPrestigeSys.py | 31 +------------------------------
1 files changed, 1 insertions(+), 30 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 a971e45..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,36 +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)
- curPoint = PlayerControl.GetMoney(curPlayer, ShareDefine.TYPE_Price_RealmPoint)
- givePoint += curPoint
- 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
-
- PlayerControl.PayMoney(curPlayer, ShareDefine.TYPE_Price_RealmPoint, curPoint, isNotify=False)
- 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