forked from External/mage
Fix issue #1512 - Sweep Away does not return attacking creature to hand
This commit is contained in:
parent
5df59e9fd4
commit
72ababc597
1 changed files with 2 additions and 0 deletions
|
|
@ -85,6 +85,8 @@ class SweepAwayEffect extends OneShotEffect {
|
|||
if (permanent.isAttacking()) {
|
||||
if (controller.chooseUse(Outcome.Neutral, "Put " + permanent.getIdName() + " on top of its owner's library (otherwise return to hand)?", source, game)) {
|
||||
new PutOnLibraryTargetEffect(true).apply(game, source);
|
||||
} else {
|
||||
new ReturnToHandTargetEffect(true).apply(game, source);
|
||||
}
|
||||
} else {
|
||||
new ReturnToHandTargetEffect(true).apply(game, source);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue