forked from External/mage
Remove custom multitarget handling from DestroyTargetEffect (use EachTargetPointer instead)
This commit is contained in:
parent
addfd5166e
commit
e3b8a813e5
24 changed files with 124 additions and 217 deletions
|
|
@ -123,4 +123,9 @@ public class FirstTargetPointer extends TargetPointerImpl {
|
|||
public String describeTargets(Targets targets, String defaultDescription) {
|
||||
return targets.isEmpty() ? defaultDescription : targets.get(0).getDescription();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isPlural(Targets targets) {
|
||||
return !targets.isEmpty() && targets.get(0).getMaxNumberOfTargets() > 1;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue