mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
Implemented Arrester's Admonition
This commit is contained in:
parent
29c1c27204
commit
ef4a41821e
2 changed files with 39 additions and 0 deletions
38
Mage.Sets/src/mage/cards/a/ArrestersAdmonition.java
Normal file
38
Mage.Sets/src/mage/cards/a/ArrestersAdmonition.java
Normal file
|
@ -0,0 +1,38 @@
|
|||
package mage.cards.a;
|
||||
|
||||
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class ArrestersAdmonition extends CardImpl {
|
||||
|
||||
public ArrestersAdmonition(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{2}{U}");
|
||||
|
||||
|
||||
// Return target creature to its owner's hand.
|
||||
this.getSpellAbility().addEffect(new ReturnToHandTargetPermanentEffect());
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
||||
|
||||
// Addendum — If you cast this spell during your main phase, draw a card.
|
||||
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1)
|
||||
.setText("<br><i>Addendum</i> — If you cast this spell during your main phase, draw a card.")
|
||||
);
|
||||
}
|
||||
|
||||
private ArrestersAdmonition(final ArrestersAdmonition card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ArrestersAdmonition copy() {
|
||||
return new ArrestersAdmonition(this);
|
||||
}
|
||||
}
|
|
@ -37,6 +37,7 @@ public final class RavnicaAllegiance extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Amplifire", 92, Rarity.RARE, mage.cards.a.Amplifire.class));
|
||||
cards.add(new SetCardInfo("Angelic Exaltation", 2, Rarity.UNCOMMON, mage.cards.a.AngelicExaltation.class));
|
||||
cards.add(new SetCardInfo("Archway Angel", 3, Rarity.UNCOMMON, mage.cards.a.ArchwayAngel.class));
|
||||
cards.add(new SetCardInfo("Arrester's Admonition", 31, Rarity.COMMON, mage.cards.a.ArrestersAdmonition.class));
|
||||
cards.add(new SetCardInfo("Azorius Guildgate", 243, Rarity.COMMON, mage.cards.a.AzoriusGuildgate.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Azorius Guildgate", 244, Rarity.COMMON, mage.cards.a.AzoriusGuildgate.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Azorius Locket", 231, Rarity.COMMON, mage.cards.a.AzoriusLocket.class));
|
||||
|
|
Loading…
Reference in a new issue