コード例 #1
0
    static public async Task ActAsync(TargetSpaceCtx ctx)
    {
        // Dahan have +4 health while in target land.
        await DahanHelper.BoostDahanHealthForRound(ctx, 4);

        // whenever blight would be added to target land, instead leave it on the card
        ctx.Blight.Blocked = true;

        if (await ctx.YouHave("4 earth"))
        {
            // Dahan ignore damage and destruction effects.
            ctx.ModifyRavage(cfg => { cfg.ShouldDamageDahan = false; });               // !!! this only stops dahan destruction during RAVAGE.  Needs to protect from power cards too.
            // Remove 1 blight from target or adjacent
            await RemoveBlightFromLandOrAdjacent(ctx);
        }
    }
コード例 #2
0
    static public async Task ActAsync(TargetSpaceCtx ctx)
    {
        await ctx.GatherUpToNDahan(2);

        await DahanHelper.BoostDahanHealthForRound(ctx, 2);
    }