mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
Prevent arbitrary library search triggers from Jace ultimate
This commit is contained in:
parent
bf4988382e
commit
b67107b1b5
1 changed files with 1 additions and 1 deletions
|
@ -265,7 +265,7 @@ class JaceArchitectOfThoughtEffect3 extends OneShotEffect {
|
||||||
playerName = "your";
|
playerName = "your";
|
||||||
}
|
}
|
||||||
TargetCardInLibrary target = new TargetCardInLibrary(new FilterNonlandCard(new StringBuilder("nonland card from ").append(playerName).append(" library").toString()));
|
TargetCardInLibrary target = new TargetCardInLibrary(new FilterNonlandCard(new StringBuilder("nonland card from ").append(playerName).append(" library").toString()));
|
||||||
if (controller.searchLibrary(target, game, playerId)) {
|
if (controller.searchLibrary(target, game, playerId, !checkList.contains(playerId))) {
|
||||||
checkList.add(playerId);
|
checkList.add(playerId);
|
||||||
UUID targetId = target.getFirstTarget();
|
UUID targetId = target.getFirstTarget();
|
||||||
Card card = player.getLibrary().remove(targetId, game);
|
Card card = player.getLibrary().remove(targetId, game);
|
||||||
|
|
Loading…
Reference in a new issue