示例#1
0
    static async Task <PowerCard> DawCardAndActivateAtMax(TargetSpaceCtx ctx)
    {
        // Discard Minor Powers from the deck until you get one that targets a land.
        PowerCard card = DiscardMinorPowersUntilYouTargetLand(ctx);

        // Show to the user what card is being triggered
        await ctx.Self.SelectFactory("Perform All Action at Max", new IActionFactory[] { card });

        // Use immediately. All 'up to' instructions must be used at max and 'OR's treated as 'AND's "
        await card.InvokeOn(new LetsSeeWhatHappensCtx( ctx ));

        return(card);
    }