mirror of
https://github.com/correl/mage.git
synced 2025-01-12 03:00:13 +00:00
Implemented Rhythmic Water Vortex
This commit is contained in:
parent
5abfb3f0f9
commit
5eac16c969
2 changed files with 45 additions and 0 deletions
44
Mage.Sets/src/mage/cards/r/RhythmicWaterVortex.java
Normal file
44
Mage.Sets/src/mage/cards/r/RhythmicWaterVortex.java
Normal file
|
@ -0,0 +1,44 @@
|
|||
package mage.cards.r;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.abilities.effects.common.ReturnToHandTargetEffect;
|
||||
import mage.abilities.effects.common.search.SearchLibraryGraveyardPutInHandEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.filter.FilterCard;
|
||||
import mage.filter.predicate.mageobject.NamePredicate;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class RhythmicWaterVortex extends CardImpl {
|
||||
|
||||
private final static FilterCard filter = new FilterCard("Mu Yanling");
|
||||
|
||||
static {
|
||||
filter.add(new NamePredicate("Mu Yanling"));
|
||||
}
|
||||
|
||||
public RhythmicWaterVortex(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{3}{U}{U}");
|
||||
|
||||
// Return up to two target creatures to their owner's hand.
|
||||
this.getSpellAbility().addEffect(new ReturnToHandTargetEffect());
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent(0, 2));
|
||||
|
||||
// Search your library and/or graveyard for a card named Mu Yanling, reveal it, and put it into your hand. If you searched your library this way, shuffle it.
|
||||
this.getSpellAbility().addEffect(new SearchLibraryGraveyardPutInHandEffect(filter));
|
||||
}
|
||||
|
||||
public RhythmicWaterVortex(final RhythmicWaterVortex card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public RhythmicWaterVortex copy() {
|
||||
return new RhythmicWaterVortex(this);
|
||||
}
|
||||
}
|
|
@ -52,6 +52,7 @@ public final class JiangYangguMuYanling extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Purple-Crystal Crab", 3, Rarity.COMMON, mage.cards.p.PurpleCrystalCrab.class));
|
||||
cards.add(new SetCardInfo("Qilin's Blessing", 14, Rarity.COMMON, mage.cards.q.QilinsBlessing.class));
|
||||
cards.add(new SetCardInfo("Reckless Pangolin", 26, Rarity.COMMON, mage.cards.r.RecklessPangolin.class));
|
||||
cards.add(new SetCardInfo("Rhythmic Water Vortex", 18, Rarity.RARE, mage.cards.r.RhythmicWaterVortex.class));
|
||||
cards.add(new SetCardInfo("Sacred White Deer", 25, Rarity.UNCOMMON, mage.cards.s.SacredWhiteDeer.class));
|
||||
cards.add(new SetCardInfo("Screeching Phoenix", 30, Rarity.RARE, mage.cards.s.ScreechingPhoenix.class));
|
||||
cards.add(new SetCardInfo("Stormcloud Spirit", 11, Rarity.UNCOMMON, mage.cards.s.StormcloudSpirit.class));
|
||||
|
|
Loading…
Reference in a new issue