Exemplo n.º 1
0
        public override void OnGain(GameModel gameModel, Player player)
        {
            IEnumerable<CardModel> discardedActions = player.Discard.Where(card => card.Is(CardType.Action));
            IEnumerable<CardModel> choices = player.Chooser.ChooseSeveralCards(CardChoiceType.Inn, "Choose actions to shuffle into your deck", ChoiceSource.None, 0, discardedActions.Count(), discardedActions);
            foreach(CardModel choice in choices.ToArray())
            {
                player.RemoveFromDiscard(choice);
                player.Deck.PlaceOnTop(choice);
            }

            player.Deck.Shuffle();
        }
Exemplo n.º 2
0
 public override void OnGain(GameModel gameModel, Player player)
 {
     player.RemoveFromDiscard(this);
     player.Deck.PlaceOnTop(this);
 }