mirror of
https://github.com/correl/mage.git
synced 2025-04-08 01:01:04 -09:00
[KHM] fixed Roots of Wisdom being able to target any card
This commit is contained in:
parent
247933abde
commit
a9790d78db
1 changed files with 3 additions and 2 deletions
|
@ -45,10 +45,10 @@ class RootsOfWisdomEffect extends OneShotEffect {
|
|||
private static final FilterCard filter = new FilterCard("land card or Elf card");
|
||||
|
||||
static {
|
||||
Predicates.or(
|
||||
filter.add(Predicates.or(
|
||||
CardType.LAND.getPredicate(),
|
||||
SubType.ELF.getPredicate()
|
||||
);
|
||||
));
|
||||
}
|
||||
|
||||
RootsOfWisdomEffect() {
|
||||
|
@ -74,6 +74,7 @@ class RootsOfWisdomEffect extends OneShotEffect {
|
|||
}
|
||||
player.millCards(3, source, game);
|
||||
TargetCard targetCard = new TargetCardInYourGraveyard(filter);
|
||||
targetCard.setNotTarget(true);
|
||||
if (targetCard.canChoose(source.getSourceId(), source.getControllerId(), game)
|
||||
&& player.choose(outcome, targetCard, source.getSourceId(), game)) {
|
||||
Card card = player.getGraveyard().get(targetCard.getFirstTarget(), game);
|
||||
|
|
Loading…
Add table
Reference in a new issue