Package mage.abilities.common

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


        this.color.setRed(true);

        // Whenever a Human enters the battlefield under your control, Vigilante Justice deals 1 damage to target creature or player.
        Ability ability = new CreatureEntersBattlefieldTriggeredAbility(Zone.BATTLEFIELD, new DamageTargetEffect(1), filter, false, false);
        ability.addTarget(new TargetCreatureOrPlayer());
        this.addAbility(ability);
    }

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