Changing the mana cost 2 to {2} for the [[Rout]] ability

K:You may cast CARDNAME as though it had flash if you pay 2 more to cast it. -> K:You may cast CARDNAME as though it had flash if you pay {2} more to cast it.

This may break something. If so, whoops
This commit is contained in:
Indigo Dragon
2017-09-02 14:27:29 +00:00
parent bb82c6fa02
commit bd9b05463e
8 changed files with 44 additions and 44 deletions

View File

@@ -198,7 +198,7 @@ public final class GameActionUtil {
}
alternatives.add(flashback);
}
if (sa.isSpell() && keyword.equals("You may cast CARDNAME as though it had flash if you pay 2 more to cast it.")) {
if (sa.isSpell() && keyword.equals("You may cast CARDNAME as though it had flash if you pay {2} more to cast it.")) {
final SpellAbility newSA = sa.copy();
newSA.setBasicSpell(false);
ManaCostBeingPaid newCost = new ManaCostBeingPaid(source.getManaCost());

View File

@@ -1971,7 +1971,7 @@ public class Card extends GameEntity implements Comparable<Card> {
sb.append(keyword).append("\r\n");
} else if (keyword.equals("Aftermath")) {
sb.append(Keyword.getInstance(keyword).getReminderText()).append("\r\n");
} else if (keyword.equals("You may cast CARDNAME as though it had flash if you pay 2 more to cast it.")) {
} else if (keyword.equals("You may cast CARDNAME as though it had flash if you pay {2} more to cast it.")) {
sb.append(keyword).append("\r\n");
} else if (keyword.startsWith("Flashback")) {
sb.append("Flashback");