forked from External/mage
[FDN] Implement Raise the Past
This commit is contained in:
parent
c957f45c7b
commit
0a4f465b57
2 changed files with 41 additions and 0 deletions
40
Mage.Sets/src/mage/cards/r/RaiseThePast.java
Normal file
40
Mage.Sets/src/mage/cards/r/RaiseThePast.java
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
package mage.cards.r;
|
||||
|
||||
import mage.abilities.effects.common.ReturnFromYourGraveyardToBattlefieldAllEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.ComparisonType;
|
||||
import mage.filter.FilterCard;
|
||||
import mage.filter.common.FilterCreatureCard;
|
||||
import mage.filter.predicate.mageobject.ManaValuePredicate;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class RaiseThePast extends CardImpl {
|
||||
|
||||
private static final FilterCard filter = new FilterCreatureCard("creature cards with mana value 2 or less");
|
||||
|
||||
static {
|
||||
filter.add(new ManaValuePredicate(ComparisonType.FEWER_THAN, 3));
|
||||
}
|
||||
|
||||
public RaiseThePast(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{2}{W}{W}");
|
||||
|
||||
// Return all creature cards with mana value 2 or less from your graveyard to the battlefield.
|
||||
this.getSpellAbility().addEffect(new ReturnFromYourGraveyardToBattlefieldAllEffect(filter));
|
||||
}
|
||||
|
||||
private RaiseThePast(final RaiseThePast card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public RaiseThePast copy() {
|
||||
return new RaiseThePast(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -229,6 +229,7 @@ public final class Foundations extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Progenitus", 244, Rarity.MYTHIC, mage.cards.p.Progenitus.class));
|
||||
cards.add(new SetCardInfo("Pulse Tracker", 612, Rarity.COMMON, mage.cards.p.PulseTracker.class));
|
||||
cards.add(new SetCardInfo("Pyromancer's Goggles", 677, Rarity.MYTHIC, mage.cards.p.PyromancersGoggles.class));
|
||||
cards.add(new SetCardInfo("Raise the Past", 22, Rarity.RARE, mage.cards.r.RaiseThePast.class));
|
||||
cards.add(new SetCardInfo("Rakdos Guildgate", 693, Rarity.COMMON, mage.cards.r.RakdosGuildgate.class));
|
||||
cards.add(new SetCardInfo("Ramos, Dragon Engine", 678, Rarity.MYTHIC, mage.cards.r.RamosDragonEngine.class));
|
||||
cards.add(new SetCardInfo("Rampaging Baloths", 645, Rarity.RARE, mage.cards.r.RampagingBaloths.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue