mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
Minor Reincarnation fix
This commit is contained in:
parent
3d1676f954
commit
ee95b39960
1 changed files with 1 additions and 0 deletions
|
@ -143,6 +143,7 @@ class ReincarnationDelayedEffect extends OneShotEffect {
|
||||||
FilterCreatureCard filter = new FilterCreatureCard("a creature card from " + player.getName() + "'s graveyard");
|
FilterCreatureCard filter = new FilterCreatureCard("a creature card from " + player.getName() + "'s graveyard");
|
||||||
filter.add(new OwnerIdPredicate(player.getId()));
|
filter.add(new OwnerIdPredicate(player.getId()));
|
||||||
Target targetCreature = new TargetCardInGraveyard(filter);
|
Target targetCreature = new TargetCardInGraveyard(filter);
|
||||||
|
targetCreature.setNotTarget(true);
|
||||||
if (targetCreature.canChoose(source.getSourceId(), controller.getId(), game)
|
if (targetCreature.canChoose(source.getSourceId(), controller.getId(), game)
|
||||||
&& controller.chooseTarget(outcome, targetCreature, source, game)) {
|
&& controller.chooseTarget(outcome, targetCreature, source, game)) {
|
||||||
Card card = game.getCard(targetCreature.getFirstTarget());
|
Card card = game.getCard(targetCreature.getFirstTarget());
|
||||||
|
|
Loading…
Reference in a new issue