Don't check for event validity in Karn's Ultimate

Karn Liberated should not check whether it’s valid before putting the
Commanders where they belong. Technically any operations after Karn’s
ultimate goes off are invalid if strict checks are made.
This commit is contained in:
Samuel Sandeen 2016-09-05 22:17:04 -04:00
parent 34846170c4
commit eb89781154

View file

@ -49,6 +49,7 @@ import mage.constants.Zone;
import mage.filter.FilterCard; import mage.filter.FilterCard;
import mage.game.ExileZone; import mage.game.ExileZone;
import mage.game.Game; import mage.game.Game;
import mage.game.command.Commander;
import mage.game.events.GameEvent; import mage.game.events.GameEvent;
import mage.game.events.GameEvent.EventType; import mage.game.events.GameEvent.EventType;
import mage.game.permanent.Permanent; import mage.game.permanent.Permanent;
@ -140,7 +141,8 @@ class KarnLiberatedEffect extends OneShotEffect {
&& !player.getSideboard().contains(card.getId()) && !player.getSideboard().contains(card.getId())
&& !cards.contains(card)) { // not the exiled cards && !cards.contains(card)) { // not the exiled cards
if (card.getId().equals(player.getCommanderId())) { if (card.getId().equals(player.getCommanderId())) {
card.moveToZone(Zone.COMMAND, null, game, true); game.addCommander(new Commander(card));
game.setZone(card.getId(), Zone.COMMAND);
} else { } else {
player.getLibrary().putOnTop(card, game); player.getLibrary().putOnTop(card, game);
} }