mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 10:40:06 -08:00
[TDC] Implement Zenith Festival
This commit is contained in:
parent
0e44fcbcd4
commit
5f7bb6ed9f
2 changed files with 39 additions and 0 deletions
38
Mage.Sets/src/mage/cards/z/ZenithFestival.java
Normal file
38
Mage.Sets/src/mage/cards/z/ZenithFestival.java
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
package mage.cards.z;
|
||||
|
||||
import mage.abilities.dynamicvalue.common.GetXValue;
|
||||
import mage.abilities.effects.common.ExileTopXMayPlayUntilEffect;
|
||||
import mage.abilities.keyword.HarmonizeAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class ZenithFestival extends CardImpl {
|
||||
|
||||
public ZenithFestival(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{X}{R}{R}");
|
||||
|
||||
// Exile the top X cards of your library. You may play them until the end of your next turn.
|
||||
this.getSpellAbility().addEffect(new ExileTopXMayPlayUntilEffect(
|
||||
GetXValue.instance, false, Duration.UntilEndOfYourNextTurn
|
||||
));
|
||||
|
||||
// Harmonize {X}{R}{R}
|
||||
this.addAbility(new HarmonizeAbility(this, "{X}{R}{R}"));
|
||||
}
|
||||
|
||||
private ZenithFestival(final ZenithFestival card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ZenithFestival copy() {
|
||||
return new ZenithFestival(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -368,6 +368,7 @@ public final class TarkirDragonstormCommander extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Yahenni, Undying Partisan", 202, Rarity.RARE, mage.cards.y.YahenniUndyingPartisan.class));
|
||||
cards.add(new SetCardInfo("Yavimaya Coast", 413, Rarity.RARE, mage.cards.y.YavimayaCoast.class));
|
||||
cards.add(new SetCardInfo("Young Pyromancer", 95, Rarity.UNCOMMON, mage.cards.y.YoungPyromancer.class));
|
||||
cards.add(new SetCardInfo("Zenith Festival", 41, Rarity.RARE, mage.cards.z.ZenithFestival.class));
|
||||
cards.add(new SetCardInfo("Zetalpa, Primal Dawn", 142, Rarity.RARE, mage.cards.z.ZetalpaPrimalDawn.class));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue