From ce999b1ef48a8d5d7d8da55594d0185c13cd1315 Mon Sep 17 00:00:00 2001 From: theelk801 Date: Tue, 4 Apr 2023 21:58:22 -0400 Subject: [PATCH] [MOM] Implement Meeting of Minds --- .../src/mage/cards/m/MeetingOfMinds.java | 34 +++++++++++++++++++ .../src/mage/sets/MarchOfTheMachine.java | 1 + 2 files changed, 35 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/m/MeetingOfMinds.java diff --git a/Mage.Sets/src/mage/cards/m/MeetingOfMinds.java b/Mage.Sets/src/mage/cards/m/MeetingOfMinds.java new file mode 100644 index 0000000000..fdffa67edd --- /dev/null +++ b/Mage.Sets/src/mage/cards/m/MeetingOfMinds.java @@ -0,0 +1,34 @@ +package mage.cards.m; + +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 MeetingOfMinds extends CardImpl { + + public MeetingOfMinds(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{3}{U}"); + + // Convoke + this.addAbility(new ConvokeAbility()); + + // Draw two cards. + this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(2)); + } + + private MeetingOfMinds(final MeetingOfMinds card) { + super(card); + } + + @Override + public MeetingOfMinds copy() { + return new MeetingOfMinds(this); + } +} diff --git a/Mage.Sets/src/mage/sets/MarchOfTheMachine.java b/Mage.Sets/src/mage/sets/MarchOfTheMachine.java index e7da0a090d..5a84e8f7cd 100644 --- a/Mage.Sets/src/mage/sets/MarchOfTheMachine.java +++ b/Mage.Sets/src/mage/sets/MarchOfTheMachine.java @@ -84,6 +84,7 @@ public final class MarchOfTheMachine extends ExpansionSet { cards.add(new SetCardInfo("Lithomantic Barrage", 152, Rarity.UNCOMMON, mage.cards.l.LithomanticBarrage.class)); cards.add(new SetCardInfo("Marauding Dreadship", 153, Rarity.COMMON, mage.cards.m.MaraudingDreadship.class)); cards.add(new SetCardInfo("Marshal of Zhalfir", 246, Rarity.UNCOMMON, mage.cards.m.MarshalOfZhalfir.class)); + cards.add(new SetCardInfo("Meeting of Minds", 66, Rarity.COMMON, mage.cards.m.MeetingOfMinds.class)); cards.add(new SetCardInfo("Merciless Repurposing", 117, Rarity.UNCOMMON, mage.cards.m.MercilessRepurposing.class)); cards.add(new SetCardInfo("Mirrodin Avenged", 118, Rarity.COMMON, mage.cards.m.MirrodinAvenged.class)); cards.add(new SetCardInfo("Monastery Mentor", 28, Rarity.MYTHIC, mage.cards.m.MonasteryMentor.class));