Package mage.abilities.common

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


        // Flying
        this.addAbility(FlyingAbility.getInstance());
        // Whenever Kapsho Kitefins or another creature enters the battlefield under your control, tap target creature an opponent controls.
        Ability ability = new EntersBattlefieldControlledTriggeredAbility(Zone.BATTLEFIELD, new TapTargetEffect(), filter,  false);
        ability.addTarget(new TargetCreaturePermanent(filterTarget));
        this.addAbility(ability);

    }

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


        // Other Scarecrow creatures you control get +1/+1.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostControlledEffect(1, 1, Duration.WhileOnBattlefield, filter, true)));
        // Whenever another Scarecrow enters the battlefield under your control, destroy target permanent.
        Ability ability = new EntersBattlefieldControlledTriggeredAbility(new DestroyTargetEffect(), filterTrigger);
        ability.addTarget(new TargetPermanent());
        this.addAbility(ability);

    }

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

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

        // Whenever another creature with power 5 or greater enters the battlefield under your control, you may return target creature card from your graveyard to your hand.
        Ability ability = new EntersBattlefieldControlledTriggeredAbility(Zone.BATTLEFIELD, new ReturnFromGraveyardToHandTargetEffect(), filter, true, rule);
        ability.addTarget(new TargetCardInYourGraveyard(new FilterCreatureCard()));
        this.addAbility(ability);
       
    }

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

        this.color.setGreen(true);
        this.color.setWhite(true);

        // Whenever a creature enters the battlefield under your control, you may destroy target artifact or enchantment.
        Ability ability = new EntersBattlefieldControlledTriggeredAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new FilterCreaturePermanent(), true, "Whenever a creature enters the battlefield under your control, you may destroy target artifact or enchantment");
        ability.addTarget(new TargetPermanent(filter));
        this.addAbility(ability);
    }

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

        this.color.setRed(true);

        // Whenever a creature with power 5 or greater enters the battlefield under your control, you may have Where Ancients Tread deal 5 damage to target creature or player.
        Ability ability = new EntersBattlefieldControlledTriggeredAbility(Zone.BATTLEFIELD, new DamageTargetEffect(5), filter, true);
        ability.addTarget(new TargetCreatureOrPlayer());
        this.addAbility(ability);
    }

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