| | |
| | | SyncRealmFBState(curPlayer, isAll=True)
|
| | | UpdateRealmExp(curPlayer, False)
|
| | | NotifyRealmExpInfo(curPlayer)
|
| | | if not curPlayer.GetOfficialRank():
|
| | | curPlayer.SetOfficialRank(1)
|
| | | return
|
| | |
|
| | | def DoRealmVersionStateLogic(curPlayer):
|
| | |
| | | return
|
| | | PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_RealmVersionState, 1)
|
| | | realmLV = curPlayer.GetOfficialRank()
|
| | | if not realmLV:
|
| | | if realmLV <= 1:
|
| | | # 新号不处理
|
| | | return
|
| | | playerID = curPlayer.GetPlayerID()
|
| | | GameWorld.Log("======================== 执行境界版本变更重置逻辑 =======================", playerID)
|
| | |
|
| | | # 重置境界
|
| | | curPlayer.SetOfficialRank(0)
|
| | | curPlayer.SetOfficialRank(1)
|
| | |
|
| | | # 返还境界丹
|
| | | returnItemID = IpyGameDataPY.GetFuncCfg("RealmLvUP", 1)
|