Package mage.abilities.effects.common

Examples of mage.abilities.effects.common.DestroyTargetEffect


        this.subtype.add("Knight");
        this.color.setBlue(true);
        this.power = new MageInt(4);
        this.toughness = new MageInt(4);
        this.addAbility(FlyingAbility.getInstance());
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new ManaCostsImpl("{1}{W}{B}"));
        ability.addCost(new TapSourceCost());
        ability.addTarget(new TargetControlledPermanent(filter));
        this.addAbility(ability);
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new UntapSourceEffect(), new ManaCostsImpl("{2}{U}")));
    }
View Full Code Here


  public Demolish(UUID ownerId) {
    super(ownerId, 196, "Demolish", Rarity.COMMON, new CardType[]{CardType.SORCERY}, "{3}{R}");
    this.expansionSetCode = "10E";
    this.color.setRed(true);
    this.getSpellAbility().addTarget(new TargetPermanent(filter));
    this.getSpellAbility().addEffect(new DestroyTargetEffect());
  }
View Full Code Here

  public Deathmark(UUID ownerId) {
    super(ownerId, 134, "Deathmark", Rarity.UNCOMMON, new CardType[]{CardType.SORCERY}, "{B}");
    this.expansionSetCode = "10E";
    this.color.setBlack(true);
    this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter));
    this.getSpellAbility().addEffect(new DestroyTargetEffect());
  }
View Full Code Here

        this.color.setBlack(true);

        // Destroy target nonblack creature. Its controller loses 2 life.
        this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter));
        this.getSpellAbility().addEffect(new DestroyTargetEffect());
        this.getSpellAbility().addEffect(new LoseLifeTargetControllerEffect(2));
    }
View Full Code Here

        // If exactly one creature is attacking, you may pay {W} rather than pay Pitfall Trap's mana cost.
        this.getSpellAbility().addAlternativeCost(new PitfallTrapAlternativeCost());
       
        // Destroy target attacking creature without flying.
        this.getSpellAbility().addEffect(new DestroyTargetEffect());
        this.getSpellAbility().addTarget(new TargetAttackingCreature(1, 1, filter, false));
    }
View Full Code Here

        this.color.setBlack(true);
        this.power = new MageInt(6);
        this.toughness = new MageInt(3);

        this.addAbility(IntimidateAbility.getInstance());
        Ability ability = new EntersBattlefieldTriggeredAbility(new DestroyTargetEffect());
        ability.addTarget(new TargetCreaturePermanent(filter));
        this.addAbility(ability);
    }
View Full Code Here

        // Haste
        this.addAbility(HasteAbility.getInstance());

        // When Goblin Ruinblaster enters the battlefield, if it was kicked, destroy target nonbasic land.
        EntersBattlefieldTriggeredAbility ability = new EntersBattlefieldTriggeredAbility(new DestroyTargetEffect(), false);
        ability.addTarget(new TargetNonBasicLandPermanent());
        this.addAbility(new ConditionalTriggeredAbility(ability, KickedCondition.getInstance(), "When {this} enters the battlefield, if it was kicked, destroy target nonbasic land."));
    }
View Full Code Here

        this.color.setBlack(true);

        // Destroy target land. Its controller discards a card.
        this.getSpellAbility().addTarget(new TargetLandPermanent());
        this.getSpellAbility().addEffect(new DestroyTargetEffect());
        this.getSpellAbility().addEffect(new DesecratedEarthEffect());

    }
View Full Code Here

        // Flying
        this.addAbility(FlyingAbility.getInstance());

        // When Heartstabber Mosquito enters the battlefield, if it was kicked, destroy target creature.
        EntersBattlefieldTriggeredAbility ability = new EntersBattlefieldTriggeredAbility(new DestroyTargetEffect(), false);
        ability.addTarget(new TargetCreaturePermanent());
        this.addAbility(new ConditionalTriggeredAbility(ability, KickedCondition.getInstance(), "When {this} enters the battlefield, if it was kicked, destroy target creature."));
    }
View Full Code Here

}

class MireBlightTriggeredAbility extends TriggeredAbilityImpl {

    public MireBlightTriggeredAbility() {
        super(Zone.BATTLEFIELD, new DestroyTargetEffect());
    }
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.