forked from External/mage
[PIP] Rampaging Yao Guai, Wild Wasteland, Synth Infiltrator, Paladin Elizabeth Taggerdy (#12613)
* Rampaging Yao Guai
* Wild Wasteland
* Synth Infiltrator
* Paladin Elizabeth Taggerdy
* Fix not including target count if name contains X value
* Fix missing {this}
This commit is contained in:
parent
82a7769cbd
commit
4c8f60e3a2
6 changed files with 310 additions and 1 deletions
|
|
@ -106,7 +106,7 @@ public abstract class TargetImpl implements Target {
|
|||
if (min > 0 && max == Integer.MAX_VALUE) {
|
||||
sb.append(CardUtil.numberToText(min));
|
||||
sb.append(" or more ");
|
||||
} else if (!getTargetName().contains("X") && (min != 1 || max != 1)) {
|
||||
} else if (!getTargetName().startsWith("X ") && (min != 1 || max != 1)) {
|
||||
if (min < max && max != Integer.MAX_VALUE) {
|
||||
if (min == 1 && max == 2) {
|
||||
sb.append("one or ");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue