mirror of
https://github.com/correl/mage.git
synced 2024-11-14 19:19:32 +00:00
[MH2] Implemented Brainstone
This commit is contained in:
parent
91676e8fbe
commit
7fbc9fab03
3 changed files with 42 additions and 3 deletions
38
Mage.Sets/src/mage/cards/b/Brainstone.java
Normal file
38
Mage.Sets/src/mage/cards/b/Brainstone.java
Normal file
|
@ -0,0 +1,38 @@
|
|||
package mage.cards.b;
|
||||
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.SimpleActivatedAbility;
|
||||
import mage.abilities.costs.common.SacrificeSourceCost;
|
||||
import mage.abilities.costs.common.TapSourceCost;
|
||||
import mage.abilities.costs.mana.GenericManaCost;
|
||||
import mage.abilities.effects.common.BrainstormEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class Brainstone extends CardImpl {
|
||||
|
||||
public Brainstone(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{1}");
|
||||
|
||||
// {2}, {T}, Sacrifice Brainstone: Draw three cards, then put two cards from your hand on top of your library in any order.
|
||||
Ability ability = new SimpleActivatedAbility(new BrainstormEffect(), new GenericManaCost(2));
|
||||
ability.addCost(new TapSourceCost());
|
||||
ability.addCost(new SacrificeSourceCost());
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private Brainstone(final Brainstone card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Brainstone copy() {
|
||||
return new Brainstone(this);
|
||||
}
|
||||
}
|
|
@ -16,8 +16,8 @@ public final class ModernHorizons2 extends ExpansionSet {
|
|||
}
|
||||
|
||||
private ModernHorizons2() {
|
||||
super("Modern Horizons", "MH2", ExpansionSet.buildDate(2021, 6, 11), SetType.SUPPLEMENTAL_MODERN_LEGAL);
|
||||
this.blockName = "Modern Horizons";
|
||||
super("Modern Horizons 2", "MH2", ExpansionSet.buildDate(2021, 6, 11), SetType.SUPPLEMENTAL_MODERN_LEGAL);
|
||||
this.blockName = "Modern Horizons 2";
|
||||
this.hasBasicLands = false; // temporary
|
||||
this.hasBoosters = true;
|
||||
this.numBoosterLands = 1;
|
||||
|
@ -28,6 +28,7 @@ public final class ModernHorizons2 extends ExpansionSet {
|
|||
this.maxCardNumberInBooster = 303;
|
||||
|
||||
cards.add(new SetCardInfo("Arid Mesa", 244, Rarity.RARE, mage.cards.a.AridMesa.class));
|
||||
cards.add(new SetCardInfo("Brainstone", 223, Rarity.UNCOMMON, mage.cards.b.Brainstone.class));
|
||||
cards.add(new SetCardInfo("Counterspell", 267, Rarity.UNCOMMON, mage.cards.c.Counterspell.class));
|
||||
cards.add(new SetCardInfo("Marsh Flats", 248, Rarity.RARE, mage.cards.m.MarshFlats.class));
|
||||
cards.add(new SetCardInfo("Misty Rainforest", 250, Rarity.RARE, mage.cards.m.MistyRainforest.class));
|
||||
|
|
|
@ -151,7 +151,7 @@ Mirage|Mirage|
|
|||
Mirrodin|Mirrodin|
|
||||
Mirrodin Besieged|MirrodinBesieged|
|
||||
Modern Horizons|ModernHorizons|
|
||||
Modern Horizons2|ModernHorizons2|
|
||||
Modern Horizons 2|ModernHorizons2|
|
||||
Modern Masters|ModernMasters|
|
||||
Modern Masters 2015|ModernMasters2015|
|
||||
Modern Masters 2017|ModernMasters2017|
|
||||
|
|
Loading…
Reference in a new issue