- Fixed cost description for Cycling (Street Wraith)

This commit is contained in:
swordshine
2018-04-05 20:18:21 +08:00
parent d4ad66e2a5
commit a5ea35e6b7

View File

@@ -4131,12 +4131,14 @@ public class CardFactoryUtil {
} else if (keyword.startsWith("Cycling")) {
final String[] k = keyword.split(":");
final String manacost = k[1];
final Cost cost = new Cost(manacost, true);
StringBuilder sb = new StringBuilder();
sb.append("AB$ Draw | Cost$ ");
sb.append(manacost);
sb.append(" Discard<1/CARDNAME> | ActivationZone$ Hand | PrecostDesc$ Cycling | CostDesc$ ");
sb.append(ManaCostParser.parse(manacost));
sb.append(" Discard<1/CARDNAME> | ActivationZone$ Hand | PrecostDesc$ Cycling");
sb.append(cost.isOnlyManaCost() ? " " : "");
sb.append("| CostDesc$ " + cost.toSimpleString() + " ");
sb.append("| SpellDescription$ (").append(inst.getReminderText()).append(")");
SpellAbility sa = AbilityFactory.getAbility(sb.toString(), card);