mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 21:02:08 -08:00
[BRC] various text fixes
This commit is contained in:
parent
7e550f463f
commit
5a8bea6e9c
14 changed files with 52 additions and 51 deletions
|
|
@ -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 ");
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue