Counter text improvements (plus a Magus Lucea Kane gameplay fix) (#11503)

* Improve text generation for some counter abilities

* Magus Lucea Kane must apply to permanent spells (bugfix, related to #11440)

* Further improve text generation of counter text

* Text improvements to a couple cards

* Graft text improvements

* Further remove unused variable

* Be consistent on Backup ability setup, revert Thalia's Lieutenant (filter reuse means it doesn't work)

* Thalia's Lieutenant original text was slightly wrong, fixed
This commit is contained in:
ssk97 2023-12-03 18:42:16 -08:00 committed by GitHub
parent 57a556105c
commit d806a6a3be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 47 additions and 69 deletions

View file

@ -87,12 +87,9 @@ public class GraftAbility extends TriggeredAbilityImpl {
@Override
public String getRule() {
StringBuilder sb = new StringBuilder("Graft");
sb.append(' ').append(amount).append(" <i>(This ").append(cardtype).append(" enters the battlefield with ")
.append(amount == 1 ? "a" : CardUtil.numberToText(amount))
.append(" +1/+1 counter on it. Whenever a creature enters the battlefield, you may move a +1/+1 counter from this ")
.append(cardtype).append(" onto it.)</i>");
return sb.toString();
return "Graft" + ' ' + amount + " <i>(This " + cardtype + " enters the battlefield with "
+ CardUtil.getOneOneCountersText(amount) + " on it. Whenever " + (cardtype.contains("creature") ? "another" : "a")
+ " creature enters the battlefield, you may move a +1/+1 counter from this " + cardtype + " onto it.)</i>";
}
}
@ -103,7 +100,7 @@ class GraftStaticAbility extends StaticAbility {
public GraftStaticAbility(int amount) {
super(Zone.ALL, new EntersBattlefieldEffect(new AddCountersSourceEffect(CounterType.P1P1.createInstance(amount))));
ruleText = new StringBuilder("This enters the battlefield with ").append(amount).append(" +1/+1 counter on it.").toString();
ruleText = "This enters the battlefield with " + CardUtil.getOneOneCountersText(amount) + " on it.";
this.setRuleVisible(false);
}