Package mage.abilities.common

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


        this.power = new MageInt(2);
        this.toughness = new MageInt(2);
       
        // Whenever Elite Javelineer blocks, it deals 1 damage to target attacking creature.
        Ability ability = new BlocksTriggeredAbility(new DamageTargetEffect(1), false);
        ability.addTarget(new TargetCreaturePermanent(new FilterAttackingCreature()));
        this.addAbility(ability);
    }

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