[TDM] Implement Dragonback Assault

This commit is contained in:
theelk801 2025-03-20 10:14:53 -04:00
parent 766442b71a
commit 689883db23
2 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,40 @@
package mage.cards.d;
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
import mage.abilities.common.LandfallAbility;
import mage.abilities.effects.common.CreateTokenEffect;
import mage.abilities.effects.common.DamageAllEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.filter.StaticFilters;
import mage.game.permanent.token.DragonToken;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class DragonbackAssault extends CardImpl {
public DragonbackAssault(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{3}{G}{U}{R}");
// When this enchantment enters, it deals 3 damage to each creature and each planeswalker.
this.addAbility(new EntersBattlefieldTriggeredAbility(new DamageAllEffect(
3, StaticFilters.FILTER_PERMANENT_CREATURE_OR_PLANESWALKER
).setText("it deals 3 damage to each creature and each planeswalker")));
// Landfall -- Whenever a land you control enters, create a 4/4 red Dragon creature token with flying.
this.addAbility(new LandfallAbility(new CreateTokenEffect(new DragonToken())));
}
private DragonbackAssault(final DragonbackAssault card) {
super(card);
}
@Override
public DragonbackAssault copy() {
return new DragonbackAssault(this);
}
}

View file

@ -34,6 +34,7 @@ public final class TarkirDragonstorm extends ExpansionSet {
cards.add(new SetCardInfo("Devoted Duelist", 104, Rarity.COMMON, mage.cards.d.DevotedDuelist.class));
cards.add(new SetCardInfo("Dismal Backwater", 254, Rarity.COMMON, mage.cards.d.DismalBackwater.class));
cards.add(new SetCardInfo("Dracogenesis", 105, Rarity.MYTHIC, mage.cards.d.Dracogenesis.class));
cards.add(new SetCardInfo("Dragonback Assault", 179, Rarity.MYTHIC, mage.cards.d.DragonbackAssault.class));
cards.add(new SetCardInfo("Dragonback Lancer", 9, Rarity.COMMON, mage.cards.d.DragonbackLancer.class));
cards.add(new SetCardInfo("Equilibrium Adept", 106, Rarity.UNCOMMON, mage.cards.e.EquilibriumAdept.class));
cards.add(new SetCardInfo("Evolving Wilds", 255, Rarity.COMMON, mage.cards.e.EvolvingWilds.class));