Examples of TargetAttackingOrBlockingCreature


Examples of mage.target.common.TargetAttackingOrBlockingCreature

        this.color.setRed(true);
        this.color.setWhite(true);

        // Arrows of Justice deals 4 damage to target attacking or blocking creature.
        getSpellAbility().addEffect(new DamageTargetEffect(4));
        getSpellAbility().addTarget(new TargetAttackingOrBlockingCreature());
    }
View Full Code Here

Examples of mage.target.common.TargetAttackingOrBlockingCreature

        this.color.setWhite(true);

        // Prevent all damage target attacking or blocking creature would deal this turn. If that creature is black or red, destroy it.
        this.getSpellAbility().addEffect(new InquisitorsSnareEffect());
        Target target = new TargetAttackingOrBlockingCreature();
        this.getSpellAbility().addTarget(target);

    }
View Full Code Here

Examples of mage.target.common.TargetAttackingOrBlockingCreature

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

        // {tap}: D'Avenant Archer 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

Examples of mage.target.common.TargetAttackingOrBlockingCreature

        this.toughness = new MageInt(2);

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

Examples of mage.target.common.TargetAttackingOrBlockingCreature

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

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

Examples of mage.target.common.TargetAttackingOrBlockingCreature

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

Examples of mage.target.common.TargetAttackingOrBlockingCreature

        this.color.setWhite(true);
        this.power = new MageInt(2);
        this.toughness = new MageInt(2);
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(new PermanentsOnBattlefieldCount(filter)), new ColoredManaCost(ColoredManaSymbol.W));
        ability.addCost(new TapSourceCost());
        ability.addTarget(new TargetAttackingOrBlockingCreature());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.target.common.TargetAttackingOrBlockingCreature

        mode.getEffects().add(new DrawCardSourceControllerEffect(1));
        this.getSpellAbility().addMode(mode);

        // or put target attacking or blocking creature on top of its owner's library.
        mode = new Mode();
        mode.getTargets().add(new TargetAttackingOrBlockingCreature());
        mode.getEffects().add(new PutOnLibraryTargetEffect(true));
        this.getSpellAbility().addMode(mode);
    }
View Full Code Here

Examples of mage.target.common.TargetAttackingOrBlockingCreature

        super(ownerId, 32, "Neck Snap", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{3}{W}");
        this.expansionSetCode = "LRW";
        this.color.setWhite(true);
        // Destroy target attacking or blocking creature.
        this.getSpellAbility().addEffect(new DestroyTargetEffect());
        this.getSpellAbility().addTarget(new TargetAttackingOrBlockingCreature());
    }
View Full Code Here

Examples of mage.target.common.TargetAttackingOrBlockingCreature

        // Convoke
        this.addAbility(new ConvokeAbility());
        // Exile target attacking or blocking creature.
        this.getSpellAbility().addEffect(new ExileTargetEffect());
        this.getSpellAbility().addTarget(new TargetAttackingOrBlockingCreature());
    }
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.