mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
* Rainbow Vale - Fixed that the control did not switch to an opponent.
This commit is contained in:
parent
03c766a485
commit
eb767b13a6
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue