mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
[MOM] Implement Artistic Refusal
This commit is contained in:
parent
a3a35cfc2f
commit
aa6b2e4def
2 changed files with 46 additions and 0 deletions
45
Mage.Sets/src/mage/cards/a/ArtisticRefusal.java
Normal file
45
Mage.Sets/src/mage/cards/a/ArtisticRefusal.java
Normal file
|
@ -0,0 +1,45 @@
|
|||
package mage.cards.a;
|
||||
|
||||
import mage.abilities.Mode;
|
||||
import mage.abilities.effects.common.CounterTargetEffect;
|
||||
import mage.abilities.effects.common.DrawDiscardControllerEffect;
|
||||
import mage.abilities.keyword.ConvokeAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.target.TargetSpell;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class ArtisticRefusal extends CardImpl {
|
||||
|
||||
public ArtisticRefusal(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{4}{U}{U}");
|
||||
|
||||
// Convoke
|
||||
this.addAbility(new ConvokeAbility());
|
||||
|
||||
// Choose one or both --
|
||||
this.getSpellAbility().getModes().setMinModes(1);
|
||||
this.getSpellAbility().getModes().setMinModes(2);
|
||||
|
||||
// * Counter target spell.
|
||||
this.getSpellAbility().addEffect(new CounterTargetEffect());
|
||||
this.getSpellAbility().addTarget(new TargetSpell());
|
||||
|
||||
// * Draw two cards, then discard a card.
|
||||
this.getSpellAbility().addMode(new Mode(new DrawDiscardControllerEffect(2, 1)));
|
||||
}
|
||||
|
||||
private ArtisticRefusal(final ArtisticRefusal card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ArtisticRefusal copy() {
|
||||
return new ArtisticRefusal(this);
|
||||
}
|
||||
}
|
|
@ -28,6 +28,7 @@ public final class MarchOfTheMachine extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Alabaster Host Sanctifier", 4, Rarity.COMMON, mage.cards.a.AlabasterHostSanctifier.class));
|
||||
cards.add(new SetCardInfo("Archangel Elspeth", 6, Rarity.MYTHIC, mage.cards.a.ArchangelElspeth.class));
|
||||
cards.add(new SetCardInfo("Archpriest of Shadows", 89, Rarity.RARE, mage.cards.a.ArchpriestOfShadows.class));
|
||||
cards.add(new SetCardInfo("Artistic Refusal", 46, Rarity.UNCOMMON, mage.cards.a.ArtisticRefusal.class));
|
||||
cards.add(new SetCardInfo("Astral Wingspan", 48, Rarity.UNCOMMON, mage.cards.a.AstralWingspan.class));
|
||||
cards.add(new SetCardInfo("Beamtown Beatstick", 131, Rarity.COMMON, mage.cards.b.BeamtownBeatstick.class));
|
||||
cards.add(new SetCardInfo("Bloodfell Caves", 267, Rarity.COMMON, mage.cards.b.BloodfellCaves.class));
|
||||
|
|
Loading…
Reference in a new issue