mirror of
https://github.com/correl/mage.git
synced 2024-11-25 11:09:53 +00:00
* Momentary Blink - fixed that it return creature under controller instead owner;
This commit is contained in:
parent
5d52f0ace3
commit
caa328c38c
1 changed files with 2 additions and 2 deletions
|
@ -4,6 +4,7 @@ package mage.cards.m;
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||||
import mage.abilities.effects.common.ExileTargetForSourceEffect;
|
import mage.abilities.effects.common.ExileTargetForSourceEffect;
|
||||||
|
import mage.abilities.effects.common.ReturnToBattlefieldUnderOwnerControlTargetEffect;
|
||||||
import mage.abilities.effects.common.ReturnToBattlefieldUnderYourControlTargetEffect;
|
import mage.abilities.effects.common.ReturnToBattlefieldUnderYourControlTargetEffect;
|
||||||
import mage.abilities.keyword.FlashbackAbility;
|
import mage.abilities.keyword.FlashbackAbility;
|
||||||
import mage.cards.CardImpl;
|
import mage.cards.CardImpl;
|
||||||
|
@ -20,11 +21,10 @@ public final class MomentaryBlink extends CardImpl {
|
||||||
public MomentaryBlink(UUID ownerId, CardSetInfo setInfo) {
|
public MomentaryBlink(UUID ownerId, CardSetInfo setInfo) {
|
||||||
super(ownerId,setInfo,new CardType[]{CardType.INSTANT},"{1}{W}");
|
super(ownerId,setInfo,new CardType[]{CardType.INSTANT},"{1}{W}");
|
||||||
|
|
||||||
|
|
||||||
// Exile target creature you control, then return it to the battlefield under its owner's control.
|
// Exile target creature you control, then return it to the battlefield under its owner's control.
|
||||||
this.getSpellAbility().addTarget(new TargetControlledCreaturePermanent());
|
this.getSpellAbility().addTarget(new TargetControlledCreaturePermanent());
|
||||||
this.getSpellAbility().addEffect(new ExileTargetForSourceEffect());
|
this.getSpellAbility().addEffect(new ExileTargetForSourceEffect());
|
||||||
this.getSpellAbility().addEffect(new ReturnToBattlefieldUnderYourControlTargetEffect(true));
|
this.getSpellAbility().addEffect(new ReturnToBattlefieldUnderOwnerControlTargetEffect());
|
||||||
|
|
||||||
// Flashback {3}{U}
|
// Flashback {3}{U}
|
||||||
this.addAbility(new FlashbackAbility(new ManaCostsImpl("{3}{U}"), TimingRule.INSTANT));
|
this.addAbility(new FlashbackAbility(new ManaCostsImpl("{3}{U}"), TimingRule.INSTANT));
|
||||||
|
|
Loading…
Reference in a new issue