mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 04:52:07 -08:00
text fixes
This commit is contained in:
parent
2e79595ecf
commit
f4920b60ed
2 changed files with 6 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue