mirror of
https://github.com/magefree/mage.git
synced 2026-01-23 19:59:54 -08:00
Fixed possible npe, added some tests.
This commit is contained in:
parent
8caa3087bd
commit
42cf7f1f4e
5 changed files with 117 additions and 6 deletions
|
|
@ -51,6 +51,7 @@ public class BlackSunsZenith extends CardImpl {
|
|||
super(ownerId, 39, "Black Sun's Zenith", Rarity.RARE, new CardType[]{CardType.SORCERY}, "{X}{B}{B}");
|
||||
this.expansionSetCode = "MBS";
|
||||
|
||||
// Put X -1/-1 counters on each creature. Shuffle Black Sun's Zenith into its owner's library.
|
||||
this.getSpellAbility().addEffect(new BlackSunsZenithEffect());
|
||||
this.getSpellAbility().addEffect(ShuffleSpellEffect.getInstance());
|
||||
}
|
||||
|
|
|
|||
|
|
@ -47,6 +47,7 @@ public class BlueSunsZenith extends CardImpl {
|
|||
super(ownerId, 20, "Blue Sun's Zenith", Rarity.RARE, new CardType[]{CardType.INSTANT}, "{X}{U}{U}{U}");
|
||||
this.expansionSetCode = "MBS";
|
||||
|
||||
// Target player draws X cards. Shuffle Blue Sun's Zenith into its owner's library.
|
||||
this.getSpellAbility().addEffect(new DrawCardTargetEffect(new ManacostVariableValue()));
|
||||
this.getSpellAbility().addEffect(ShuffleSpellEffect.getInstance());
|
||||
this.getSpellAbility().addTarget(new TargetPlayer());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue