Package mage.abilities.common

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


        // Flying
        this.addAbility(FlyingAbility.getInstance());
        // When Ashen Rider enters the battlefield or dies, exile target permanent.
        Ability ability = new EntersBattlefieldOrDiesSourceTriggeredAbility(new ExileTargetEffect(), false);
        ability.addTarget(new TargetPermanent());
        this.addAbility(ability);
    }

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


        this.toughness = new MageInt(2);

        this.addAbility(new EchoAbility("{2}{G}"));
        // When Hunting Moa enters the battlefield or dies, put a +1/+1 counter on target creature.
        Ability enterAbility = new EntersBattlefieldOrDiesSourceTriggeredAbility(new AddCountersTargetEffect(CounterType.P1P1.createInstance()), false);
        enterAbility.addTarget(new TargetCreaturePermanent());
        this.addAbility(enterAbility);
    }

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