5798 子 【1.5】境界调整 / 【后端】【1.5】境界老号处理
| | |
| | | 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()
|
| | |
| | | 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)
|