Text fixes

This commit is contained in:
xenohedron 2023-05-20 18:50:39 -04:00
parent 7b9243f640
commit c7994cb3ac
8 changed files with 10 additions and 8 deletions

View file

@ -57,7 +57,7 @@ class DustOfMomentsEffect extends OneShotEffect {
" two time counters " +
(remove ? "from" : "on") +
" each permanent" +
(remove ? "" : "with a time counter on it") +
(remove ? "" : " with a time counter on it") +
" and each suspended card";
}

View file

@ -58,7 +58,7 @@ class MoltenDisasterSplitSecondEffect extends ContinuousRuleModifyingEffectImpl
MoltenDisasterSplitSecondEffect() {
super(Duration.WhileOnStack, Outcome.Detriment);
staticText = "if this spell was kicked, it has split second <i>(As long as this spell is on the stack, players can't cast spells or activate abilities that aren't mana abilities.)</i>";
staticText = "if this spell was kicked, it has split second. <i>(As long as this spell is on the stack, players can't cast spells or activate abilities that aren't mana abilities.)</i>";
}
MoltenDisasterSplitSecondEffect(final MoltenDisasterSplitSecondEffect effect) {

View file

@ -58,7 +58,7 @@ class SehtsTigerEffect extends OneShotEffect {
public SehtsTigerEffect() {
super(Outcome.Protect);
staticText = "you gain protection from the color of your choice until end of turn <i>(You can't be targeted, dealt damage, or enchanted by anything of the chosen color.)</i>";
staticText = "you gain protection from the color of your choice until end of turn. <i>(You can't be targeted, dealt damage, or enchanted by anything of the chosen color.)</i>";
}
public SehtsTigerEffect(final SehtsTigerEffect effect) {

View file

@ -64,7 +64,7 @@ class SpellweaverVoluteEffect extends OneShotEffect {
public SpellweaverVoluteEffect() {
super(Outcome.PlayForFree);
this.staticText = "copy the enchanted instant card. You may cast the copy without paying its mana cost. \n"
this.staticText = "copy the enchanted instant card. You may cast the copy without paying its mana cost. "
+ "If you do, exile the enchanted card and attach {this} to another instant card in a graveyard";
}

View file

@ -32,7 +32,7 @@ public final class Tarmogoyf extends CardImpl {
this.addAbility(new SimpleStaticAbility(
Zone.ALL,
new SetBasePowerToughnessSourceEffect(powerValue, toughnessValue, Duration.EndOfGame, SubLayer.CharacteristicDefining_7a)
.setText("{this}'s power is equal to the number of creature cards in all graveyards and its toughness is equal to that number plus 1")
.setText("{this}'s power is equal to the number of card types among cards in all graveyards and its toughness is equal to that number plus 1")
));
}

View file

@ -107,6 +107,7 @@ public class CardsInHandCondition implements Condition {
if (count > 0) {
sb.append("exactly ");
sb.append(CardUtil.numberToText(count));
sb.append(" ");
} else {
sb.append("no ");
}

View file

@ -6,6 +6,7 @@ import mage.abilities.condition.Condition;
import mage.abilities.effects.Effects;
import mage.abilities.effects.OneShotEffect;
import mage.game.Game;
import mage.util.CardUtil;
/**
* Adds condition to {@link OneShotEffect}. Acts as decorator.
@ -78,9 +79,9 @@ public class ConditionalOneShotEffect extends OneShotEffect {
return staticText;
}
if (otherwiseEffects.isEmpty()) {
return "if " + condition.toString() + ", " + effects.getText(mode);
return "if " + condition.toString() + ", " + CardUtil.getTextWithFirstCharLowerCase(effects.getText(mode));
}
return effects.getText(mode) + ". If " + condition.toString() + ", " + otherwiseEffects.getText(mode);
return effects.getText(mode) + ". If " + condition.toString() + ", " + CardUtil.getTextWithFirstCharLowerCase(otherwiseEffects.getText(mode));
}
@Override

View file

@ -113,6 +113,6 @@ public class BecomesColorSourceEffect extends ContinuousEffectImpl {
return staticText;
}
return "{this} becomes " + (setColor == null ? "the color of your choice" : setColor.getDescription())
+ (' ' + duration.toString()).trim();
+ (duration.toString().isEmpty() ? "" : " " + duration.toString());
}
}