text fixes

This commit is contained in:
xenohedron 2023-11-19 00:09:35 -05:00
parent 2e79595ecf
commit f4920b60ed
2 changed files with 6 additions and 2 deletions

View file

@ -8,6 +8,7 @@ import mage.abilities.dynamicvalue.common.StaticValue;
import mage.abilities.mana.builder.ConditionalManaBuilder;
import mage.constants.ColoredManaSymbol;
import mage.game.Game;
import mage.util.CardUtil;
/**
* @author Susucr
@ -26,7 +27,10 @@ public class AddConditionalManaChosenColorEffect extends ManaEffect {
super();
this.amount = amount;
this.manaBuilder = manaBuilder;
staticText = "Add " + this.amount.toString() + " mana of the chosen color. " + manaBuilder.getRule();
String value = (amount instanceof StaticValue
? CardUtil.numberToText(((StaticValue) amount).getValue())
: amount.toString());
staticText = "Add " + value + " mana of the chosen color. " + manaBuilder.getRule();
}
private AddConditionalManaChosenColorEffect(final AddConditionalManaChosenColorEffect effect) {

View file

@ -10,7 +10,7 @@ import mage.constants.SubType;
public final class StitchersApprenticeHomunculusToken extends TokenImpl {
public StitchersApprenticeHomunculusToken() {
super("Homunculus Token", "2/2 blue Homunculus creature");
super("Homunculus Token", "2/2 blue Homunculus creature token");
cardType.add(CardType.CREATURE);
color.setBlue(true);
subtype.add(SubType.HOMUNCULUS);