implement [MH3] Dreamtide Whale

This commit is contained in:
Susucre 2024-05-30 13:13:55 +02:00
parent 014033e445
commit 35056b29c3
2 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,42 @@
package mage.cards.d;
import mage.MageInt;
import mage.abilities.common.CastSecondSpellTriggeredAbility;
import mage.abilities.effects.common.counter.ProliferateEffect;
import mage.abilities.keyword.VanishingAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.constants.TargetController;
import java.util.UUID;
/**
* @author Susucr
*/
public final class DreamtideWhale extends CardImpl {
public DreamtideWhale(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{U}");
this.subtype.add(SubType.WHALE);
this.power = new MageInt(7);
this.toughness = new MageInt(5);
// Vanishing 2
this.addAbility(new VanishingAbility(2));
// Whenever a player casts their second spell each turn, proliferate.
this.addAbility(new CastSecondSpellTriggeredAbility(new ProliferateEffect(), TargetController.ANY));
}
private DreamtideWhale(final DreamtideWhale card) {
super(card);
}
@Override
public DreamtideWhale copy() {
return new DreamtideWhale(this);
}
}

View file

@ -64,6 +64,7 @@ public final class ModernHorizons3 extends ExpansionSet {
cards.add(new SetCardInfo("Disciple of Freyalise", 250, Rarity.UNCOMMON, mage.cards.d.DiscipleOfFreyalise.class));
cards.add(new SetCardInfo("Distinguished Conjurer", 264, Rarity.UNCOMMON, mage.cards.d.DistinguishedConjurer.class));
cards.add(new SetCardInfo("Dreadmobile", 87, Rarity.UNCOMMON, mage.cards.d.Dreadmobile.class));
cards.add(new SetCardInfo("Dreamtide Whale", 59, Rarity.RARE, mage.cards.d.DreamtideWhale.class));
cards.add(new SetCardInfo("Drossclaw", 89, Rarity.COMMON, mage.cards.d.Drossclaw.class));
cards.add(new SetCardInfo("Drowner of Truth", 253, Rarity.UNCOMMON, mage.cards.d.DrownerOfTruth.class));
cards.add(new SetCardInfo("Echoes of Eternity", 4, Rarity.RARE, mage.cards.e.EchoesOfEternity.class));