mirror of
https://github.com/magefree/mage.git
synced 2025-12-29 23:12:10 -08:00
* Lord Windgrace - Fixed tooltip rule text.
This commit is contained in:
parent
e938f91e3e
commit
704972b6b1
3 changed files with 15 additions and 10 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue