| | |
| | | import GameLogic_SealDemon
|
| | | import GameLogic_ZhuXianBoss
|
| | | import GameLogic_CrossDemonKing
|
| | | import PlayerTJG
|
| | | import PlayerVip
|
| | | import PlayerRefineStove
|
| | | import PlayerFamilyTech
|
| | |
| | | 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中被拉进去副本
|
| | |
| | | 特殊boss分流:
|
| | | @param bossID: 分流bossID
|
| | | '''
|
| | | if PlayerTJG.GetIsTJG(curPlayer):
|
| | | GameWorld.DebugLog("脱机的玩家不处理分流!", curPlayer.GetPlayerID())
|
| | | return tagLineID
|
| | | if GameWorld.IsCrossServer():
|
| | | return tagLineID
|
| | | # 非常规地图之间的切换不处理
|
| | |
| | | ## 刷新红名对应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:
|
| | |
| | | #通知死亡
|
| | | DoPlayerDead(curPlayer)
|
| | |
|
| | | #PlayerTJG.PlayerTJGReborn(curPlayer, tick)
|
| | | GameObj.ClearPyPlayerState(curPlayer)
|
| | |
|
| | | MirrorAttack.OnPlayerDead(curPlayer)
|
| | |
| | | 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()
|