[BRC] various text fixes

This commit is contained in:
Evan Kranzler 2022-11-08 19:11:22 -05:00
parent 7e550f463f
commit 5a8bea6e9c
14 changed files with 52 additions and 51 deletions

View file

@ -307,6 +307,11 @@ public class CreateTokenCopyTargetEffect extends OneShotEffect {
if (mode.getTargets().isEmpty()) {
throw new UnsupportedOperationException("Using default rule generation of target effect without having a target object");
}
if (mode.getTargets().get(0).getMinNumberOfTargets() == 0) {
sb.append("up to ");
sb.append(CardUtil.numberToText(mode.getTargets().get(0).getMaxNumberOfTargets()));
sb.append(' ');
}
String targetName = mode.getTargets().get(0).getTargetName();
if (!targetName.startsWith("another target")) {
sb.append("target ");

View file

@ -1,21 +1,15 @@
package mage.filter.common;
import mage.filter.FilterSpell;
import mage.filter.predicate.mageobject.HistoricPredicate;
/**
*
* @author igoudt
*/
public class FilterHistoricSpell extends FilterSpell {
public FilterHistoricSpell() {
this("historic spell");
}
public FilterHistoricSpell(String name) {
super(name);
super("a historic spell");
this.add(HistoricPredicate.instance);
}