mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 21:12:04 -08:00
* Reworked some card movement to player methods (#4866).
This commit is contained in:
parent
cd624b2158
commit
c8ddd62e3b
4 changed files with 39 additions and 29 deletions
|
|
@ -52,7 +52,7 @@ public class DiesReplacementEffect extends ReplacementEffectImpl {
|
|||
Permanent permanent = ((ZoneChangeEvent) event).getTarget();
|
||||
Player controller = game.getPlayer(source.getControllerId());
|
||||
if (controller != null && permanent != null) {
|
||||
return controller.moveCardToExileWithInfo(permanent, null, "", source.getSourceId(), game, Zone.BATTLEFIELD, true);
|
||||
return controller.moveCards(permanent, Zone.EXILED, source, game);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue