Deprecated cards function caller move, part 2.

Now with less accidental riders.
This commit is contained in:
Nathaniel Brandes 2016-05-13 23:30:19 -07:00
parent 5e6d8f49a7
commit 06ec3f16ac
91 changed files with 97 additions and 97 deletions

View file

@ -104,7 +104,7 @@ public class CipherEffect extends OneShotEffect {
if (!game.isSimulation()) {
game.informPlayers(new StringBuilder(sourceCard.getLogName()).append(": Spell ciphered to ").append(targetCreature.getLogName()).toString());
}
return controller.moveCards(sourceCard, null, Zone.EXILED, source, game);
return controller.moveCards(sourceCard, Zone.EXILED, source, game);
} else {
return false;
}

View file

@ -60,7 +60,7 @@ public class ClashWinReturnToHandSpellEffect extends OneShotEffect implements Ma
if (ClashEffect.getInstance().apply(game, source)) {
Card spellCard = game.getStack().getSpell(source.getSourceId()).getCard();
if (spellCard != null) {
controller.moveCards(spellCard, null, Zone.HAND, source, game);
controller.moveCards(spellCard, Zone.HAND, source, game);
}
}
return true;

View file

@ -31,7 +31,7 @@ public class ReturnToHandSpellEffect extends OneShotEffect implements MageSingle
Player controller = game.getPlayer(source.getControllerId());
if (controller != null) {
Card spellCard = game.getStack().getSpell(source.getSourceId()).getCard();
controller.moveCards(spellCard, null, Zone.HAND, source, game);
controller.moveCards(spellCard, Zone.HAND, source, game);
return true;
}
return false;

View file

@ -62,7 +62,7 @@ class IngestEffect extends OneShotEffect {
if (targetPlayer != null) {
Card card = targetPlayer.getLibrary().getFromTop(game);
if (card != null) {
targetPlayer.moveCards(card, Zone.LIBRARY, Zone.EXILED, source, game);
targetPlayer.moveCards(card, Zone.EXILED, source, game);
}
return true;
}