forked from External/mage
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:
parent
57a556105c
commit
d806a6a3be
17 changed files with 47 additions and 69 deletions
|
|
@ -904,6 +904,14 @@ public final class CardUtil {
|
|||
return Outcome.BoostCreature;
|
||||
}
|
||||
|
||||
public static String getSimpleCountersText(int amount, String forOne, String counterType) {
|
||||
return numberToText(amount, forOne)+" "+counterType+" counter"+ (amount==1 ? "" : "s");
|
||||
}
|
||||
|
||||
public static String getOneOneCountersText(int amount) {
|
||||
return getSimpleCountersText(amount, "a", "+1/+1");
|
||||
}
|
||||
|
||||
public static String getAddRemoveCountersText(DynamicValue amount, Counter counter, String description, boolean add) {
|
||||
StringBuilder sb = new StringBuilder(add ? "put " : "remove ");
|
||||
boolean xValue = amount.toString().equals("X");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue