mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 04:42:07 -08:00
* Vizier of the Menagerie - Fixed that the cards from library could be cast at instant speed (fixes #3300).
This commit is contained in:
parent
e53e905009
commit
390834a0d7
2 changed files with 6 additions and 4 deletions
|
|
@ -103,7 +103,7 @@ class VizierOfTheMenagerieTopCardRevealedEffect extends ContinuousEffectImpl {
|
|||
if (topCard != null) {
|
||||
MageObject vizierOfTheMenagerie = source.getSourceObject(game);
|
||||
if (vizierOfTheMenagerie != null) {
|
||||
controller.lookAtCards("Top card of " + vizierOfTheMenagerie.getLogName() + " controller's library", topCard, game);
|
||||
controller.lookAtCards("Top card of " + vizierOfTheMenagerie.getIdName() + " controller's library", topCard, game);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -149,8 +149,9 @@ class VizierOfTheMenagerieTopCardCastEffect extends AsThoughEffectImpl {
|
|||
if (vizierOfTheMenagerie != null
|
||||
&& topCard != null) {
|
||||
if (topCard == card
|
||||
&& topCard.isCreature()) {
|
||||
return controller.cast(topCard.getSpellAbility(), game, false);
|
||||
&& topCard.isCreature()
|
||||
&& game.canPlaySorcery(controller.getId())) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue