* Lord Windgrace - Fixed tooltip rule text.

This commit is contained in:
LevelX2 2019-01-07 17:25:09 +01:00
parent e938f91e3e
commit 704972b6b1
3 changed files with 15 additions and 10 deletions

View file

@ -1,4 +1,3 @@
package mage.abilities.effects.common;
import java.util.UUID;
@ -100,7 +99,12 @@ public class DestroyTargetEffect extends OneShotEffect {
}
sb.append(targetName);
} else {
sb.append("Destroy ").append(CardUtil.numberToText(target.getNumberOfTargets())).append(" target ").append(target.getTargetName());
if (target.getMaxNumberOfTargets() == target.getMinNumberOfTargets()) {
sb.append("destroy ").append(CardUtil.numberToText(target.getNumberOfTargets()));
} else {
sb.append("destroy up to ").append(CardUtil.numberToText(target.getMaxNumberOfTargets()));
}
sb.append(" target ").append(target.getTargetName());
}
}
if (noRegen) {

View file

@ -405,13 +405,13 @@ public final class StaticFilters {
FILTER_PERMANENT_PLANESWALKER.setLockedFilter(true);
}
public static final FilterPermanent FILTER_PERMANENT_NON_LAND = new FilterNonlandPermanent();
public static final FilterNonlandPermanent FILTER_PERMANENT_NON_LAND = new FilterNonlandPermanent();
static {
FILTER_PERMANENT_NON_LAND.setLockedFilter(true);
}
public static final FilterPermanent FILTER_PERMANENTS_NON_LAND = new FilterNonlandPermanent("nonland permanents");
public static final FilterNonlandPermanent FILTER_PERMANENTS_NON_LAND = new FilterNonlandPermanent("nonland permanents");
static {
FILTER_PERMANENTS_NON_LAND.setLockedFilter(true);