forked from External/mage
refactor: improved target usage, replaced setNotTarget by withNotTarget
This commit is contained in:
parent
dbaa51f462
commit
4b3a19b4d5
385 changed files with 434 additions and 429 deletions
|
|
@ -2688,7 +2688,7 @@ public abstract class GameImpl implements Game {
|
|||
continue;
|
||||
}
|
||||
Target targetLegendaryToKeep = new TargetPermanent(filterLegendName);
|
||||
targetLegendaryToKeep.setNotTarget(true);
|
||||
targetLegendaryToKeep.withNotTarget(true);
|
||||
targetLegendaryToKeep.setTargetName(legend.getName() + " to keep (Legendary Rule)?");
|
||||
controller.choose(Outcome.Benefit, targetLegendaryToKeep, null, this);
|
||||
for (Permanent dupLegend : getBattlefield().getActivePermanents(filterLegendName, legend.getControllerId(), this)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue