From a464333761e2d49fabadfc72a103b306cccc2c0d Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Sat, 8 Sep 2018 18:00:10 -0400 Subject: [PATCH] fixed Sea God's Revenge being able to target non-opposing creatures (fixes #5304) --- Mage.Sets/src/mage/cards/s/SeaGodsRevenge.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Mage.Sets/src/mage/cards/s/SeaGodsRevenge.java b/Mage.Sets/src/mage/cards/s/SeaGodsRevenge.java index 04ae55ea09..16ed72aa72 100644 --- a/Mage.Sets/src/mage/cards/s/SeaGodsRevenge.java +++ b/Mage.Sets/src/mage/cards/s/SeaGodsRevenge.java @@ -1,4 +1,3 @@ - package mage.cards.s; import java.util.UUID; @@ -7,7 +6,7 @@ import mage.abilities.effects.keyword.ScryEffect; import mage.cards.CardImpl; import mage.cards.CardSetInfo; 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 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. 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)); }