示例#1
0
        private static bool PlayReinforcementCard(BotMain bot, CardInstance card)
        {
            var numArmies = card.As <ReinforcementCardInstance>().Armies;

            AILog.Log("PlayCards", "Playing reinforcement card for " + numArmies);
            bot.Orders.AddOrder(GameOrderPlayCardReinforcement.Create(card.ID, bot.PlayerID));
            bot.EffectiveIncome.FreeArmies += numArmies;
            return(true);
        }