* Copied cards - Copied cards (e.g. spell cast with Isochron Scepter) cease to exist on check of next state based effects if they are moved to graveyard (#611). Before they did not trigger cards like Vulturous Zombie.

This commit is contained in:
LevelX2 2014-11-07 16:25:35 +01:00
parent e7e6a5bb99
commit 307677ed2b
2 changed files with 7 additions and 1 deletions

View file

@ -1436,6 +1436,12 @@ public abstract class GameImpl implements Game, Serializable {
this.unloadCard(card);
}
}
for (Card card: player.getGraveyard().getCards(this)) {
if (card.isCopy()) {
player.getGraveyard().remove(card);
this.unloadCard(card);
}
}
}
// (Isochron Scepter) 12/1/2004: If you don't want to cast the copy, you can choose not to; the copy ceases to exist the next time state-based actions are checked.
for (Card card: this.getState().getExile().getAllCards(this)) {

View file

@ -210,7 +210,7 @@ public class Spell implements StackObject, Card {
}
}
}
if (!card.isCopy() && game.getState().getZone(card.getId()) == Zone.STACK) {
if (game.getState().getZone(card.getId()) == Zone.STACK) {
card.moveToZone(Zone.GRAVEYARD, ability.getId(), game, false);
}
}