Merge pull request #1825 from Northmoc/bro_crown

BRO: Transmogrant's Crown and parsing tweaks
This commit is contained in:
Anthony Calosa
2022-11-08 19:25:09 +08:00
committed by GitHub
3 changed files with 10 additions and 2 deletions

View File

@@ -2886,7 +2886,7 @@ public class CardFactoryUtil {
abilityStr.append(" ").append(vstr);
}
Cost cost = new Cost(equipCost, true);
if (!cost.isOnlyManaCost() || altCost) { //Something other than a mana cost
if (!cost.isOnlyManaCost() || (altCost && extra.contains("<"))) { //Something other than a mana cost
abilityStr.append("");
} else {
abilityStr.append(" ");

View File

@@ -882,7 +882,7 @@ public abstract class SpellAbility extends CardTraitBase implements ISpellAbilit
sb.append(payCosts.toString());
sb.append(" or ").append(altOnlyMana ? alternateCost.toString() :
StringUtils.uncapitalize(alternateCost.toString()));
sb.append(isEquip() ? "." : "");
sb.append(isEquip() && !altOnlyMana ? "." : "");
} else {
sb.append(payCosts.toString());
}