Examples of TargetAttackingCreature


Examples of mage.target.common.TargetAttackingCreature

        this.subtype.add("Shaman");
        this.color.setRed(true);
        this.power = new MageInt(1);
        this.toughness = new MageInt(1);
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(new PermanentsOnBattlefieldCount(filter), true), new TapSourceCost());
        ability.addTarget(new TargetAttackingCreature());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.target.common.TargetAttackingCreature

        // Order
        // Exile target attacking creature.
        getLeftHalfCard().getColor().setWhite(true);
        getLeftHalfCard().getSpellAbility().addEffect(new ExileTargetEffect());
        Target target = new TargetAttackingCreature();
        getLeftHalfCard().getSpellAbility().addTarget(target);

        // Chaos
        // Creatures can't block this turn.
        getRightHalfCard().getColor().setRed(true);
View Full Code Here

Examples of mage.target.common.TargetAttackingCreature

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

        // {W}{W}: Target attacking creature gets -1/-0 until end of turn.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostTargetEffect(-1, 0, Duration.EndOfTurn), new ManaCostsImpl("{W}{W}"));
        ability.addTarget(new TargetAttackingCreature());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.target.common.TargetAttackingCreature

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

        // {2}{W}: The next time target attacking creature would deal combat damage to Shield Dancer this turn, that creature deals that damage to itself instead.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new ShieldDancerRedirectionEffect(), new ManaCostsImpl("{2}{W}"));
        ability.addTarget(new TargetAttackingCreature());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.target.common.TargetAttackingCreature

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

        // Whenever Bazaar Krovod attacks, another target attacking creature gets +0/+2 until end of turn. Untap that creature.
        Ability ability = new AttacksTriggeredAbility(new BazaarKrovodEffect(), false);
        ability.addTarget(new TargetAttackingCreature(1, 1, filter, false));
        this.addAbility(ability);
    }
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.