Miscellaneous fixes and adjustments

This commit is contained in:
Hythonia
2021-03-07 11:39:10 +01:00
parent a8c01b4487
commit ecff4f02a3
21 changed files with 28 additions and 39 deletions

View File

@@ -29,7 +29,7 @@ public class ActivateAbilityEffect extends SpellAbilityEffect {
sb.append(" activates ");
sb.append(Lang.nounWithAmount(1, sa.hasParam("ManaAbility") ? "mana ability" : "ability"));
sb.append(" of each ").append(sa.getParamOrDefault("Type", "Card"));
sb.append(" he or she controls.");
sb.append(" they control.");
return sb.toString();
}

View File

@@ -670,6 +670,11 @@ public class CardFactory {
state.setBaseLoyalty(String.valueOf(sa.getParam("SetLoyalty")));
}
// Planning a Vizier of Many Faces rework; always might come in handy
if (sa.hasParam("RemoveCost")) {
state.setManaCost(ManaCost.NO_COST);
}
// SVars to add to clone
if (sa.hasParam("AddSVars") || sa.hasParam("GainTextSVars")) {
final String str = sa.getParamOrDefault("GainTextSVars", sa.getParam("AddSVars"));