Package mage.abilities.keyword

Examples of mage.abilities.keyword.HauntAbility


        // Flying
        this.addAbility(FlyingAbility.getInstance());
        // Haunt
        // When Graven Dominator enters the battlefield or the creature it haunts dies, each other creature has base power and toughness 1/1 until end of turn.
        Ability ability = new HauntAbility(this, new SetPowerToughnessAllEffect(1,1, Duration.EndOfTurn, filter, true));
        this.addAbility(ability);

    }
View Full Code Here


        this.power = new MageInt(1);
        this.toughness = new MageInt(1);

        // Haunt
        // When Orzhov Pontiff enters the battlefield or the creature it haunts dies, choose one - Creatures you control get +1/+1 until end of turn; or creatures you don't control get -1/-1 until end of turn.
        Ability ability = new HauntAbility(this, new BoostAllEffect(1,1, Duration.EndOfTurn, filterControlled, false));
        Mode mode = new Mode();
        mode.getEffects().add(new BoostAllEffect(-1,-1, Duration.EndOfTurn, filterNotControlled, false));
        ability.addMode(mode);
        this.addAbility(ability);

    }
View Full Code Here

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

        // 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);
    }
View Full Code Here

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

        // Haunt
        // When Belfry Spirit enters the battlefield or the creature it haunts dies, put two 1/1 black Bat creature tokens with flying onto the battlefield.
        Ability ability = new HauntAbility(this, new CreateTokenEffect(new BatToken(), 2));
        this.addAbility(ability);
    }
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.power = new MageInt(3);
        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);

    }
View Full Code Here

        this.power = new MageInt(2);
        this.toughness = new MageInt(2);

        // 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);
    }
View Full Code Here

TOP

Related Classes of mage.abilities.keyword.HauntAbility

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.