From eb767b13a6c07033fdfd221d0ba4abc8703e1724 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Sun, 20 Nov 2016 00:14:24 +0100 Subject: [PATCH] * Rainbow Vale - Fixed that the control did not switch to an opponent. --- Mage.Sets/src/mage/cards/r/RainbowVale.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Mage.Sets/src/mage/cards/r/RainbowVale.java b/Mage.Sets/src/mage/cards/r/RainbowVale.java index 55e188ff96f..80771d765f7 100644 --- a/Mage.Sets/src/mage/cards/r/RainbowVale.java +++ b/Mage.Sets/src/mage/cards/r/RainbowVale.java @@ -53,7 +53,7 @@ import mage.target.common.TargetOpponent; public class RainbowVale extends CardImpl { public RainbowVale(UUID ownerId, CardSetInfo setInfo) { - super(ownerId,setInfo,new CardType[]{CardType.LAND},""); + super(ownerId, setInfo, new CardType[]{CardType.LAND}, ""); // {tap}: Add one mana of any color to your mana pool. An opponent gains control of Rainbow Vale at the beginning of the next end step. Ability ability = new AnyColorManaAbility(); @@ -74,7 +74,7 @@ public class RainbowVale extends CardImpl { public RainbowValeEffect() { super(Outcome.PutManaInPool); - staticText = "An opponent gains control of {this} at the beginning of the next end step."; + staticText = "an opponent gains control of {this} at the beginning of the next end step"; } public RainbowValeEffect(final RainbowValeEffect effect) { @@ -85,7 +85,7 @@ public class RainbowVale extends CardImpl { public boolean apply(Game game, Ability source) { Permanent permanent = game.getPermanent(source.getSourceId()); if (permanent != null) { - game.addDelayedTriggeredAbility(new AtTheBeginOfNextEndStepDelayedTriggeredAbility(new OpponentGainControlEffect())); + game.addDelayedTriggeredAbility(new AtTheBeginOfNextEndStepDelayedTriggeredAbility(new OpponentGainControlEffect()), source); return true; } return false;