mirror of
https://github.com/correl/mage.git
synced 2024-12-26 19:16:54 +00:00
fixed Sea God's Revenge being able to target non-opposing creatures (fixes #5304)
This commit is contained in:
parent
b4bd056714
commit
a464333761
1 changed files with 3 additions and 5 deletions
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
package mage.cards.s;
|
package mage.cards.s;
|
||||||
|
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
@ -7,7 +6,7 @@ import mage.abilities.effects.keyword.ScryEffect;
|
||||||
import mage.cards.CardImpl;
|
import mage.cards.CardImpl;
|
||||||
import mage.cards.CardSetInfo;
|
import mage.cards.CardSetInfo;
|
||||||
import mage.constants.CardType;
|
import mage.constants.CardType;
|
||||||
import mage.target.common.TargetCreaturePermanent;
|
import mage.target.common.TargetOpponentsCreaturePermanent;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@ -16,12 +15,11 @@ import mage.target.common.TargetCreaturePermanent;
|
||||||
public final class SeaGodsRevenge extends CardImpl {
|
public final class SeaGodsRevenge extends CardImpl {
|
||||||
|
|
||||||
public SeaGodsRevenge(UUID ownerId, CardSetInfo setInfo) {
|
public SeaGodsRevenge(UUID ownerId, CardSetInfo setInfo) {
|
||||||
super(ownerId,setInfo,new CardType[]{CardType.SORCERY},"{5}{U}");
|
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{5}{U}");
|
||||||
|
|
||||||
|
|
||||||
// Return up to three target creatures to their owners' hands. Scry 1.
|
// Return up to three target creatures to their owners' hands. Scry 1.
|
||||||
this.getSpellAbility().addEffect(new ReturnToHandTargetEffect());
|
this.getSpellAbility().addEffect(new ReturnToHandTargetEffect());
|
||||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent(0,3));
|
this.getSpellAbility().addTarget(new TargetOpponentsCreaturePermanent(0, 3));
|
||||||
this.getSpellAbility().addEffect(new ScryEffect(1));
|
this.getSpellAbility().addEffect(new ScryEffect(1));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue