mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
Fixed tests
This commit is contained in:
parent
16f7e401f7
commit
52579fd1f3
2 changed files with 5 additions and 3 deletions
|
@ -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() + "}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue