Package mage.abilities.common

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


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

        // When Undead Executioner dies, you may have target creature get -2/-2 until end of turn.
        Ability ability = new DiesTriggeredAbility(new BoostTargetEffect(-2, -2, Duration.EndOfTurn), true);
        ability.addTarget(new TargetCreaturePermanent());
        this.addAbility(ability);
    }

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