Examples of DestroyTargetEffect


Examples of mage.abilities.effects.common.DestroyTargetEffect

    public TurnToDust(UUID ownerId) {
        super(ownerId, 137, "Turn to Dust", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{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, 1, 0, 0, 0, 0, 0)));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DestroyTargetEffect

  public Plummet(UUID ownerId) {
    super(ownerId, 190, "Plummet", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{1}{G}");
    this.expansionSetCode = "M11";
    this.color.setGreen(true);
    this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter));
    this.getSpellAbility().addEffect(new DestroyTargetEffect());
  }
View Full Code Here

Examples of mage.abilities.effects.common.DestroyTargetEffect

    this.subtype.add("Cleric");
    this.color.setWhite(true);
    this.power = new MageInt(2);
    this.toughness = new MageInt(2);

    Ability ability = new EntersBattlefieldTriggeredAbility(new DestroyTargetEffect(), false);
    Target target = new TargetPermanent(filter);
    target.setRequired(true);
    ability.addTarget(target);
    this.addAbility(ability);
  }
View Full Code Here

Examples of mage.abilities.effects.common.DestroyTargetEffect

        this.expansionSetCode = "NPH";

        this.color.setGreen(true);

        this.getSpellAbility().addTarget(new TargetPermanent());
        this.getSpellAbility().addEffect(new DestroyTargetEffect());
        this.getSpellAbility().addEffect(new BeastWithinEffect());
    }
View Full Code Here

Examples of mage.abilities.effects.common.DestroyTargetEffect

        this.color.setBlack(true);

        // Target creature gets -1/-1 until end of turn. If it's a Cyclops, destroy it.
        this.getSpellAbility().addEffect(new BoostTargetEffect(-1,-1, Duration.EndOfTurn));
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());
        Effect effect = new ConditionalOneShotEffect(new DestroyTargetEffect(), new TargetHasSubtypeCondition("Cyclops"),
                "If it's a Cyclops, destroy it");
        this.getSpellAbility().addEffect(effect);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DestroyTargetEffect

}

class TrygonPredatorTriggeredAbility extends TriggeredAbilityImpl {

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

Examples of mage.abilities.effects.common.DestroyTargetEffect

    public FissureVent(UUID ownerId) {
        super(ownerId, 144, "Fissure Vent", Rarity.COMMON, new CardType[]{CardType.SORCERY}, "{3}{R}{R}");
        this.expansionSetCode = "ROE";
        this.color.setRed(true);
        this.getSpellAbility().addTarget(new TargetArtifactPermanent());
        this.getSpellAbility().addEffect(new DestroyTargetEffect());
        Mode mode1 = new Mode();
        mode1.getTargets().add(new TargetNonBasicLandPermanent());
        mode1.getEffects().add(new DestroyTargetEffect());
        this.getSpellAbility().addMode(mode1);
        Mode mode2 = new Mode();
        mode2.getTargets().add(new TargetArtifactPermanent());
        mode2.getTargets().add(new TargetNonBasicLandPermanent());
        mode2.getEffects().add(new DestroyMultiTargetEffect());
View Full Code Here

Examples of mage.abilities.effects.common.DestroyTargetEffect

        this.toughness = new MageInt(2);

        // Morph {1}{G}
        this.addAbility(new MorphAbility(this,new ManaCostsImpl("{1}{G}")));
        // When Nantuko Vigilante is turned face up, destroy target artifact or enchantment.
        Ability ability = new TurnedFaceUpSourceTriggeredAbility(new DestroyTargetEffect());
        ability.addTarget(new TargetPermanent(filter));
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DestroyTargetEffect

        this.color.setWhite(true);

        // Destroy target blocked creature.
        this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter));
        this.getSpellAbility().addEffect(new DestroyTargetEffect(false));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DestroyTargetEffect

class HighPriestOfPenanceTriggeredAbility extends TriggeredAbilityImpl {


    public HighPriestOfPenanceTriggeredAbility() {
        super(Zone.BATTLEFIELD, new DestroyTargetEffect(), true);
        this.addTarget(new TargetNonlandPermanent());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.