Package mage.abilities.effects.common

Examples of mage.abilities.effects.common.CounterTargetWithReplacementEffect


        this.color.setBlue(true);

        // Affinity for artifacts
        this.addAbility(new AffinityForArtifactsAbility());
        // Counter target spell. If that spell is countered this way, exile it instead of putting it into its owner's graveyard.
        this.getSpellAbility().addEffect(new CounterTargetWithReplacementEffect(Zone.EXILED));
        this.getSpellAbility().addTarget(new TargetSpell());
    }
View Full Code Here


        this.expansionSetCode = "7ED";

        this.color.setBlue(true);

        // Counter target spell. If that spell is countered this way, put it on top of its owner's library instead of into that player's graveyard.
        this.getSpellAbility().addEffect(new CounterTargetWithReplacementEffect(Zone.LIBRARY, true));
        this.getSpellAbility().addTarget(new TargetSpell());
    }
View Full Code Here

        this.expansionSetCode = "ISD";

        this.color.setBlue(true);

        // Counter target spell. If that spell is countered this way, exile it instead of putting it into its owner's graveyard.
        this.getSpellAbility().addEffect(new CounterTargetWithReplacementEffect(Zone.EXILED));
        this.getSpellAbility().addTarget(new TargetSpell());
    }
View Full Code Here

        this.expansionSetCode = "CON";

        this.color.setWhite(true);

        // Counter target spell. If that spell is countered this way, put it on top of its owner's library instead of into that player's graveyard.
        this.getSpellAbility().addEffect(new CounterTargetWithReplacementEffect(Zone.LIBRARY, true));
        this.getSpellAbility().addTarget(new TargetSpell());
    }
View Full Code Here

        this.expansionSetCode = "RAV";

        this.color.setBlue(true);

        // Counter target spell. If that spell is countered this way, put it into its owner's hand instead of into that player's graveyard.
        this.getSpellAbility().addEffect(new CounterTargetWithReplacementEffect(Zone.HAND));
        this.getSpellAbility().addTarget(new TargetSpell());
        // Draw a card.
        this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1));
    }
View Full Code Here

        this.subtype.add("Faerie");

        this.color.setBlue(true);

        // Counter target non-Faerie spell. If that spell is countered this way, exile it instead of putting it into its owner's graveyard.
        this.getSpellAbility().addEffect(new CounterTargetWithReplacementEffect(Zone.EXILED));
        this.getSpellAbility().addTarget(new TargetSpell(filter));
    }
View Full Code Here

TOP

Related Classes of mage.abilities.effects.common.CounterTargetWithReplacementEffect

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.