Package mage.abilities.effects.common.discard

Examples of mage.abilities.effects.common.discard.DiscardControllerEffect


        this.addAbility(new EntersBattlefieldAbility(new AddCountersSourceEffect(CounterType.LOYALTY.createInstance(2)), false));

        // +1: Draw a card, then discard a card at random.
        LoyaltyAbility ability = new LoyaltyAbility(new DrawCardSourceControllerEffect(1), 1);
        Effect effect = new DiscardControllerEffect(1, true);
        effect.setText(", then discard a card at random");
        ability.addEffect(effect);
        this.addAbility(ability);
        // -4: Tibalt, the Fiend-Blooded deals damage equal to the number of cards in target player's hand to that player.
        effect = new DamageTargetEffect(new CardsInTargetHandCount(), true);
        effect.setText("{this} deals damage equal to the number of cards in target player's hand to that player");
        ability = new LoyaltyAbility(effect, -4);
        ability.addTarget(new TargetPlayer());
        this.addAbility(ability);
        // -6: Gain control of all creatures until end of turn. Untap them. They gain haste until end of turn.
        this.addAbility(new LoyaltyAbility(new TibaltTheFiendBloodedThirdEffect(), -6));
View Full Code Here

TOP

Related Classes of mage.abilities.effects.common.discard.DiscardControllerEffect

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.