mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
Merge pull request #5295 from magefree/rystan-patch-1
Update Yennett, Cryptic Sovereign class names to match card
This commit is contained in:
commit
db780385b7
2 changed files with 13 additions and 13 deletions
|
@ -24,9 +24,9 @@ import mage.players.Player;
|
|||
*
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class YennetCryptSovereign extends CardImpl {
|
||||
public final class YennettCrypticSovereign extends CardImpl {
|
||||
|
||||
public YennetCryptSovereign(UUID ownerId, CardSetInfo setInfo) {
|
||||
public YennettCrypticSovereign(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{W}{U}{B}");
|
||||
|
||||
this.addSuperType(SuperType.LEGENDARY);
|
||||
|
@ -43,25 +43,25 @@ public final class YennetCryptSovereign extends CardImpl {
|
|||
// Menace
|
||||
this.addAbility(new MenaceAbility());
|
||||
|
||||
// Whenever Yennet, Crypt 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(
|
||||
new YennetCryptSovereignEffect(), false
|
||||
new YennettCrypticSovereignEffect(), false
|
||||
));
|
||||
}
|
||||
|
||||
public YennetCryptSovereign(final YennetCryptSovereign card) {
|
||||
public YennettCrypticSovereign(final YennettCrypticSovereign card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public YennetCryptSovereign copy() {
|
||||
return new YennetCryptSovereign(this);
|
||||
public YennettCrypticSovereign copy() {
|
||||
return new YennettCrypticSovereign(this);
|
||||
}
|
||||
}
|
||||
|
||||
class YennetCryptSovereignEffect extends OneShotEffect {
|
||||
class YennettCrypticSovereignEffect extends OneShotEffect {
|
||||
|
||||
public YennetCryptSovereignEffect() {
|
||||
public YennettCrypticSovereignEffect() {
|
||||
super(Outcome.Benefit);
|
||||
this.staticText = "reveal the top card of your library. "
|
||||
+ "If that card's converted mana cost is odd, "
|
||||
|
@ -69,13 +69,13 @@ class YennetCryptSovereignEffect extends OneShotEffect {
|
|||
+ "Otherwise, draw a card";
|
||||
}
|
||||
|
||||
public YennetCryptSovereignEffect(final YennetCryptSovereignEffect effect) {
|
||||
public YennettCrypticSovereignEffect(final YennettCrypticSovereignEffect effect) {
|
||||
super(effect);
|
||||
}
|
||||
|
||||
@Override
|
||||
public YennetCryptSovereignEffect copy() {
|
||||
return new YennetCryptSovereignEffect(this);
|
||||
public YennettCrypticSovereignEffect copy() {
|
||||
return new YennettCrypticSovereignEffect(this);
|
||||
}
|
||||
|
||||
@Override
|
|
@ -324,7 +324,7 @@ public final class Commander2018 extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Xantcha, Sleeper Agent", 50, Rarity.RARE, mage.cards.x.XantchaSleeperAgent.class));
|
||||
cards.add(new SetCardInfo("Yavimaya Elder", 166, Rarity.COMMON, mage.cards.y.YavimayaElder.class));
|
||||
cards.add(new SetCardInfo("Yavimaya Enchantress", 167, Rarity.COMMON, mage.cards.y.YavimayaEnchantress.class));
|
||||
cards.add(new SetCardInfo("Yennett, Cryptic Sovereign", 51, Rarity.MYTHIC, mage.cards.y.YennetCryptSovereign.class));
|
||||
cards.add(new SetCardInfo("Yennett, Cryptic Sovereign", 51, Rarity.MYTHIC, mage.cards.y.YennettCrypticSovereign.class));
|
||||
cards.add(new SetCardInfo("Yuriko, the Tiger's Shadow", 52, Rarity.RARE, mage.cards.y.YurikoTheTigersShadow.class));
|
||||
cards.add(new SetCardInfo("Zendikar Incarnate", 195, Rarity.UNCOMMON, mage.cards.z.ZendikarIncarnate.class));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue