mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 21:12:04 -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
|
|
@ -2714,6 +2714,7 @@ public abstract class PlayerImpl implements Player, Serializable {
|
|||
}
|
||||
}
|
||||
}
|
||||
// Check to play revealed cards
|
||||
for (Cards cards : game.getState().getRevealed().values()) {
|
||||
for (Card card : cards.getCards(game)) {
|
||||
if (game.getContinuousEffects().asThough(card.getId(), AsThoughEffectType.PLAY_FROM_NOT_OWN_HAND_ZONE, this.getId(), game)) {
|
||||
|
|
@ -2729,7 +2730,7 @@ public abstract class PlayerImpl implements Player, Serializable {
|
|||
for (UUID playerInRangeId : game.getState().getPlayersInRange(getId(), game)) {
|
||||
Player player = game.getPlayer(playerInRangeId);
|
||||
if (player != null) {
|
||||
if (player.isTopCardRevealed() && player.getLibrary().hasCards()) {
|
||||
if (/*player.isTopCardRevealed() &&*/player.getLibrary().hasCards()) {
|
||||
Card card = player.getLibrary().getFromTop(game);
|
||||
if (game.getContinuousEffects().asThough(card.getId(), AsThoughEffectType.PLAY_FROM_NOT_OWN_HAND_ZONE, getId(), game)) {
|
||||
for (ActivatedAbility ability : card.getAbilities().getActivatedAbilities(Zone.HAND)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue