mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
Fix #9578
This commit is contained in:
parent
b18cdeca21
commit
dbd09db223
1 changed files with 2 additions and 2 deletions
|
@ -85,13 +85,13 @@ class KeldonFlamesageEffect extends OneShotEffect {
|
||||||
);
|
);
|
||||||
filter.add(new ManaValuePredicate(ComparisonType.FEWER_THAN, power + 1));
|
filter.add(new ManaValuePredicate(ComparisonType.FEWER_THAN, power + 1));
|
||||||
TargetCard target = new TargetCardInLibrary(0, 1, filter);
|
TargetCard target = new TargetCardInLibrary(0, 1, filter);
|
||||||
player.choose(outcome, target, source, game);
|
player.choose(outcome, cards, target, game);
|
||||||
Card card = cards.get(target.getFirstTarget(), game);
|
Card card = cards.get(target.getFirstTarget(), game);
|
||||||
if (card != null) {
|
if (card != null) {
|
||||||
player.moveCards(card, Zone.EXILED, source, game);
|
player.moveCards(card, Zone.EXILED, source, game);
|
||||||
}
|
}
|
||||||
cards.retainZone(Zone.LIBRARY, game);
|
cards.retainZone(Zone.LIBRARY, game);
|
||||||
player.putCardsOnBottomOfLibrary(card, game, source, false);
|
player.putCardsOnBottomOfLibrary(cards, game, source, false);
|
||||||
CardUtil.castSpellWithAttributesForFree(player, source, game, card);
|
CardUtil.castSpellWithAttributesForFree(player, source, game, card);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue