mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
Implemented Unexplained Disappearance
This commit is contained in:
parent
eb919bb085
commit
149be7a6c4
2 changed files with 37 additions and 0 deletions
36
Mage.Sets/src/mage/cards/u/UnexplainedDisappearance.java
Normal file
36
Mage.Sets/src/mage/cards/u/UnexplainedDisappearance.java
Normal file
|
@ -0,0 +1,36 @@
|
|||
package mage.cards.u;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.abilities.effects.common.ReturnToHandTargetEffect;
|
||||
import mage.abilities.effects.keyword.SurveilEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class UnexplainedDisappearance extends CardImpl {
|
||||
|
||||
public UnexplainedDisappearance(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{U}");
|
||||
|
||||
// Return target creature to its owner's hand.
|
||||
this.getSpellAbility().addEffect(new ReturnToHandTargetEffect());
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
||||
|
||||
// Surveil 1.
|
||||
this.getSpellAbility().addEffect(new SurveilEffect(1));
|
||||
}
|
||||
|
||||
public UnexplainedDisappearance(final UnexplainedDisappearance card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UnexplainedDisappearance copy() {
|
||||
return new UnexplainedDisappearance(this);
|
||||
}
|
||||
}
|
|
@ -49,6 +49,7 @@ public final class GuildsOfRavnica extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Temple Garden", 258, Rarity.RARE, mage.cards.t.TempleGarden.class));
|
||||
cards.add(new SetCardInfo("Thought Erasure", 206, Rarity.UNCOMMON, mage.cards.t.ThoughtErasure.class));
|
||||
cards.add(new SetCardInfo("Underrealm Lich", 211, Rarity.MYTHIC, mage.cards.u.UnderrealmLich.class));
|
||||
cards.add(new SetCardInfo("Unexplained Disappearance", 56, Rarity.COMMON, mage.cards.u.UnexplainedDisappearance.class));
|
||||
cards.add(new SetCardInfo("Watery Grave", 259, Rarity.RARE, mage.cards.w.WateryGrave.class));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue