This commit is contained in:
jeffwadsworth 2019-12-19 17:00:22 -06:00
parent 117abd7853
commit 6870dabbae

View file

@ -43,7 +43,8 @@ public final class YennettCrypticSovereign extends CardImpl {
// Menace // Menace
this.addAbility(new MenaceAbility()); this.addAbility(new MenaceAbility());
// Whenever Yennett, Cryptic Sovereign attacks, reveal the top card of your library. If that card's converted mana cost is odd, you may cast it without paying its mana cost. Otherwise, draw a card. // Whenever Yennett, Cryptic Sovereign attacks, reveal the top card of your library. If that card's
// converted mana cost is odd, you may cast it without paying its mana cost. Otherwise, draw a card.
this.addAbility(new AttacksTriggeredAbility( this.addAbility(new AttacksTriggeredAbility(
new YennettCrypticSovereignEffect(), false new YennettCrypticSovereignEffect(), false
)); ));
@ -92,6 +93,13 @@ class YennettCrypticSovereignEffect extends OneShotEffect {
if (card.getConvertedManaCost() % 2 == 1) { if (card.getConvertedManaCost() % 2 == 1) {
if (player.chooseUse(outcome, "Cast " + card.getLogName() + " without paying its mana cost?", source, game)) { if (player.chooseUse(outcome, "Cast " + card.getLogName() + " without paying its mana cost?", source, game)) {
player.cast(card.getSpellAbility(), game, true, new MageObjectReference(source.getSourceObject(game), game)); player.cast(card.getSpellAbility(), game, true, new MageObjectReference(source.getSourceObject(game), game));
} else {
/*
7/13/2018 | If the revealed card doesnt have an odd converted mana cost or if that card does but you
choose not to cast it, you draw a card. Keep in mind that revealing a card doesnt cause it to change
zones. This means that the card you draw will be the card you revealed.
*/
player.drawCards(1, game);
} }
} else { } else {
player.drawCards(1, game); player.drawCards(1, game);