mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
[BRO] Implement Excavation Explosion
This commit is contained in:
parent
1929529e92
commit
06885089bc
2 changed files with 36 additions and 0 deletions
35
Mage.Sets/src/mage/cards/e/ExcavationExplosion.java
Normal file
35
Mage.Sets/src/mage/cards/e/ExcavationExplosion.java
Normal file
|
@ -0,0 +1,35 @@
|
|||
package mage.cards.e;
|
||||
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.abilities.effects.common.DamageTargetEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.game.permanent.token.PowerstoneToken;
|
||||
import mage.target.common.TargetAnyTarget;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class ExcavationExplosion extends CardImpl {
|
||||
|
||||
public ExcavationExplosion(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{2}{R}");
|
||||
|
||||
// Excavation Explosion deals 3 damage to any target. Create a tapped Powerstone token.
|
||||
this.getSpellAbility().addEffect(new DamageTargetEffect(3));
|
||||
this.getSpellAbility().addTarget(new TargetAnyTarget());
|
||||
this.getSpellAbility().addEffect(new CreateTokenEffect(new PowerstoneToken(), 1, true));
|
||||
}
|
||||
|
||||
private ExcavationExplosion(final ExcavationExplosion card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ExcavationExplosion copy() {
|
||||
return new ExcavationExplosion(this);
|
||||
}
|
||||
}
|
|
@ -60,6 +60,7 @@ public final class TheBrothersWar extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Drafna, Founder of Lat-Nam", 47, Rarity.RARE, mage.cards.d.DrafnaFounderOfLatNam.class));
|
||||
cards.add(new SetCardInfo("Epic Confrontation", 176, Rarity.COMMON, mage.cards.e.EpicConfrontation.class));
|
||||
cards.add(new SetCardInfo("Evangel of Synthesis", 209, Rarity.UNCOMMON, mage.cards.e.EvangelOfSynthesis.class));
|
||||
cards.add(new SetCardInfo("Excavation Explosion", 132, Rarity.COMMON, mage.cards.e.ExcavationExplosion.class));
|
||||
cards.add(new SetCardInfo("Fade from History", 177, Rarity.RARE, mage.cards.f.FadeFromHistory.class));
|
||||
cards.add(new SetCardInfo("Fallaji Chaindancer", 134, Rarity.COMMON, mage.cards.f.FallajiChaindancer.class));
|
||||
cards.add(new SetCardInfo("Fallaji Dragon Engine", 159, Rarity.UNCOMMON, mage.cards.f.FallajiDragonEngine.class));
|
||||
|
|
Loading…
Reference in a new issue