mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
Implemented Read the Tides
This commit is contained in:
parent
3b1bc61952
commit
1eb7f57543
2 changed files with 40 additions and 0 deletions
39
Mage.Sets/src/mage/cards/r/ReadTheTides.java
Normal file
39
Mage.Sets/src/mage/cards/r/ReadTheTides.java
Normal file
|
@ -0,0 +1,39 @@
|
|||
package mage.cards.r;
|
||||
|
||||
import mage.abilities.Mode;
|
||||
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
|
||||
import mage.abilities.effects.common.ReturnToHandTargetEffect;
|
||||
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 ReadTheTides extends CardImpl {
|
||||
|
||||
public ReadTheTides(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{5}{U}");
|
||||
|
||||
// Choose one —
|
||||
// • Draw three cards.
|
||||
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(3));
|
||||
|
||||
// • Return up to two target creatures to their owners' hands.
|
||||
Mode mode = new Mode(new ReturnToHandTargetEffect());
|
||||
mode.addTarget(new TargetCreaturePermanent(0, 1));
|
||||
this.getSpellAbility().addMode(mode);
|
||||
}
|
||||
|
||||
private ReadTheTides(final ReadTheTides card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ReadTheTides copy() {
|
||||
return new ReadTheTides(this);
|
||||
}
|
||||
}
|
|
@ -185,6 +185,7 @@ public final class CoreSet2021 extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Rain of Revelation", 61, Rarity.UNCOMMON, mage.cards.r.RainOfRevelation.class));
|
||||
cards.add(new SetCardInfo("Rambunctious Mutt", 30, Rarity.COMMON, mage.cards.r.RambunctiousMutt.class));
|
||||
cards.add(new SetCardInfo("Ranger's Guile", 199, Rarity.COMMON, mage.cards.r.RangersGuile.class));
|
||||
cards.add(new SetCardInfo("Read the Tides", 62, Rarity.COMMON, mage.cards.r.ReadTheTides.class));
|
||||
cards.add(new SetCardInfo("Return to Nature", 200, Rarity.COMMON, mage.cards.r.ReturnToNature.class));
|
||||
cards.add(new SetCardInfo("Revitalize", 31, Rarity.COMMON, mage.cards.r.Revitalize.class));
|
||||
cards.add(new SetCardInfo("Rewind", 63, Rarity.UNCOMMON, mage.cards.r.Rewind.class));
|
||||
|
|
Loading…
Reference in a new issue