mirror of
https://github.com/magefree/mage.git
synced 2025-12-19 18:20:13 -08:00
change other 2 instance of isNotTarget
This commit is contained in:
parent
5c02780cc4
commit
faf2ca9eea
1 changed files with 2 additions and 2 deletions
|
|
@ -2221,7 +2221,7 @@ public class TestPlayer implements Player {
|
|||
continue;
|
||||
}
|
||||
if (hasObjectTargetNameOrAlias(permanent, targetName)) {
|
||||
if (target.isNotTarget() || target.canTarget(abilityControllerId, permanent.getId(), source, game)) {
|
||||
if (target.canTarget(abilityControllerId, permanent.getId(), source, game)) {
|
||||
if ((permanent.isCopy() && !originOnly) || (!permanent.isCopy() && !copyOnly)) {
|
||||
target.add(permanent.getId(), game);
|
||||
targetFound = true;
|
||||
|
|
@ -2229,7 +2229,7 @@ public class TestPlayer implements Player {
|
|||
}
|
||||
}
|
||||
} else if ((permanent.getName() + '-' + permanent.getExpansionSetCode()).equals(targetName)) { // TODO: remove search by exp code?
|
||||
if (target.isNotTarget() || target.canTarget(abilityControllerId, permanent.getId(), source, game)) {
|
||||
if (target.canTarget(abilityControllerId, permanent.getId(), source, game)) {
|
||||
if ((permanent.isCopy() && !originOnly) || (!permanent.isCopy() && !copyOnly)) {
|
||||
target.add(permanent.getId(), game);
|
||||
targetFound = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue