Package mage.abilities.keyword

Examples of mage.abilities.keyword.BattalionAbility.addTarget()


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

        // Battalion — Whenever Firefist Striker and at least two other creatures attack, target creature can't block this turn.
        Ability ability = new BattalionAbility(new CantBlockTargetEffect(Duration.EndOfTurn));
        ability.addTarget(new TargetCreaturePermanent());
        this.addAbility(ability);
    }

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


        // Flying
        this.addAbility(FlyingAbility.getInstance());

        // Battalion - Whenever Firemane Avenger and at least two other creatures attack, Firemane Avenger deals 3 damage to target creature or player and you gain 3 life.
        Ability ability = new BattalionAbility(new DamageTargetEffect(3));
        ability.addTarget(new TargetCreatureOrPlayer());
        ability.addEffect(new GainLifeEffect(3));
        this.addAbility(ability);
    }

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

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

        // Battalion - Whenever Bomber Corps and at least two other creatures attack, Bomber Corps deals 1 damage to target creature or player.
        Ability ability = new BattalionAbility(new DamageTargetEffect(1));
        ability.addTarget(new TargetCreatureOrPlayer());
        this.addAbility(ability);
    }

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