forked from External/mage
[ZNR] Implemented Practiced Tactics
This commit is contained in:
parent
a72fa79007
commit
719fa9a978
2 changed files with 40 additions and 0 deletions
39
Mage.Sets/src/mage/cards/p/PracticedTactics.java
Normal file
39
Mage.Sets/src/mage/cards/p/PracticedTactics.java
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
package mage.cards.p;
|
||||
|
||||
import mage.abilities.dynamicvalue.DynamicValue;
|
||||
import mage.abilities.dynamicvalue.MultipliedValue;
|
||||
import mage.abilities.dynamicvalue.common.PartyCount;
|
||||
import mage.abilities.effects.common.DamageTargetEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.target.common.TargetAttackingOrBlockingCreature;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class PracticedTactics extends CardImpl {
|
||||
|
||||
private static final DynamicValue xValue = new MultipliedValue(PartyCount.instance, 2);
|
||||
|
||||
public PracticedTactics(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{W}");
|
||||
|
||||
// Choose target attacking or blocking creature. Practiced Tactics deals damage to that creature equal to twice the number of creatures in your party.
|
||||
this.getSpellAbility().addEffect(new DamageTargetEffect(xValue)
|
||||
.setText("choose target attacking or blocking creature. " +
|
||||
"{this} deals damage to that creature equal to twice the number of creatures in your party"));
|
||||
this.getSpellAbility().addTarget(new TargetAttackingOrBlockingCreature());
|
||||
}
|
||||
|
||||
private PracticedTactics(final PracticedTactics card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PracticedTactics copy() {
|
||||
return new PracticedTactics(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -190,6 +190,7 @@ public final class ZendikarRising extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Pelakka Predation", 120, Rarity.UNCOMMON, mage.cards.p.PelakkaPredation.class));
|
||||
cards.add(new SetCardInfo("Pillarverge Pathway", 263, Rarity.RARE, mage.cards.p.PillarvergePathway.class));
|
||||
cards.add(new SetCardInfo("Plains", 266, Rarity.LAND, mage.cards.basiclands.Plains.class, FULL_ART_BFZ_VARIOUS));
|
||||
cards.add(new SetCardInfo("Practiced Tactics", 32, Rarity.COMMON, mage.cards.p.PracticedTactics.class));
|
||||
cards.add(new SetCardInfo("Prowling Felidar", 34, Rarity.COMMON, mage.cards.p.ProwlingFelidar.class));
|
||||
cards.add(new SetCardInfo("Rabid Bite", 199, Rarity.COMMON, mage.cards.r.RabidBite.class));
|
||||
cards.add(new SetCardInfo("Ravager's Mace", 235, Rarity.UNCOMMON, mage.cards.r.RavagersMace.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue