예제 #1
0
 protected override async Task ActAsync(IActionHost host)
 {
     await host.OnePlayer(host.GetPlayerToLeft(), target =>
     {
         foreach (var card in target.Examine(Zone.DeckTop(2)))
         {
             target.Discard(card, Zone.Deck);
             if (card.Types.Contains(CardType.Action))
             {
                 host.AddActions(2);
             }
             if (card.Types.Contains(CardType.Treasure))
             {
                 host.AddCoins(2);
             }
             if (card.Types.Contains(CardType.Victory))
             {
                 host.DrawCards(2);
             }
         }
     });
 }
예제 #2
0
 protected override void Act(IActionHost host)
 {
     host.InsertExtraTurn(host.GetPlayerToLeft(), host.Player);
 }