mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 04:52:07 -08:00
Deprecated cards function caller move, part 2.
Now with less accidental riders.
This commit is contained in:
parent
5e6d8f49a7
commit
06ec3f16ac
91 changed files with 97 additions and 97 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue