Example #1
0
 public async Task ChooseSetToDeckTop(List <Card> targets, int min, int max, Skill reason, Request.RequestFlags flags = Request.RequestFlags.Null)
 {
     if (targets.Count > 0)
     {
         Game.TryDoMessage(new SetToDeckTopMessage()
         {
             Targets = await Request.Choose(targets, min, max, this, flags),
             Reason  = reason
         });
     }
 }
Example #2
0
 public async Task ChooseAddToHand(List <Card> targets, int min, int max, Skill reason, bool show = true, Request.RequestFlags flags = Request.RequestFlags.Null)
 {
     AddToHand(await Request.Choose(targets, min, max, this, flags), reason, show);
 }