mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 10:48:00 +00:00
- Fixed cost description for Cycling (Street Wraith)
This commit is contained in:
@@ -4131,12 +4131,14 @@ public class CardFactoryUtil {
|
|||||||
} else if (keyword.startsWith("Cycling")) {
|
} else if (keyword.startsWith("Cycling")) {
|
||||||
final String[] k = keyword.split(":");
|
final String[] k = keyword.split(":");
|
||||||
final String manacost = k[1];
|
final String manacost = k[1];
|
||||||
|
final Cost cost = new Cost(manacost, true);
|
||||||
|
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
sb.append("AB$ Draw | Cost$ ");
|
sb.append("AB$ Draw | Cost$ ");
|
||||||
sb.append(manacost);
|
sb.append(manacost);
|
||||||
sb.append(" Discard<1/CARDNAME> | ActivationZone$ Hand | PrecostDesc$ Cycling | CostDesc$ ");
|
sb.append(" Discard<1/CARDNAME> | ActivationZone$ Hand | PrecostDesc$ Cycling");
|
||||||
sb.append(ManaCostParser.parse(manacost));
|
sb.append(cost.isOnlyManaCost() ? " " : "—");
|
||||||
|
sb.append("| CostDesc$ " + cost.toSimpleString() + " ");
|
||||||
sb.append("| SpellDescription$ (").append(inst.getReminderText()).append(")");
|
sb.append("| SpellDescription$ (").append(inst.getReminderText()).append(")");
|
||||||
|
|
||||||
SpellAbility sa = AbilityFactory.getAbility(sb.toString(), card);
|
SpellAbility sa = AbilityFactory.getAbility(sb.toString(), card);
|
||||||
|
|||||||
Reference in New Issue
Block a user