public MobRule(UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.SORCERY},"{4}{R}{R}"); // Choose one // Gain control of all creatures with power 4 or greater until end of turn. Untap those creatures. They gain haste until end of turn. this.getSpellAbility().addEffect(new MobRuleEffect(ComparisonType.MORE_THAN, 3)); // Gain control of all creatures with power 3 or less until end of turn. Untap those creatures. They gain haste until end of turn. Mode mode = new Mode(); mode.addEffect(new MobRuleEffect(ComparisonType.FEWER_THAN, 4)); this.getSpellAbility().addMode(mode); }
public CleansingNova(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{3}{W}{W}"); // Choose one — // • Destroy all creatures. this.getSpellAbility().addEffect(new DestroyAllEffect(StaticFilters.FILTER_PERMANENT_CREATURES)); // • Destroy all artifacts and enchantments. Mode mode = new Mode(); mode.addEffect(new DestroyAllEffect(filter)); this.getSpellAbility().getModes().addMode(mode); }
public Recuperate(UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.INSTANT},"{3}{W}"); // Choose one - You gain 6 life; this.getSpellAbility().addEffect(new GainLifeEffect(6)); // or prevent the next 6 damage that would be dealt to target creature this turn. Mode mode = new Mode(); mode.addEffect(new PreventDamageToTargetEffect(Duration.EndOfTurn, 6)); mode.addTarget(new TargetCreaturePermanent()); this.getSpellAbility().addMode(mode); }
public RetreatToEmeria(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{3}{W}"); // <i>Landfall</i> — Whenever a land enters the battlefield under you control, choose one - Create a 1/1 white Kor Ally creature token; or Creatures you control get +1/+1 until end of turn. LandfallAbility ability = new LandfallAbility(new CreateTokenEffect(new KorAllyToken()), false); Mode mode = new Mode(); mode.addEffect(new BoostControlledEffect(1, 1, Duration.EndOfTurn)); ability.addMode(mode); this.addAbility(ability); }
public DestructiveTampering(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{2}{R}"); // Choose one // * Destroy target artifact this.getSpellAbility().addEffect(new DestroyTargetEffect()); this.getSpellAbility().addTarget(new TargetArtifactPermanent()); // * Creatures without flying can't block this turn. Mode mode = new Mode(); mode.addEffect(new CantBlockAllEffect(filter, Duration.EndOfTurn)); this.getSpellAbility().addMode(mode); }
public TemporalCascade(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{5}{U}{U}"); // Choose one - Each player shuffles their hand and graveyard into their library; this.getSpellAbility().addEffect(new ShuffleHandGraveyardAllEffect()); // or each player draws seven cards. Mode mode = new Mode(); mode.addEffect(new TemporalCascadeDrawEffect()); this.getSpellAbility().getModes().addMode(mode); // Entwine {2} this.addAbility(new EntwineAbility("{2}")); }
public WailOfTheNim(UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.INSTANT},"{2}{B}"); // Choose one - Regenerate each creature you control; this.getSpellAbility().addEffect(new RegenerateAllEffect(new FilterControlledCreaturePermanent())); // or Wail of the Nim deals 1 damage to each creature and each player. Mode mode = new Mode(); mode.addEffect(new DamageEverythingEffect(1)); this.getSpellAbility().getModes().addMode(mode); // Entwine {B} this.addAbility(new EntwineAbility("{B}")); }
public AlabasterPotion(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{X}{W}{W}"); // Choose one - Target player gains X life; or prevent the next X damage that would be dealt to any target this turn. this.getSpellAbility().addEffect(new GainLifeTargetEffect(ManacostVariableValue.instance)); this.getSpellAbility().addTarget(new TargetPlayer()); Mode mode = new Mode(); mode.addEffect(new PreventDamageToTargetEffect(Duration.EndOfTurn, false, true, ManacostVariableValue.instance)); mode.addTarget(new TargetAnyTarget()); this.getSpellAbility().addMode(mode); }
public Pyroblast(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{R}"); // Choose one - Counter target spell if it's blue; or destroy target permanent if it's blue. this.getSpellAbility().addEffect(new PyroblastCounterTargetEffect()); this.getSpellAbility().addTarget(new TargetSpell()); Mode mode = new Mode(); mode.addEffect(new PyroblastDestroyTargetEffect()); mode.addTarget(new TargetPermanent()); this.getSpellAbility().addMode(mode); }
public Abrade(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{R}"); // Choose one — Abrade deals 3 damage to target creature.; getSpellAbility().addEffect(new DamageTargetEffect(3)); getSpellAbility().addTarget(new TargetCreaturePermanent()); // Destroy target artifact. Mode mode = new Mode(); mode.addEffect(new DestroyTargetEffect()); mode.addTarget(new TargetArtifactPermanent()); this.getSpellAbility().addMode(mode); }
public FieryIntervention(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{4}{R}"); // Choose one - // -Fiery Intervention deals 5 damage to target creature. getSpellAbility().addEffect(new DamageTargetEffect(5)); getSpellAbility().addTarget(new TargetCreaturePermanent()); // -Destroy target artifact. Mode mode = new Mode(); mode.addEffect(new DestroyTargetEffect()); mode.addTarget(new TargetArtifactPermanent()); this.getSpellAbility().addMode(mode); }
public JourneyOfDiscovery(UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.SORCERY},"{2}{G}"); // Choose one - Search your library for up to two basic land cards, reveal them, put them into your hand, then shuffle your library; this.getSpellAbility().addEffect(new SearchLibraryPutInHandEffect(new TargetCardInLibrary(0, 2, StaticFilters.FILTER_CARD_BASIC_LAND))); // or you may play up to two additional lands this turn. Mode mode = new Mode(); mode.addEffect(new PlayAdditionalLandsControllerEffect(2, Duration.EndOfTurn)); this.getSpellAbility().getModes().addMode(mode); // Entwine {2}{G} this.addAbility(new EntwineAbility("{2}{G}")); }
public ActiveVolcano(UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.INSTANT},"{R}"); // Choose one - Destroy target blue permanent; this.getSpellAbility().addEffect(new DestroyTargetEffect()); this.getSpellAbility().addTarget(new TargetPermanent(filterBlue)); // or return target Island to its owner's hand. Mode mode = new Mode(); mode.addEffect(new ReturnToHandTargetEffect()); mode.addTarget(new TargetPermanent(filterIsland)); this.getSpellAbility().addMode(mode); }
public CrushingVines(UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.INSTANT},"{2}{G}"); // Choose one - Destroy target creature with flying; or destroy target artifact. this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter)); this.getSpellAbility().addEffect(new DestroyTargetEffect()); Mode mode = new Mode(); mode.addTarget(new TargetArtifactPermanent()); mode.addEffect(new DestroyTargetEffect()); this.getSpellAbility().addMode(mode); }
public ConsultTheNecrosages(UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.SORCERY},"{1}{U}{B}"); // Choose one - Target player draws two cards; or target player discards two cards. this.getSpellAbility().addTarget(new TargetPlayer()); this.getSpellAbility().addEffect(new DrawCardTargetEffect(2)); Mode mode = new Mode(); mode.addTarget(new TargetPlayer()); mode.addEffect(new DiscardTargetEffect(2)); this.getSpellAbility().addMode(mode); }
public CrushingCanopy(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{2}{G}"); // Choose one -- // * Destroy target creature with flying. this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter)); this.getSpellAbility().addEffect(new DestroyTargetEffect()); // * Destroy target enchantment. Mode mode = new Mode(); mode.addTarget(new TargetEnchantmentPermanent()); mode.addEffect(new DestroyTargetEffect()); this.getSpellAbility().addMode(mode); }
public ConsumingBonfire(UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.TRIBAL,CardType.SORCERY},"{3}{R}{R}"); this.subtype.add(SubType.ELEMENTAL); // Choose one - Consuming Bonfire deals 4 damage to target non-Elemental creature; this.getSpellAbility().addTarget(new TargetPermanent(filter)); this.getSpellAbility().addEffect(new DamageTargetEffect(4)); //or Consuming Bonfire deals 7 damage to target Treefolk creature. Mode mode = new Mode(); mode.addEffect(new DamageTargetEffect(7)); mode.addTarget(new TargetPermanent(filter2)); this.getSpellAbility().addMode(mode); }
public SupremeWill(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{2}{U}"); // Choose one — Counter target spell unless its controller pays {3}.; this.getSpellAbility().addTarget(new TargetSpell()); this.getSpellAbility().addEffect(new CounterUnlessPaysEffect(new GenericManaCost(3))); // or Look at the top four cards of your library. Put one of them into your hand and the rest on the bottom of your library in any order. Mode mode = new Mode(); mode.addEffect(new LookLibraryAndPickControllerEffect(new StaticValue(4), false, new StaticValue(1), StaticFilters.FILTER_CARD, Zone.LIBRARY, false, false)); this.getSpellAbility().addMode(mode); }
public ReignOfChaos(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{2}{R}{R}"); // Choose one - Destroy target Plains and target white creature; or destroy target Island and target blue creature. this.getSpellAbility().addEffect(new DestroyTargetEffect(false, true)); this.getSpellAbility().addTarget(new TargetPermanent(filter1)); this.getSpellAbility().addTarget(new TargetPermanent(filter2)); Mode mode = new Mode(); mode.addEffect(new DestroyTargetEffect(false, true)); mode.addTarget(new TargetPermanent(filter3)); mode.addTarget(new TargetPermanent(filter4)); this.getSpellAbility().addMode(mode); }
public FissureVent(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{3}{R}{R}"); // Choose one or both - Destroy target artifact; and/or destroy target nonbasic land. this.getSpellAbility().getModes().setMinModes(1); this.getSpellAbility().getModes().setMaxModes(2); this.getSpellAbility().addEffect(new DestroyTargetEffect()); this.getSpellAbility().addTarget(new TargetArtifactPermanent().withChooseHint("destroy")); Mode mode1 = new Mode(); mode1.addEffect(new DestroyTargetEffect()); mode1.addTarget(new TargetNonBasicLandPermanent().withChooseHint("destroy")); this.getSpellAbility().addMode(mode1); }