From 6844bbc5174e39138047b606ac82d74d6e82d91c Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期三, 28 十一月 2018 17:39:34 +0800 Subject: [PATCH] 4762 【后端】无队伍或队伍只有一人时无法进入组队副本助战;(可匹配,有次数时可单人进入) 混乱妖域增加同步是否助战及助战次数; --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/FBCommon.py | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/FBCommon.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/FBCommon.py index 7ff53c3..5e85a7e 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/FBCommon.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/FBCommon.py @@ -63,6 +63,8 @@ Help_score = 'score' #已获得积分 Help_grade = 'grade' #评级(5-S,4-A,3-B,2-C,1-D) Help_leaderID = 'leaderID' #渡劫玩家ID +Help_isHelp = 'isHelp' #本次是否是助战 +Help_helpCount = 'helpCount' #该副本今日已助战次数 #副本结算信息通用key Over_dataMapID = 'dataMapID' #数据地图ID @@ -176,6 +178,12 @@ PlayerControl.NotifyCode(curPlayer, "GeRen_chenxin_268121", [mapID]) return ShareDefine.EntFBAskRet_NoEnterCnt + if not isTeamAsk and fbIpyData.GetDayHelpCountMax(): + if not curPlayer.GetTeamID() or curPlayer.GetDictByKey(ChConfig.Def_PlayerKey_TeamMemCount) == 1: + if isNotify: + PlayerControl.NotifyCode(curPlayer, "TeamSingleEnter", [mapID]) + return ShareDefine.EntFBAskRet_NoEnterCnt + # 周今日次数暂不做,待扩展... #进入CD判断 if CheckIsEnterCD(curPlayer, mapID): -- Gitblit v1.8.0