mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
Merge pull request #5696 from ketsuban/choose-not-target
Fix cards which incorrectly target rather than choose
This commit is contained in:
commit
9770175c11
1 changed files with 2 additions and 0 deletions
|
@ -88,6 +88,7 @@ class DawnbreakReclaimerEffect extends OneShotEffect {
|
|||
MageObject sourceObject = source.getSourceObject(game);
|
||||
if (controller != null && sourceObject != null) {
|
||||
TargetCardInOpponentsGraveyard targetOpponentGraveyard = new TargetCardInOpponentsGraveyard(new FilterCreatureCard("a creature card in an opponent's graveyard"));
|
||||
targetOpponentGraveyard.setNotTarget(true);
|
||||
Player opponent = null;
|
||||
Card cardOpponentGraveyard = null;
|
||||
targetOpponentGraveyard.setNotTarget(true);
|
||||
|
@ -102,6 +103,7 @@ class DawnbreakReclaimerEffect extends OneShotEffect {
|
|||
if (opponent == null) {
|
||||
// if no card from opponent was available controller has to chose an opponent to select a creature card in controllers graveyard
|
||||
TargetOpponent targetOpponent = new TargetOpponent(true);
|
||||
targetOpponent.setNotTarget(true);
|
||||
controller.choose(outcome, targetOpponent, source.getSourceId(), game);
|
||||
opponent = game.getPlayer(targetOpponent.getFirstTarget());
|
||||
if (opponent != null) {
|
||||
|
|
Loading…
Reference in a new issue