Exemplo n.º 1
0
        public override bool TakeAction()
        {
            if (!PlotTeamCombat.IsMorePlotDate(ContextUser.UserID, funEnum))
            {
                ErrorCode = LanguageManager.GetLang().ErrorCode;
                ErrorInfo = LanguageManager.GetLang().St4202_OutMorePlotDate;
                return(false);
            }
            CombatHelper.RemoveDailyMorePlot(ContextUser.UserID, funEnum); //清空副本次数
            var plotTeam = new PlotTeamCombat(ContextUser);

            if (!string.IsNullOrEmpty(plotTeam.ToString()))
            {
                if (funEnum == FunctionEnum.Multiplot)
                {
                    morePlotArray = plotTeam.ToTeamList();
                }
                else
                {
                    morePlotArray = plotTeam.ToMoreTeamList();
                }
            }

            return(true);
        }