mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 20:11:59 -08:00
Implemented Moldervine Reclamation
This commit is contained in:
parent
9fd3425e5f
commit
8979ea8a5e
2 changed files with 40 additions and 0 deletions
39
Mage.Sets/src/mage/cards/m/MoldervineReclamation.java
Normal file
39
Mage.Sets/src/mage/cards/m/MoldervineReclamation.java
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
package mage.cards.m;
|
||||
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.DiesCreatureTriggeredAbility;
|
||||
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
|
||||
import mage.abilities.effects.common.GainLifeEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.filter.StaticFilters;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class MoldervineReclamation extends CardImpl {
|
||||
|
||||
public MoldervineReclamation(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{3}{B}{G}");
|
||||
|
||||
// Whenever a creature you control dies, you gain 1 life and draw a card.
|
||||
Ability ability = new DiesCreatureTriggeredAbility(
|
||||
new GainLifeEffect(1), false,
|
||||
StaticFilters.FILTER_CONTROLLED_A_CREATURE
|
||||
);
|
||||
ability.addEffect(new DrawCardSourceControllerEffect(1).concatBy("and"));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private MoldervineReclamation(final MoldervineReclamation card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public MoldervineReclamation copy() {
|
||||
return new MoldervineReclamation(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -65,6 +65,7 @@ public final class CoreSet2020 extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Leyline of the Void", 107, Rarity.RARE, mage.cards.l.LeylineOfTheVoid.class));
|
||||
cards.add(new SetCardInfo("Loaming Shaman", 180, Rarity.UNCOMMON, mage.cards.l.LoamingShaman.class));
|
||||
cards.add(new SetCardInfo("Loyal Pegasus", 28, Rarity.UNCOMMON, mage.cards.l.LoyalPegasus.class));
|
||||
cards.add(new SetCardInfo("Moldervine Reclamation", 214, Rarity.UNCOMMON, mage.cards.m.MoldervineReclamation.class));
|
||||
cards.add(new SetCardInfo("Negate", 69, Rarity.COMMON, mage.cards.n.Negate.class));
|
||||
cards.add(new SetCardInfo("Octoprophet", 70, Rarity.COMMON, mage.cards.o.Octoprophet.class));
|
||||
cards.add(new SetCardInfo("Pacifism", 32, Rarity.COMMON, mage.cards.p.Pacifism.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue