Fixed tests

This commit is contained in:
Oleg Agafonov 2020-06-20 07:06:34 +04:00
parent 16f7e401f7
commit 52579fd1f3
2 changed files with 5 additions and 3 deletions

View file

@ -44,6 +44,7 @@ public class AddManaChosenColorEffect extends ManaEffect {
@Override @Override
public String getText(Mode mode) { public String getText(Mode mode) {
// buggy, but no other way, see comments https://github.com/magefree/mage/commit/cd8d12365f8119dcfe19176a7142e77f80f423b
return super.getText(mode) + (chosenColorInfo == null ? "" : " {" + chosenColorInfo.toString() + "}"); return super.getText(mode) + (chosenColorInfo == null ? "" : " {" + chosenColorInfo.toString() + "}");
} }
} }

View file

@ -1,17 +1,18 @@
package mage.game.permanent.token; package mage.game.permanent.token;
import mage.MageInt; import mage.MageInt;
import mage.abilities.keyword.DefenderAbility;
import mage.abilities.keyword.FlyingAbility;
import mage.constants.CardType; import mage.constants.CardType;
import mage.constants.SubType; import mage.constants.SubType;
/** /**
*
* @author TheElk801 * @author TheElk801
*/ */
public final class WeirdToken2 extends TokenImpl { public final class WeirdToken2 extends TokenImpl {
public WeirdToken2() {
this(0);
}
public WeirdToken2(int xValue) { public WeirdToken2(int xValue) {
super("Weird", "X/X blue and red Weird creature token"); super("Weird", "X/X blue and red Weird creature token");
cardType.add(CardType.CREATURE); cardType.add(CardType.CREATURE);