From d7f44d8d871a90c818bdb3ffe9a60af875b7100a Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期二, 30 九月 2025 10:12:23 +0800 Subject: [PATCH] 135 【挑战】战锤秘境-服务端(白骨盈野;副本基础;副本扫荡;广告奖励支持;) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py | 24 +++++++++++------------- 1 files changed, 11 insertions(+), 13 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py index 1dd5d6a..4537a3c 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py @@ -1402,7 +1402,7 @@ #进入副本通用检查 fbIpyData = FBCommon.GetFBIpyData(mapID) fbLineIpyData = FBCommon.GetFBLineIpyData(mapID, lineID) - sceneMapID = mapID if not fbLineIpyData else fbLineIpyData.GetMapID() + sceneMapID = mapID #if not fbLineIpyData else fbLineIpyData.GetMapID() #过滤封包地图ID if not GameWorld.GetMap().IsMapIDExist(sceneMapID): GameWorld.ErrLog('###非法地图数据,sceneMapID: %s' % (sceneMapID), curPlayer.GetID()) @@ -1431,15 +1431,14 @@ GameWorld.Log("非队长,无法发起进入组队副本请求!", curPlayer.GetPlayerID()) return isSendToGameServer = True - if isSendToGameServer or mapID in ChConfig.Def_MapID_SendToGameServer \ - or mapID in ReadChConfig.GetEvalChConfig("MapID_SendToGameServer"): + if isSendToGameServer: extendParamList = [] if mapID in ChConfig.Def_MapID_LineIDToPropertyID: - enterCnt = curPlayer.NomalDictGetProperty(ChConfig.Def_Player_Dict_EnterFbCntDay % mapID) + enterCnt = curPlayer.NomalDictGetProperty(ChConfig.Def_Player_Dict_FbEnterCnt % mapID) extendParamList = [enterCnt] - elif mapID in ChConfig.MirrorBattleMapIDList: - reqInfoEx["sceneMapID"] = sceneMapID - extendParamList = [reqInfoEx] + #elif mapID in ChConfig.MirrorBattleMapIDList: + # reqInfoEx["sceneMapID"] = sceneMapID + # extendParamList = [reqInfoEx] SendToGameServerEnterFB(curPlayer, mapID, lineID, tick, extendParamList) return @@ -1663,8 +1662,7 @@ curPlayer.SetDict(ChConfig.Def_PlayerKey_TransTick, tick) mapID = FBCommon.GetRecordMapID(mapID) - fbLineIpyData = FBCommon.GetFBLineIpyData(mapID, funcLineID) - sceneMapID = mapID if not fbLineIpyData else fbLineIpyData.GetMapID() + sceneMapID = mapID #if not fbLineIpyData else fbLineIpyData.GetMapID() # 地图分流, 减少单地图压力 FBMapShuntDict = ReadChConfig.GetEvalChConfig("FBMapShunt") @@ -1824,8 +1822,8 @@ return tagLineID tagLinePlayerCountDict = PyGameData.g_commMapLinePlayerCountDict[tagMapID] # 此分线包含所有分线,含未开放的及活动分线 - if bossID and tagMapID != ChConfig.Def_FBMapID_BossHome: - tagLineID = 0 # Boss的话未分流前先强制1线,即为0 + #if bossID and tagMapID != ChConfig.Def_FBMapID_BossHome: + # tagLineID = 0 # Boss的话未分流前先强制1线,即为0 playerID = curPlayer.GetPlayerID() playChangeLineID = curPlayer.NomalDictGetProperty(ChConfig.Def_Player_Dict_PlayChangeLineID) funcChangeLineID = curPlayer.NomalDictGetProperty(ChConfig.Def_Player_Dict_FuncChangeLineID) @@ -4202,8 +4200,8 @@ if actExpIpyData and curPlayer.GetLV() >= actExpIpyData.GetLVLimit(): fightExpRate += actExpIpyData.GetAddExpRate() - if curPlayer.GetMapID() not in [ChConfig.Def_FBMapID_FamilyInvade]: #守卫人皇不加组队加成 - fightExpRate += curPlayer.GetDictByKey(ChConfig.Def_PlayerKey_TeamExpRate) # 组队 + #if curPlayer.GetMapID() not in [ChConfig.Def_FBMapID_FamilyInvade]: #守卫人皇不加组队加成 + # fightExpRate += curPlayer.GetDictByKey(ChConfig.Def_PlayerKey_TeamExpRate) # 组队 #地图多倍经验加成,默认是1倍不加成 mapExpAddMultiple = 0 -- Gitblit v1.8.0