mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 04:42:07 -08:00
* 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:
parent
e7e6a5bb99
commit
307677ed2b
2 changed files with 7 additions and 1 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue