@Override public WishEffect copy() { return new WishEffect(this); }
@Override public boolean replaceEvent(GameEvent event, Ability source, Game game) { Player controller = game.getPlayer(source.getControllerId()); if (controller != null) { new WishEffect(new FilterCard(), false).apply(game, source); this.discard(); return true; } return false; }
public CoaxFromTheBlindEternities(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{2}{U}"); // You may choose an Eldrazi card you own from outside the game or in exile, reveal that card, and put it into your hand. this.getSpellAbility().addEffect(new WishEffect(filter, true, true)); }
public GoldenWish(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{3}{W}{W}"); // You may choose an artifact or enchantment card you own from outside the game, reveal that card, and put it into your hand. this.getSpellAbility().addEffect(new WishEffect(filter)); // Exile Golden Wish. this.getSpellAbility().addEffect(ExileSpellEffect.getInstance()); }
public GlitteringWish(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{G}{W}"); // You may choose a multicolored card you own from outside the game, reveal that card, and put it into your hand. this.getSpellAbility().addEffect(new WishEffect(filter)); // Exile Glittering Wish. this.getSpellAbility().addEffect(ExileSpellEffect.getInstance()); }
public CunningWish(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{2}{U}"); // You may choose an instant card you own from outside the game, reveal that card, and put it into your hand. this.getSpellAbility().addEffect(new WishEffect(filter)); // Exile Cunning Wish. this.getSpellAbility().addEffect(ExileSpellEffect.getInstance()); }
public BurningWish(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{1}{R}"); // You may choose a sorcery card you own from outside the game, reveal that card, and put it into your hand. this.getSpellAbility().addEffect(new WishEffect(filter)); // Exile Burning Wish. this.getSpellAbility().addEffect(ExileSpellEffect.getInstance()); }
public LivingWish(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{1}{G}"); // You may choose a creature or land card you own from outside the game, reveal that card, and put it into your hand. this.getSpellAbility().addEffect(new WishEffect(filter)); // Exile Living Wish. this.getSpellAbility().addEffect(ExileSpellEffect.getInstance()); }
public DeathWish(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{1}{B}{B}"); // You may choose a card you own from outside the game and put it into your hand. this.getSpellAbility().addEffect(new WishEffect(new FilterCard(), false)); // You lose half your life, rounded up. this.getSpellAbility().addEffect(new LoseHalfLifeEffect()); // Exile Death Wish. this.getSpellAbility().addEffect(ExileSpellEffect.getInstance()); }
public MastermindsAcquisition(UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.SORCERY},"{2}{B}{B}"); // Choose one - // Search your library for a card and put that card into your hand. Then shuffle your library. this.getSpellAbility().addEffect(new SearchLibraryPutInHandEffect(new TargetCardInLibrary())); // Choose a card you own from outside the game and put it into your hand. Mode mode = new Mode(); mode.addEffect(new WishEffect(new FilterCard(), false)); this.getSpellAbility().addMode(mode); }