various em dash text fixes

This commit is contained in:
Evan Kranzler 2019-01-26 13:44:39 -05:00
parent 3739325000
commit bd652632f9
7 changed files with 8 additions and 7 deletions

View file

@ -51,7 +51,7 @@ public class BuybackAbility extends StaticAbility implements OptionalAdditionalS
public BuybackAbility(Cost cost) {
super(Zone.STACK, new BuybackEffect());
this.buybackCost = new OptionalAdditionalCostImpl(keywordText, "-", reminderTextCost, cost);
this.buybackCost = new OptionalAdditionalCostImpl(keywordText, "—", reminderTextCost, cost);
setRuleAtTheTop(true);
}

View file

@ -134,7 +134,7 @@ public class FlashbackAbility extends SpellAbility {
public String getRule() {
StringBuilder sbRule = new StringBuilder("Flashback");
if (!costs.isEmpty()) {
sbRule.append(" - ");
sbRule.append("—");
} else {
sbRule.append(' ');
}

View file

@ -93,7 +93,7 @@ public class ModularAbility extends DiesTriggeredAbility {
public String getRule() {
StringBuilder sb = new StringBuilder("Modular");
if (sunburst) {
sb.append("-Sunburst <i>(This enters the battlefield with a +1/+1 counter on it for each color of mana spent to cast it. When it dies, you may put its +1/+1 counters on target artifact creature.)</i>");
sb.append("&mdash;Sunburst <i>(This enters the battlefield with a +1/+1 counter on it for each color of mana spent to cast it. When it dies, you may put its +1/+1 counters on target artifact creature.)</i>");
} else {
sb.append(' ').append(amount).append(" <i>(This enters the battlefield with ")
.append(CardUtil.numberToText(amount, "a"))

View file

@ -108,7 +108,8 @@ public class MorphAbility extends StaticAbility implements AlternativeSourceCost
name = ABILITY_KEYWORD;
for (Cost cost : morphCosts) {
if (!(cost instanceof ManaCosts)) {
sb.append("- ");
sb.setLength(sb.length() - 1);
sb.append("&mdash;");
break;
}
}

View file

@ -43,7 +43,7 @@ public class ReinforceAbility extends SimpleActivatedAbility {
@Override
public String getRule() {
StringBuilder sb = new StringBuilder("Reinforce ");
sb.append(count.toString()).append(" - ");
sb.append(count.toString()).append("&mdash;");
sb.append(cost.getText());
sb.append(" <i>(").append(cost.getText()).append(", Discard this card: Put ");
if (count.toString().equals("1")) {

View file

@ -112,7 +112,7 @@ public class SpliceOntoArcaneAbility extends SimpleStaticAbility {
@Override
public String getRule() {
StringBuilder sb = new StringBuilder();
sb.append(KEYWORD_TEXT).append(nonManaCosts ? "-" : " ");
sb.append(KEYWORD_TEXT).append(nonManaCosts ? "&mdash;" : " ");
sb.append(spliceCosts.getText()).append(nonManaCosts ? ". " : " ");
sb.append("<i>(As you cast an Arcane spell, you may reveal this card from your hand and pay its splice cost. If you do, add this card's effects to that spell.)</i>");
return sb.toString();

View file

@ -140,7 +140,7 @@ public class SuspendAbility extends SpecialAction {
}
StringBuilder sb = new StringBuilder("Suspend ");
if (cost != null) {
sb.append(suspend == Integer.MAX_VALUE ? "X" : suspend).append(" - ").append(cost.getText()).append(suspend == Integer.MAX_VALUE ? ". X can't be 0" : "");
sb.append(suspend == Integer.MAX_VALUE ? "X" : suspend).append("&mdash;").append(cost.getText()).append(suspend == Integer.MAX_VALUE ? ". X can't be 0" : "");
if (!shortRule) {
sb.append(" <i>(Rather than cast this card from your hand, pay ")
.append(cost.getText())