* Fixed a bug with removing spells from stack (e.g. Split Second had some problems) fixes #1333.

This commit is contained in:
LevelX2 2015-10-23 18:25:36 +02:00
parent 3d4ebddbc8
commit f14cbb7f36
2 changed files with 48 additions and 32 deletions

View file

@ -207,11 +207,8 @@ public class Spell extends StackObjImpl implements Card {
}
}
if (game.getState().getZone(card.getMainCard().getId()) == Zone.STACK) {
if (isCopy() == card.isCopy()) {
Player player = game.getPlayer(getControllerId());
if (player != null) {
player.moveCards(card, Zone.STACK, Zone.GRAVEYARD, ability, game);
}
if (!isCopy()) {
controller.moveCards(card, Zone.GRAVEYARD, ability, game);
}
}
return result;