Package mage.abilities.keyword

Examples of mage.abilities.keyword.HauntAbility.addTarget()


        // Haunt (When this creature dies, exile it haunting target creature.)
        // When Absolver Thrull enters the battlefield or the creature it haunts dies, destroy target enchantment.
        Ability ability = new HauntAbility(this, new DestroyTargetEffect());
        Target target = new TargetPermanent(new FilterEnchantmentPermanent());
        ability.addTarget(target);
        this.addAbility(ability);
    }

    public AbsolverThrull(final AbsolverThrull card) {
        super(card);
View Full Code Here


        // Flying
        this.addAbility(FlyingAbility.getInstance());
        // Haunt
        // When Blind Hunter enters the battlefield or the creature it haunts dies, target player loses 2 life and you gain 2 life.
        Ability ability = new HauntAbility(this, new LoseLifeTargetEffect(2));
        ability.addTarget(new TargetPlayer());
        ability.addEffect(new GainLifeEffect(2));
        this.addAbility(ability);

    }
View Full Code Here

        this.toughness = new MageInt(3);

        // Haunt
        // When Exhumer Thrull enters the battlefield or the creature it haunts dies, return target creature card from your graveyard to your hand.
        Ability ability = new HauntAbility(this, new ReturnToHandTargetEffect());
        ability.addTarget(new TargetCardInYourGraveyard(new FilterCreatureCard("target creature card from your graveyard")));
        this.addAbility(ability);

    }

    public ExhumerThrull(final ExhumerThrull card) {
View Full Code Here

        // Haunt
        // When Orzhov Euthanist enters the battlefield or the creature it haunts dies, destroy target creature that was dealt damage this turn.
        Ability ability = new HauntAbility(this, new DestroyTargetEffect());
        Target target = new TargetCreaturePermanent(filter);
        ability.addTarget(target);
        this.addAbility(ability);
    }

    public OrzhovEuthanist(final OrzhovEuthanist card) {
        super(card);
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.