mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
[STX] Implemented Umbral Juke
This commit is contained in:
parent
a297cae46c
commit
57aa903eff
2 changed files with 43 additions and 0 deletions
42
Mage.Sets/src/mage/cards/u/UmbralJuke.java
Normal file
42
Mage.Sets/src/mage/cards/u/UmbralJuke.java
Normal file
|
@ -0,0 +1,42 @@
|
|||
package mage.cards.u;
|
||||
|
||||
import mage.abilities.Mode;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.abilities.effects.common.SacrificeEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.game.permanent.token.SilverquillToken;
|
||||
import mage.target.TargetPlayer;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class UmbralJuke extends CardImpl {
|
||||
|
||||
public UmbralJuke(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{2}{B}");
|
||||
|
||||
// Choose one: —
|
||||
// • Target player sacrifices a creature or planeswalker.
|
||||
this.getSpellAbility().addEffect(new SacrificeEffect(
|
||||
StaticFilters.FILTER_PERMANENT_CREATURE_OR_PLANESWALKER, 1, "Target player"
|
||||
));
|
||||
this.getSpellAbility().addTarget(new TargetPlayer());
|
||||
|
||||
// • Create a 2/1 white and black Inkling creature token with flying.
|
||||
this.getSpellAbility().addMode(new Mode(new CreateTokenEffect(new SilverquillToken())));
|
||||
}
|
||||
|
||||
private UmbralJuke(final UmbralJuke card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UmbralJuke copy() {
|
||||
return new UmbralJuke(this);
|
||||
}
|
||||
}
|
|
@ -157,6 +157,7 @@ public final class StrixhavenSchoolOfMages extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Thrilling Discovery", 243, Rarity.COMMON, mage.cards.t.ThrillingDiscovery.class));
|
||||
cards.add(new SetCardInfo("Thunderous Orator", 35, Rarity.UNCOMMON, mage.cards.t.ThunderousOrator.class));
|
||||
cards.add(new SetCardInfo("Torrent Sculptor", 159, Rarity.RARE, mage.cards.t.TorrentSculptor.class));
|
||||
cards.add(new SetCardInfo("Umbral Juke", 89, Rarity.UNCOMMON, mage.cards.u.UmbralJuke.class));
|
||||
cards.add(new SetCardInfo("Valentin, Dean of the Vein", 161, Rarity.RARE, mage.cards.v.ValentinDeanOfTheVein.class));
|
||||
cards.add(new SetCardInfo("Vanishing Verse", 244, Rarity.RARE, mage.cards.v.VanishingVerse.class));
|
||||
cards.add(new SetCardInfo("Venerable Warsinger", 355, Rarity.RARE, mage.cards.v.VenerableWarsinger.class));
|
||||
|
|
Loading…
Reference in a new issue