Package mage.target.common

Examples of mage.target.common.TargetAttackingOrBlockingCreature


        this.toughness = new MageInt(3);

        // {R}{W}, {tap}: Sacellum Archers deals 2 damage to target attacking or blocking creature.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(2), new ManaCostsImpl("{R}{W}"));
        ability.addCost(new TapSourceCost());
        ability.addTarget(new TargetAttackingOrBlockingCreature());
        this.addAbility(ability);
    }
View Full Code Here


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

        // Sacrifice Duergar Assailant: Duergar Assailant deals 1 damage to target attacking or blocking creature.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(1), new SacrificeSourceCost());
        ability.addTarget(new TargetAttackingOrBlockingCreature());
        this.addAbility(ability);
       
    }
View Full Code Here

        this.expansionSetCode = "DKA";

        this.color.setRed(true);

        // Burning Oil deals 3 damage to target attacking or blocking creature.
        this.getSpellAbility().addTarget(new TargetAttackingOrBlockingCreature());
        this.getSpellAbility().addEffect(new DamageTargetEffect(3));
        // Flashback {3}{W}
        this.addAbility(new FlashbackAbility(new ManaCostsImpl("{3}{W}"), TimingRule.INSTANT));
    }
View Full Code Here

        this.addAbility(FlashAbility.getInstance());
        this.addAbility(FlyingAbility.getInstance());
        // When Hollowhenge Spirit enters the battlefield, remove target attacking or blocking creature from combat.
        Ability ability = new EntersBattlefieldTriggeredAbility(new RemoveFromCombatTargetEffect());
        Target target = new TargetAttackingOrBlockingCreature();
        ability.addTarget(target);
        this.addAbility(ability);

    }
View Full Code Here

        this.toughness = new MageInt(3);

        // {2}{W}, {tap}: Arbalest Elite deals 3 damage to target attacking or blocking creature. Arbalest Elite doesn't untap during your next untap step.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(3), new ManaCostsImpl("{2}{W}"));
        ability.addCost(new TapSourceCost());
        ability.addTarget(new TargetAttackingOrBlockingCreature());
        ability.addEffect(new SkipNextUntapSourceEffect());
        this.addAbility(ability);
    }
View Full Code Here

        this.power = new MageInt(1);
        this.toughness = new MageInt(1);
        this.addAbility(new BushidoAbility(1));
        // {tap}: Takeno's Cavalry deals 1 damage to target attacking or blocking Spirit.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(1), new TapSourceCost());
        ability.addTarget(new TargetAttackingOrBlockingCreature(1, 1, filter, false));
        this.addAbility(ability);
    }
View Full Code Here

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

        // {tap}: Crossbow Infantry deals 1 damage to target attacking or blocking creature.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(1), new TapSourceCost());
        ability.addTarget(new TargetAttackingOrBlockingCreature());
        this.addAbility(ability);
    }
View Full Code Here

        // Reach
        this.addAbility(ReachAbility.getInstance());
        // {tap}, Sacrifice Skyshooter: Destroy target attacking or blocking creature with flying.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new TapSourceCost());
        ability.addTarget(new TargetAttackingOrBlockingCreature(1,1, filter, false));
        this.addAbility(ability);

    }
View Full Code Here

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

        // {tap}: Elite Archers deals 3 damage to target attacking or blocking creature.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(3), new TapSourceCost());
        ability.addTarget(new TargetAttackingOrBlockingCreature());
        this.addAbility(ability);
    }
View Full Code Here

       
        // {2}{W}, {tap}: Aven Archer deals 2 damage to target attacking or blocking creature.
       
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(2), new ManaCostsImpl("{2}{W}"));
    ability.addCost(new TapSourceCost());
    ability.addTarget(new TargetAttackingOrBlockingCreature());
    this.addAbility(ability);
    }
View Full Code Here

TOP

Related Classes of mage.target.common.TargetAttackingOrBlockingCreature

Copyright © 2018 www.massapicom. 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.