mirror of
https://github.com/magefree/mage.git
synced 2025-12-19 18:20:13 -08:00
clean workaround in ReturnToHandAttachedEffect
This commit is contained in:
parent
fe604382f8
commit
2944dab01d
1 changed files with 1 additions and 3 deletions
|
|
@ -3,7 +3,6 @@ package mage.abilities.effects.common;
|
|||
import mage.abilities.Ability;
|
||||
import mage.abilities.effects.OneShotEffect;
|
||||
import mage.cards.Card;
|
||||
import mage.cards.ModalDoubleFacedCard;
|
||||
import mage.constants.Outcome;
|
||||
import mage.constants.Zone;
|
||||
import mage.game.Game;
|
||||
|
|
@ -37,8 +36,7 @@ public class ReturnToHandAttachedEffect extends OneShotEffect {
|
|||
return false;
|
||||
}
|
||||
Card card = permanent.getMainCard();
|
||||
// TODO: Once MDFC ZCC increments are fixed properly, can remove this special case. For now must allow so effect works.
|
||||
if (permanent.getZoneChangeCounter(game) + 1 != card.getZoneChangeCounter(game) && !(card instanceof ModalDoubleFacedCard)) {
|
||||
if (permanent.getZoneChangeCounter(game) + 1 != card.getZoneChangeCounter(game)) {
|
||||
return false;
|
||||
}
|
||||
return player.moveCards(card, Zone.HAND, source, game);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue