mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
minor fix for PhantasmalImage choosing (still goes to graveyard for some reason)
This commit is contained in:
parent
523481b5a2
commit
08060d1893
1 changed files with 3 additions and 1 deletions
|
@ -95,6 +95,8 @@ class PhantasmalImageCopyEffect extends OneShotEffect<PhantasmalImageCopyEffect>
|
||||||
if ( player != null ) {
|
if ( player != null ) {
|
||||||
Target target = new TargetPermanent(new FilterCreaturePermanent());
|
Target target = new TargetPermanent(new FilterCreaturePermanent());
|
||||||
if (target.canChoose(source.getControllerId(), game)) {
|
if (target.canChoose(source.getControllerId(), game)) {
|
||||||
|
target.setRequired(true);
|
||||||
|
target.setNotTarget(true);
|
||||||
player.choose(Outcome.Copy, target, source.getSourceId(), game);
|
player.choose(Outcome.Copy, target, source.getSourceId(), game);
|
||||||
Permanent permanent = game.getPermanent(target.getFirstTarget());
|
Permanent permanent = game.getPermanent(target.getFirstTarget());
|
||||||
if (permanent != null) {
|
if (permanent != null) {
|
||||||
|
|
Loading…
Reference in a new issue