mirror of
https://github.com/correl/mage.git
synced 2025-01-12 03:00:13 +00:00
[BRO] Implemented Obliterating Bolt
This commit is contained in:
parent
45bbfa10b7
commit
a39abb3e53
2 changed files with 36 additions and 0 deletions
35
Mage.Sets/src/mage/cards/o/ObliteratingBolt.java
Normal file
35
Mage.Sets/src/mage/cards/o/ObliteratingBolt.java
Normal file
|
@ -0,0 +1,35 @@
|
|||
package mage.cards.o;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.abilities.effects.common.DamageTargetEffect;
|
||||
import mage.abilities.effects.common.ExileTargetIfDiesEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.target.common.TargetCreatureOrPlaneswalker;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author weirddan455
|
||||
*/
|
||||
public final class ObliteratingBolt extends CardImpl {
|
||||
|
||||
public ObliteratingBolt(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{1}{R}");
|
||||
|
||||
// Obliterating Bolt deals 4 damage to target creature or planeswalker. If that creature or planeswalker would die this turn, exile it instead.
|
||||
this.getSpellAbility().addEffect(new DamageTargetEffect(4));
|
||||
this.getSpellAbility().addEffect(new ExileTargetIfDiesEffect("creature or planeswalker"));
|
||||
this.getSpellAbility().addTarget(new TargetCreatureOrPlaneswalker());
|
||||
}
|
||||
|
||||
private ObliteratingBolt(final ObliteratingBolt card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ObliteratingBolt copy() {
|
||||
return new ObliteratingBolt(this);
|
||||
}
|
||||
}
|
|
@ -87,6 +87,7 @@ public final class TheBrothersWar extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Mishra, Tamer of Mak Fawa", 217, Rarity.RARE, mage.cards.m.MishraTamerOfMakFawa.class));
|
||||
cards.add(new SetCardInfo("Monastery Swiftspear", 144, Rarity.UNCOMMON, mage.cards.m.MonasterySwiftspear.class));
|
||||
cards.add(new SetCardInfo("Mountain", 284, Rarity.LAND, mage.cards.basiclands.Mountain.class, FULL_ART_BFZ_VARIOUS));
|
||||
cards.add(new SetCardInfo("Obliterating Bolt", 145, Rarity.UNCOMMON, mage.cards.o.ObliteratingBolt.class));
|
||||
cards.add(new SetCardInfo("Obstinate Baloth", 187, Rarity.UNCOMMON, mage.cards.o.ObstinateBaloth.class));
|
||||
cards.add(new SetCardInfo("Overwhelming Remorse", 110, Rarity.COMMON, mage.cards.o.OverwhelmingRemorse.class));
|
||||
cards.add(new SetCardInfo("Painful Quandary", 111, Rarity.RARE, mage.cards.p.PainfulQuandary.class));
|
||||
|
|
Loading…
Reference in a new issue