mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 21:29:17 -08:00
[ECL] Implement Aberrant Return
This commit is contained in:
parent
8f8a24563a
commit
993fc56360
2 changed files with 38 additions and 0 deletions
36
Mage.Sets/src/mage/cards/a/AberrantReturn.java
Normal file
36
Mage.Sets/src/mage/cards/a/AberrantReturn.java
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
package mage.cards.a;
|
||||
|
||||
import mage.abilities.effects.common.ReturnFromGraveyardToBattlefieldWithCounterTargetEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.counters.CounterType;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.target.common.TargetCardInGraveyard;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class AberrantReturn extends CardImpl {
|
||||
|
||||
public AberrantReturn(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{4}{B}{B}");
|
||||
|
||||
// Put one, two, or three target creature cards from graveyards onto the battlefield under your control. Each of them enters with an additional -1/-1 counter on it.
|
||||
this.getSpellAbility().addEffect(new ReturnFromGraveyardToBattlefieldWithCounterTargetEffect(CounterType.M1M1.createInstance())
|
||||
.setText("put one, two, or three target creature cards from graveyards onto the battlefield " +
|
||||
"under your control. Each of them enters with an additional -1/-1 counter on it"));
|
||||
this.getSpellAbility().addTarget(new TargetCardInGraveyard(1, 3, StaticFilters.FILTER_CARD_CREATURES));
|
||||
}
|
||||
|
||||
private AberrantReturn(final AberrantReturn card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AberrantReturn copy() {
|
||||
return new AberrantReturn(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -19,6 +19,8 @@ public final class LorwynEclipsedCommander extends ExpansionSet {
|
|||
super("Lorwyn Eclipsed Commander", "ECC", ExpansionSet.buildDate(2026, 1, 23), SetType.SUPPLEMENTAL);
|
||||
this.hasBasicLands = false; // temporary
|
||||
|
||||
cards.add(new SetCardInfo("Aberrant Return", 27, Rarity.RARE, mage.cards.a.AberrantReturn.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Aberrant Return", 7, Rarity.RARE, mage.cards.a.AberrantReturn.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Abundant Countryside", 22, Rarity.RARE, mage.cards.a.AbundantCountryside.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Abundant Countryside", 42, Rarity.RARE, mage.cards.a.AbundantCountryside.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Abundant Growth", 97, Rarity.COMMON, mage.cards.a.AbundantGrowth.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue