Little fixes

This commit is contained in:
Oleg Agafonov 2020-01-16 17:11:19 +04:00
parent caa328c38c
commit a31da48084
3 changed files with 12 additions and 12 deletions

View file

@ -62,7 +62,6 @@ import java.util.*;
import java.util.regex.Matcher; import java.util.regex.Matcher;
import java.util.regex.Pattern; import java.util.regex.Pattern;
import java.util.stream.Collectors; import java.util.stream.Collectors;
import java.util.stream.IntStream;
import static org.mage.test.serverside.base.impl.CardTestPlayerAPIImpl.*; import static org.mage.test.serverside.base.impl.CardTestPlayerAPIImpl.*;
@ -2128,7 +2127,8 @@ public class TestPlayer implements Player {
} }
} }
this.chooseStrictModeFailed("choice", game, getInfo(ability, game) + "; " + message); this.chooseStrictModeFailed("choice", game, getInfo(ability, game)
+ "\nMessage: " + message);
return computerPlayer.announceXMana(min, max, multiplier, message, game, ability); return computerPlayer.announceXMana(min, max, multiplier, message, game, ability);
} }
@ -2142,7 +2142,8 @@ public class TestPlayer implements Player {
} }
} }
this.chooseStrictModeFailed("choice", game, getInfo(ability, game) + "; " + message); this.chooseStrictModeFailed("choice", game, getInfo(ability, game)
+ "\nMessage: " + message);
return computerPlayer.announceXCost(min, max, message, game, ability, null); return computerPlayer.announceXCost(min, max, message, game, ability, null);
} }

View file

@ -1,7 +1,5 @@
package mage.abilities.effects.common; package mage.abilities.effects.common;
import java.util.UUID;
import mage.abilities.Ability; import mage.abilities.Ability;
import mage.abilities.effects.OneShotEffect; import mage.abilities.effects.OneShotEffect;
import mage.cards.Card; import mage.cards.Card;
@ -13,8 +11,9 @@ import mage.players.Player;
import mage.target.common.TargetCardInYourGraveyard; import mage.target.common.TargetCardInYourGraveyard;
import mage.util.CardUtil; import mage.util.CardUtil;
import java.util.UUID;
/** /**
*
* @author LevelX2 * @author LevelX2
*/ */
public class ExileCardFromOwnGraveyardControllerEffect extends OneShotEffect { public class ExileCardFromOwnGraveyardControllerEffect extends OneShotEffect {