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

@ -16,25 +16,16 @@ import mage.util.CardUtil;
*/
public class PutCountersSourceCost extends CostImpl {
private final int amount;
private final String name;
private final Counter counter;
public PutCountersSourceCost(Counter counter) {
this.counter = counter.copy();
this.amount = counter.getCount();
this.name = counter.getName();
this.text = new StringBuilder("Put ").append((amount == 1 ? "a" : CardUtil.numberToText(amount)))
.append(' ').append(name).append(" counter").append((amount != 1 ? "s" : ""))
.append(" on {this}").toString();
this.text = "Put " + counter.getDescription() + " on {this}";
}
public PutCountersSourceCost(PutCountersSourceCost cost) {
super(cost);
this.counter = cost.counter;
this.amount = cost.amount;
this.name = cost.name;
}
@Override