Package mage.abilities.effects.common

Examples of mage.abilities.effects.common.DestroyTargetEffect


}

class ReaperFromTheAbyssAbility extends TriggeredAbilityImpl {

    public ReaperFromTheAbyssAbility() {
        super(Zone.BATTLEFIELD, new DestroyTargetEffect(), false);
    }
View Full Code Here


        this.color.setBlack(true);

        // Destroy target land. You gain 4 life.
        this.getSpellAbility().addTarget(new TargetLandPermanent());
        this.getSpellAbility().addEffect(new DestroyTargetEffect());
        this.getSpellAbility().addEffect(new GainLifeEffect(4));
    }
View Full Code Here

        this.expansionSetCode = "ISD";

        // {tap}: Add {1} to your mana pool.
        this.addAbility(new ColorlessManaAbility());
        // {tap}, Sacrifice Ghost Quarter: Destroy target land. Its controller may search his or her library for a basic land card, put it onto the battlefield, then shuffle his or her library.
        SimpleActivatedAbility ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new TapSourceCost());
        ability.addCost(new SacrificeSourceCost());
        ability.addTarget(new TargetLandPermanent());
        ability.addEffect(new GhostQuarterEffect());
        this.addAbility(ability);
    }
View Full Code Here

}

class GrimgrinCorpseBornAbility extends TriggeredAbilityImpl {

    public GrimgrinCorpseBornAbility() {
        super(Zone.BATTLEFIELD, new DestroyTargetEffect());
        this.addEffect(new AddCountersSourceEffect(CounterType.P1P1.createInstance()));
    }
View Full Code Here

        this.color.setRed(true);

        // Destroy target land. Into the Maw of Hell deals 13 damage to target creature.
        this.getSpellAbility().addTarget(new TargetLandPermanent());
        this.getSpellAbility().addEffect(new DestroyTargetEffect());
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());
        this.getSpellAbility().addEffect(new IntoTheMawOfHellEffect());
    }
View Full Code Here

        this.color.setWhite(true);
        this.power = new MageInt(3);
        this.toughness = new MageInt(2);

        // When Slayer of the Wicked enters the battlefield, you may destroy target Vampire, Werewolf, or Zombie.
        Ability ability = new EntersBattlefieldTriggeredAbility(new DestroyTargetEffect(), true);
        ability.addTarget(new TargetCreaturePermanent(filter));
        this.addAbility(ability);
    }
View Full Code Here

        this.color.setGreen(true);

        // Strive - Consign to Dust costs 2G more to cast for each target beyond the first.
        this.addAbility(new StriveAbility("{2}{G}"));
        // Destroy any number of target artifacts and/or enchantments.
        Effect effect = new DestroyTargetEffect();
        effect.setText("Destroy any number of target artifacts and/or enchantments");
        Target target = new TargetPermanent(0, Integer.MAX_VALUE, filter, false);
        this.getSpellAbility().addTarget(target);
        this.getSpellAbility().addEffect(effect);
    }
View Full Code Here

        this.color.setGreen(true);
        this.power = new MageInt(2);
        this.toughness = new MageInt(1);

        // When Reclamation Sage enters the battlefield, you may destroy target artifact or enchantment.
        Ability ability = new EntersBattlefieldTriggeredAbility(new DestroyTargetEffect(), true);
        ability.addTarget(new TargetPermanent(new FilterArtifactOrEnchantmentPermanent()));
        this.addAbility(ability);
    }
View Full Code Here

    public RainOfTears(UUID ownerId) {
        super(ownerId, 43, "Rain of Tears", Rarity.UNCOMMON, new CardType[]{CardType.SORCERY}, "{1}{B}{B}");
        this.expansionSetCode = "TMP";
        this.color.setBlack(true);
        this.getSpellAbility().addEffect(new DestroyTargetEffect());
        this.getSpellAbility().addTarget(new TargetLandPermanent());
    }
View Full Code Here

    public Deconstruct(UUID ownerId) {
        super(ownerId, 118, "Deconstruct", Rarity.COMMON, new CardType[]{CardType.SORCERY}, "{2}{G}");
        this.expansionSetCode = "MRD";
        this.color.setGreen(true);
        this.getSpellAbility().addEffect(new DestroyTargetEffect());
        this.getSpellAbility().addTarget(new TargetPermanent(filter));
        this.getSpellAbility().addEffect(new BasicManaEffect(new Mana(0, 3, 0, 0, 0, 0, 0)));
    }
View Full Code Here

TOP

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

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.