Example #1
0
        static async Task effect(THHGame game, Card card)
        {
            await game.getAllServants().silence(game);

            await card.getOwner().createToken(game, game.getCardDefine <FloodElement>());

            await Patchouli.tryMix(game, card);
        }
Example #2
0
 static async Task effect(THHGame game, Card card)
 {
     for (int i = 0; i < 2; i++)
     {
         await card.getOwner().createToken(game, game.getCardDefine <LavaElement>());
     }
     await Patchouli.tryMix(game, card);
 }
Example #3
0
        static async Task effect(THHGame game, Card card)
        {
            THHPlayer opponent = game.getOpponent(card.getOwner());

            for (int i = 0; i < opponent.field.count; i++)
            {
                await card.getOwner().createToken(game, game.getCardDefine <DustElement>());
            }
            await Patchouli.tryMix(game, card);
        }
Example #4
0
        static async Task effect(THHGame game, Card card)
        {
            THHPlayer opponent = game.getOpponent(card.getOwner());

            if (opponent.field.count > 0)
            {
                return;
            }
            await opponent.field.randomTake(game, 1).damage(game, card, 2);

            await Patchouli.tryMix(game, card);
        }
Example #5
0
        static async Task effect(THHGame game, Card card)
        {
            THHPlayer player   = card.getOwner();
            THHPlayer opponent = game.getOpponent(player);
            await opponent.field.damage(game, card, player.getSpellDamage(game, 2));

            foreach (Card target in opponent.field)
            {
                if (target.isDead(game))
                {
                    if (player.field.count > 0)
                    {
                        await player.field.random(game).addBuff(game, new GeneratedBuff(ID, new AttackModifier(1), new LifeModifier(1)));
                    }
                }
            }
            await Patchouli.tryMix(game, card);
        }
Example #6
0
        static async Task effect(THHGame game, Card card)
        {
            await card.getOwner().createToken(game, game.getCardDefine <GemSpear>(), card.getOwner().field.count);

            await Patchouli.tryMix(game, card);
        }
Example #7
0
        static async Task effect(THHGame game, Card card)
        {
            await game.getOpponent(card.getOwner()).field.random(game).damage(game, card, 2);

            await Patchouli.tryMix(game, card);
        }
Example #8
0
        static async Task effect(THHGame game, Card card)
        {
            await game.getOpponent(card.getOwner()).field.damage(game, card, card.getOwner().getSpellDamage(game, 3));

            await Patchouli.tryMix(game, card);
        }
Example #9
0
        static async Task effect(THHGame game, Card card)
        {
            await card.getOwner().createToken(game, game.getOpponent(card.getOwner()).field.count, game.getCardDefine <DustElement>());

            await Patchouli.tryMix(game, card);
        }
Example #10
0
        static async Task effect(THHGame game, Card card)
        {
            await game.getAllEnemies(card.getOwner()).damageByRandom(game, card, card.getOwner().getSpellDamage(game, 6));

            await Patchouli.tryMix(game, card);
        }