Package mage.abilities.effects.common

Examples of mage.abilities.effects.common.ReturnFromGraveyardToBattlefieldTargetEffect


        this.toughness = new MageInt(4);

        // Flying
        this.addAbility(FlyingAbility.getInstance());
        // When Bladewing the Risen enters the battlefield, you may return target Dragon permanent card from your graveyard to the battlefield.
        Ability ability = new EntersBattlefieldTriggeredAbility(new ReturnFromGraveyardToBattlefieldTargetEffect(), true);
        Target target = new TargetCardInYourGraveyard(filterCard);
        ability.addTarget(target);
         this.addAbility(ability);
        // {B}{R}: Dragon creatures get +1/+1 until end of turn.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostAllEffect(1,1, Duration.EndOfTurn, filter, false), new ManaCostsImpl("{B}{R}")));
View Full Code Here


        // Flying
        this.addAbility(FlyingAbility.getInstance());
        // Whenever Teneb, the Harvester deals combat damage to a player, you may pay {2}{B}. If you do, put target creature card from a graveyard onto the battlefield under your control.
        Ability ability = new DealsCombatDamageToAPlayerTriggeredAbility(
                new DoIfCostPaid(new ReturnFromGraveyardToBattlefieldTargetEffect(), new ManaCostsImpl("{2}{B}")), false);
        Target target = new TargetCardInGraveyard(new FilterCreatureCard("creature card from a graveyard"));
        ability.addTarget(target);
        this.addAbility(ability);
    }
View Full Code Here

        this.expansionSetCode = "M10";
        this.color.setBlack(true);

        // Put target creature card from a graveyard onto the battlefield under your control. That creature is a black Zombie in addition to its other colors and types.
        this.getSpellAbility().addTarget(new TargetCardInGraveyard(new FilterCreatureCard("creature card from a graveyard")));
        this.getSpellAbility().addEffect(new ReturnFromGraveyardToBattlefieldTargetEffect());
        this.getSpellAbility().addEffect(new RiseFromTheGraveEffect());
    }
View Full Code Here

    public SunTitanAbility() {
        super(Zone.BATTLEFIELD, null, true);
        Target target = new TargetCardInYourGraveyard(filter);
        this.addTarget(target);
        this.addEffect(new ReturnFromGraveyardToBattlefieldTargetEffect());
    }
View Full Code Here

TOP

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

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.