[MOM] Implement Transcendent Message

This commit is contained in:
theelk801 2023-03-30 09:10:24 -04:00
parent 05c8e7b654
commit 2ba04e9a4f
3 changed files with 39 additions and 3 deletions

View file

@ -0,0 +1,35 @@
package mage.cards.t;
import mage.abilities.dynamicvalue.common.ManacostVariableValue;
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
import mage.abilities.keyword.ConvokeAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class TranscendentMessage extends CardImpl {
public TranscendentMessage(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{X}{U}{U}{U}{U}");
// Convoke
this.addAbility(new ConvokeAbility());
// Draw X cards.
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(ManacostVariableValue.REGULAR));
}
private TranscendentMessage(final TranscendentMessage card) {
super(card);
}
@Override
public TranscendentMessage copy() {
return new TranscendentMessage(this);
}
}

View file

@ -38,6 +38,7 @@ public final class MarchOfTheMachine extends ExpansionSet {
cards.add(new SetCardInfo("Swiftwater Cliffs", 273, Rarity.COMMON, mage.cards.s.SwiftwaterCliffs.class)); cards.add(new SetCardInfo("Swiftwater Cliffs", 273, Rarity.COMMON, mage.cards.s.SwiftwaterCliffs.class));
cards.add(new SetCardInfo("Thornwood Falls", 274, Rarity.COMMON, mage.cards.t.ThornwoodFalls.class)); cards.add(new SetCardInfo("Thornwood Falls", 274, Rarity.COMMON, mage.cards.t.ThornwoodFalls.class));
cards.add(new SetCardInfo("Tranquil Cove", 275, Rarity.COMMON, mage.cards.t.TranquilCove.class)); cards.add(new SetCardInfo("Tranquil Cove", 275, Rarity.COMMON, mage.cards.t.TranquilCove.class));
cards.add(new SetCardInfo("Transcendent Message", 83, Rarity.RARE, mage.cards.t.TranscendentMessage.class));
cards.add(new SetCardInfo("Wind-Scarred Crag", 276, Rarity.COMMON, mage.cards.w.WindScarredCrag.class)); cards.add(new SetCardInfo("Wind-Scarred Crag", 276, Rarity.COMMON, mage.cards.w.WindScarredCrag.class));
} }

View file

@ -160,9 +160,9 @@ Masters Edition III|MastersEditionIII|
Masters Edition IV|MastersEditionIV| Masters Edition IV|MastersEditionIV|
Masters 25|Masters25| Masters 25|Masters25|
Media Inserts|MediaInserts| Media Inserts|MediaInserts|
March of the Machine|MarchOfTheMachine March of the Machine|MarchOfTheMachine|
March of the Machine Commander|MarchOfTheMachineCommander March of the Machine Commander|MarchOfTheMachineCommander|
March of the Machine: The Aftermath|MarchOfTheMachineTheAftermath March of the Machine: The Aftermath|MarchOfTheMachineTheAftermath|
Mercadian Masques|MercadianMasques| Mercadian Masques|MercadianMasques|
Mirage|Mirage| Mirage|Mirage|
Mirrodin|Mirrodin| Mirrodin|Mirrodin|