mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 10:40:06 -08:00
[DFT] Implement Broadside Barrage
This commit is contained in:
parent
e9796d1547
commit
3ca8e07b31
2 changed files with 35 additions and 0 deletions
34
Mage.Sets/src/mage/cards/b/BroadsideBarrage.java
Normal file
34
Mage.Sets/src/mage/cards/b/BroadsideBarrage.java
Normal file
|
|
@ -0,0 +1,34 @@
|
||||||
|
package mage.cards.b;
|
||||||
|
|
||||||
|
import mage.abilities.effects.common.DamageTargetEffect;
|
||||||
|
import mage.abilities.effects.common.DrawDiscardControllerEffect;
|
||||||
|
import mage.cards.CardImpl;
|
||||||
|
import mage.cards.CardSetInfo;
|
||||||
|
import mage.constants.CardType;
|
||||||
|
import mage.target.common.TargetCreatureOrPlaneswalker;
|
||||||
|
|
||||||
|
import java.util.UUID;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author TheElk801
|
||||||
|
*/
|
||||||
|
public final class BroadsideBarrage extends CardImpl {
|
||||||
|
|
||||||
|
public BroadsideBarrage(UUID ownerId, CardSetInfo setInfo) {
|
||||||
|
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{U}{R}");
|
||||||
|
|
||||||
|
// Broadside Barrage deals 5 damage to target creature or planeswalker. Draw a card, then discard a card.
|
||||||
|
this.getSpellAbility().addEffect(new DamageTargetEffect(5));
|
||||||
|
this.getSpellAbility().addEffect(new DrawDiscardControllerEffect(1, 1));
|
||||||
|
this.getSpellAbility().addTarget(new TargetCreatureOrPlaneswalker());
|
||||||
|
}
|
||||||
|
|
||||||
|
private BroadsideBarrage(final BroadsideBarrage card) {
|
||||||
|
super(card);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public BroadsideBarrage copy() {
|
||||||
|
return new BroadsideBarrage(this);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -48,6 +48,7 @@ public final class Aetherdrift extends ExpansionSet {
|
||||||
cards.add(new SetCardInfo("Brightfield Glider", 4, Rarity.COMMON, mage.cards.b.BrightfieldGlider.class));
|
cards.add(new SetCardInfo("Brightfield Glider", 4, Rarity.COMMON, mage.cards.b.BrightfieldGlider.class));
|
||||||
cards.add(new SetCardInfo("Brightfield Mustang", 5, Rarity.COMMON, mage.cards.b.BrightfieldMustang.class));
|
cards.add(new SetCardInfo("Brightfield Mustang", 5, Rarity.COMMON, mage.cards.b.BrightfieldMustang.class));
|
||||||
cards.add(new SetCardInfo("Brightglass Gearhulk", 191, Rarity.MYTHIC, mage.cards.b.BrightglassGearhulk.class));
|
cards.add(new SetCardInfo("Brightglass Gearhulk", 191, Rarity.MYTHIC, mage.cards.b.BrightglassGearhulk.class));
|
||||||
|
cards.add(new SetCardInfo("Broadside Barrage", 192, Rarity.UNCOMMON, mage.cards.b.BroadsideBarrage.class));
|
||||||
cards.add(new SetCardInfo("Broken Wings", 156, Rarity.COMMON, mage.cards.b.BrokenWings.class));
|
cards.add(new SetCardInfo("Broken Wings", 156, Rarity.COMMON, mage.cards.b.BrokenWings.class));
|
||||||
cards.add(new SetCardInfo("Bulwark Ox", 7, Rarity.RARE, mage.cards.b.BulwarkOx.class));
|
cards.add(new SetCardInfo("Bulwark Ox", 7, Rarity.RARE, mage.cards.b.BulwarkOx.class));
|
||||||
cards.add(new SetCardInfo("Burnout Bashtronaut", 115, Rarity.RARE, mage.cards.b.BurnoutBashtronaut.class));
|
cards.add(new SetCardInfo("Burnout Bashtronaut", 115, Rarity.RARE, mage.cards.b.BurnoutBashtronaut.class));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue