mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 12:02:01 -08:00
[DFT] Implement Crash and Burn
This commit is contained in:
parent
c78c15c4e9
commit
f443bd5f60
2 changed files with 44 additions and 0 deletions
43
Mage.Sets/src/mage/cards/c/CrashAndBurn.java
Normal file
43
Mage.Sets/src/mage/cards/c/CrashAndBurn.java
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
package mage.cards.c;
|
||||
|
||||
import mage.abilities.Mode;
|
||||
import mage.abilities.effects.common.DamageTargetEffect;
|
||||
import mage.abilities.effects.common.DestroyTargetEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.filter.FilterPermanent;
|
||||
import mage.target.TargetPermanent;
|
||||
import mage.target.common.TargetCreatureOrPlaneswalker;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class CrashAndBurn extends CardImpl {
|
||||
|
||||
private static final FilterPermanent filter = new FilterPermanent(SubType.VEHICLE, "Vehicle");
|
||||
|
||||
public CrashAndBurn(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{3}{R}");
|
||||
|
||||
// Choose one --
|
||||
// * Destroy target Vehicle.
|
||||
this.getSpellAbility().addEffect(new DestroyTargetEffect());
|
||||
this.getSpellAbility().addTarget(new TargetPermanent(filter));
|
||||
|
||||
// * Crash and Burn deals 6 damage to target creature or planeswalker.
|
||||
this.getSpellAbility().addMode(new Mode(new DamageTargetEffect(6)).addTarget(new TargetCreatureOrPlaneswalker()));
|
||||
}
|
||||
|
||||
private CrashAndBurn(final CrashAndBurn card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CrashAndBurn copy() {
|
||||
return new CrashAndBurn(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -57,6 +57,7 @@ public final class Aetherdrift extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Collision Course", 10, Rarity.COMMON, mage.cards.c.CollisionCourse.class));
|
||||
cards.add(new SetCardInfo("Count on Luck", 118, Rarity.RARE, mage.cards.c.CountOnLuck.class));
|
||||
cards.add(new SetCardInfo("Country Roads", 253, Rarity.UNCOMMON, mage.cards.c.CountryRoads.class));
|
||||
cards.add(new SetCardInfo("Crash and Burn", 119, Rarity.COMMON, mage.cards.c.CrashAndBurn.class));
|
||||
cards.add(new SetCardInfo("Daretti, Rocketeer Engineer", 120, Rarity.RARE, mage.cards.d.DarettiRocketeerEngineer.class));
|
||||
cards.add(new SetCardInfo("Daring Mechanic", 11, Rarity.COMMON, mage.cards.d.DaringMechanic.class));
|
||||
cards.add(new SetCardInfo("Deathless Pilot", 82, Rarity.COMMON, mage.cards.d.DeathlessPilot.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue