Package mage.abilities.common

Examples of mage.abilities.common.BeginningOfYourEndStepTriggeredAbility.addTarget()


        this.expansionSetCode = "AVR";

        // At the beginning of your end step, you may exile target creature you control, then return that card to the battlefield under your control.
        Ability ability = new BeginningOfYourEndStepTriggeredAbility(new ExileTargetForSourceEffect("Conjurer's Closet Exile"), true);
        ability.addEffect(new ReturnToBattlefieldUnderYourControlTargetEffect());
        ability.addTarget(new TargetControlledCreaturePermanent());
        this.addAbility(ability);
    }

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


        this.power = new MageInt(1);
        this.toughness = new MageInt(6);
        this.addAbility(DefenderAbility.getInstance());
        this.addAbility(FlyingAbility.getInstance());
        Ability ability = new BeginningOfYourEndStepTriggeredAbility(new WallOfReverenceTriggeredEffect(), true);
        ability.addTarget(new TargetControlledCreaturePermanent());
        this.addAbility(ability);
    }

    public WallOfReverence (final WallOfReverence 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.