forked from External/mage
* Chain of Vapor - Fixed that the copied spell did nor work correctly.
This commit is contained in:
parent
1ee22be81a
commit
7627935d93
5 changed files with 90 additions and 26 deletions
|
|
@ -197,9 +197,11 @@ public class Spell extends StackObjImpl implements Card {
|
|||
}
|
||||
}
|
||||
if (game.getState().getZone(card.getMainCard().getId()) == Zone.STACK) {
|
||||
Player player = game.getPlayer(getControllerId());
|
||||
if (player != null) {
|
||||
player.moveCards(card, Zone.STACK, Zone.GRAVEYARD, ability, game);
|
||||
if (isCopy() == card.isCopy()) {
|
||||
Player player = game.getPlayer(getControllerId());
|
||||
if (player != null) {
|
||||
player.moveCards(card, Zone.STACK, Zone.GRAVEYARD, ability, game);
|
||||
}
|
||||
}
|
||||
}
|
||||
return result;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue