コード例 #1
0
        private bool IsExpansionWorthless(BotBonus bonus)
        {
            if (bonus.Amount <= 0)
            {
                return(true);
            }

            if (bonus.ContainsOpponentPresence())
            {
                return(true);
            }

            if (bonus.IsOwnedByMyself() && BotState.NumberOfTurns != -1)
            {
                return(true);
            }

            return(false);
        }