ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
@@ -1060,6 +1060,9 @@ Def_Player_InitMapSignPointCount = 1 # 玩家初始化地图标记点数量 Def_Player_MapSignPointMaxCount = 10 # 地图标记点最大数量 #初始境界 Def_InitOfficialRank = 0 #玩家性别 Def_PlayerSex_Type = 3 ( ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/OpenFunc.py
@@ -103,7 +103,7 @@ GameWorld.DebugLog("GM处理境界开启功能: needRealmLV=%s" % needRealmLV, curPlayer.GetPlayerID()) if needRealmLV: curPlayer.SetOfficialRank(max(1, needRealmLV - 1)) curPlayer.SetOfficialRank(max(ChConfig.Def_InitOfficialRank, needRealmLV - 1)) PlayerPrestigeSys.DoRealmLVUpLogic(curPlayer) GameWorld.DebugLog("GM处理任务开启功能: needMissionIDList=%s" % needMissionIDList, curPlayer.GetPlayerID()) @@ -143,7 +143,7 @@ ## GM关闭功能 if not closeFuncID: curPlayer.SetLV(1) curPlayer.SetOfficialRank(1) curPlayer.SetOfficialRank(ChConfig.Def_InitOfficialRank) for keyNum in xrange(8): PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_Player_Dict_GameFuncFirstTouch % keyNum, 0) @@ -172,7 +172,7 @@ limitRealmLV = ipyData.GetLimiRealmLV() if limitRealmLV and curPlayer.GetOfficialRank() >= limitRealmLV: curPlayer.SetOfficialRank(max(1, limitRealmLV - 1)) curPlayer.SetOfficialRank(max(ChConfig.Def_InitOfficialRank, limitRealmLV - 1)) limitMissionID = ipyData.GetLimitMissionID() if limitMissionID: ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/RealmLVUP.py
@@ -40,7 +40,7 @@ value = cmdList[0] if value == 0: curPlayer.SetOfficialRank(1) curPlayer.SetOfficialRank(ChConfig.Def_InitOfficialRank) curPlayer.SetFreePoint(0) GameWorld.DebugAnswer(curPlayer, "重置境界!") GameWorld.DebugAnswer(curPlayer, "重置灵根点!") ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerPrestigeSys.py
@@ -54,8 +54,8 @@ def OnLogin(curPlayer): SyncRealmInfo(curPlayer, isAll=True) if not curPlayer.GetOfficialRank(): curPlayer.SetOfficialRank(1) if ChConfig.Def_InitOfficialRank > 0 and not curPlayer.GetOfficialRank(): curPlayer.SetOfficialRank(ChConfig.Def_InitOfficialRank) return def GetRealmIpyData(realmLV): return IpyGameDataPY.GetIpyGameData("Realm", realmLV)