From 77b0f4f5acec30f9be8c7eeadfc25d9641ca26f3 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期一, 26 五月 2025 11:46:13 +0800 Subject: [PATCH] 16 卡牌服务端(删除脱机挂) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py | 14 +------------- 1 files changed, 1 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 761ae6c..d913b48 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py @@ -77,7 +77,6 @@ import GameLogic_SealDemon import GameLogic_ZhuXianBoss import GameLogic_CrossDemonKing -import PlayerTJG import PlayerVip import PlayerRefineStove import PlayerFamilyTech @@ -1990,11 +1989,6 @@ GameWorld.Log("玩家已经死亡, 无法进入副本!") return ShareDefine.EntFBAskRet_Dead - if PlayerTJG.GetIsTJG(curPlayer): - if isNotify: - NotifyCode(curPlayer, "SingleEnterDefaul", [mapID]) - return ShareDefine.EntFBAskRet_TJG - ## 队伍检查的情况,队长不处理,只处理队员 if isTeamAsk and curPlayer.GetTeamLV() != IPY_GameWorld.tmlLeader: # 后端只做boss状态下,被动进入副本限制,防止打boss中被拉进去副本 @@ -2356,9 +2350,6 @@ 特殊boss分流: @param bossID: 分流bossID ''' - if PlayerTJG.GetIsTJG(curPlayer): - GameWorld.DebugLog("脱机的玩家不处理分流!", curPlayer.GetPlayerID()) - return tagLineID if GameWorld.IsCrossServer(): return tagLineID # 非常规地图之间的切换不处理 @@ -3796,8 +3787,6 @@ ## 刷新红名对应PKValue curPKValue = curPlayer.GetPKValue() if not curPKValue: - return - if PlayerTJG.GetIsTJG(curPlayer): return redBuff = SkillCommon.FindBuffByID(curPlayer, ChConfig.Def_SkillID_Red)[0] if not redBuff: @@ -5725,7 +5714,6 @@ #通知死亡 DoPlayerDead(curPlayer) - #PlayerTJG.PlayerTJGReborn(curPlayer, tick) GameObj.ClearPyPlayerState(curPlayer) MirrorAttack.OnPlayerDead(curPlayer) @@ -6249,7 +6237,7 @@ fightExpRate += PlayerGoldInvest.GetAddFightExpRate(curPlayer) actExpRateInfo = PyGameData.g_operationActionDict.get(ShareDefine.OperationActionName_ExpRate, {})# 多倍经验活动加成 - if not PlayerTJG.GetIsTJG(curPlayer) and actExpRateInfo.get(ShareDefine.ActKey_State): + if actExpRateInfo.get(ShareDefine.ActKey_State): actExpIpyData = IpyGameDataPY.GetIpyGameData("ActExpRate", actExpRateInfo.get(ShareDefine.ActKey_CfgID)) if actExpIpyData and curPlayer.GetLV() >= actExpIpyData.GetLVLimit(): fightExpRate += actExpIpyData.GetAddExpRate() -- Gitblit v1.8.0