mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 04:42:07 -08:00
Remove prompting user to select creature for The True Scriptures if opponent controls none
This commit is contained in:
parent
f4d6294148
commit
b0b084a5dd
1 changed files with 4 additions and 1 deletions
|
|
@ -91,9 +91,12 @@ enum TheTrueScripturesAdjuster implements TargetAdjuster {
|
|||
continue;
|
||||
}
|
||||
FilterPermanent filter = new FilterCreatureOrPlaneswalkerPermanent(
|
||||
"creature or planswalker controlled by " + player.getName()
|
||||
"creature or planeswalker controlled by " + player.getName()
|
||||
);
|
||||
filter.add(new ControllerIdPredicate(playerId));
|
||||
if (game.getBattlefield().count(filter, ability.getControllerId(), ability, game) == 0) {
|
||||
continue;
|
||||
}
|
||||
ability.addTarget(new TargetPermanent(0, 1, filter));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue