forked from External/mage
[TDM] Implement Coordinated Maneuver
This commit is contained in:
parent
ec3093e233
commit
b6cc4fd5a5
2 changed files with 44 additions and 0 deletions
43
Mage.Sets/src/mage/cards/c/CoordinatedManeuver.java
Normal file
43
Mage.Sets/src/mage/cards/c/CoordinatedManeuver.java
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
package mage.cards.c;
|
||||
|
||||
import mage.abilities.Mode;
|
||||
import mage.abilities.dynamicvalue.common.CreaturesYouControlCount;
|
||||
import mage.abilities.effects.common.DamageTargetEffect;
|
||||
import mage.abilities.effects.common.DestroyTargetEffect;
|
||||
import mage.abilities.hint.common.CreaturesYouControlHint;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.target.common.TargetCreatureOrPlaneswalker;
|
||||
import mage.target.common.TargetEnchantmentPermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class CoordinatedManeuver extends CardImpl {
|
||||
|
||||
public CoordinatedManeuver(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{W}");
|
||||
|
||||
// Choose one --
|
||||
// * Coordinated Maneuver deals damage equal to the number of creatures you control to target creature or planeswalker.
|
||||
this.getSpellAbility().addEffect(new DamageTargetEffect(CreaturesYouControlCount.instance)
|
||||
.setText("{this} deals damage equal to the number of creatures you control to target creature or planeswalker"));
|
||||
this.getSpellAbility().addTarget(new TargetCreatureOrPlaneswalker());
|
||||
this.getSpellAbility().addHint(CreaturesYouControlHint.instance);
|
||||
|
||||
// * Destroy target enchantment.
|
||||
this.getSpellAbility().addMode(new Mode(new DestroyTargetEffect()).addTarget(new TargetEnchantmentPermanent()));
|
||||
}
|
||||
|
||||
private CoordinatedManeuver(final CoordinatedManeuver card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CoordinatedManeuver copy() {
|
||||
return new CoordinatedManeuver(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -36,6 +36,7 @@ public final class TarkirDragonstorm extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Bone-Cairn Butcher", 173, Rarity.UNCOMMON, mage.cards.b.BoneCairnButcher.class));
|
||||
cards.add(new SetCardInfo("Boulderborn Dragon", 239, Rarity.COMMON, mage.cards.b.BoulderbornDragon.class));
|
||||
cards.add(new SetCardInfo("Caustic Exhale", 74, Rarity.COMMON, mage.cards.c.CausticExhale.class));
|
||||
cards.add(new SetCardInfo("Coordinated Maneuver", 6, Rarity.COMMON, mage.cards.c.CoordinatedManeuver.class));
|
||||
cards.add(new SetCardInfo("Cori Mountain Stalwart", 175, Rarity.UNCOMMON, mage.cards.c.CoriMountainStalwart.class));
|
||||
cards.add(new SetCardInfo("Cori-Steel Cutter", 103, Rarity.RARE, mage.cards.c.CoriSteelCutter.class));
|
||||
cards.add(new SetCardInfo("Craterhoof Behemoth", 138, Rarity.MYTHIC, mage.cards.c.CraterhoofBehemoth.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue