Fixed Urza's Ajani ability targetting issue

This commit is contained in:
L_J 2019-01-20 08:33:27 +01:00 committed by GitHub
parent a48ed51373
commit 870bc189a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -471,7 +471,7 @@ class UrzaAcademyHeadmasterRandomEffect extends OneShotEffect {
game.informPlayers(sb.toString());
if (target != null) {
if (target.canChoose(source.getSourceId(), controller.getId(), game) && controller.canRespond()) {
controller.chooseTarget(outcome, target, source, game);
target.chooseTarget(outcome, controller.getId(), source, game);
} else {
// 1/19/2018 (...) If the ability that comes up requires a target and there are no legal targets available, click again until thats not true.
game.informPlayers("[URZA] Target can't be chosen, picking next ability...");