mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
fixed Grim Captain's Call not restricting what's returnable.
This commit is contained in:
parent
cfb7ba82fb
commit
9449322d15
1 changed files with 2 additions and 2 deletions
|
@ -96,9 +96,9 @@ class GrimCaptainsCallEffect extends OneShotEffect {
|
|||
}
|
||||
|
||||
private void returnToHand(Game game, SubType subType, Player controller, Ability source) {
|
||||
FilterCreatureCard filter = new FilterCreatureCard();
|
||||
FilterCreatureCard filter = new FilterCreatureCard(subType.getDescription() + " card");
|
||||
filter.add(new SubtypePredicate(subType));
|
||||
TargetCardInYourGraveyard target = new TargetCardInYourGraveyard(new FilterCreatureCard());
|
||||
TargetCardInYourGraveyard target = new TargetCardInYourGraveyard(new FilterCreatureCard(filter));
|
||||
if (target.canChoose(source.getSourceId(), source.getControllerId(), game)) {
|
||||
if (controller.chooseTarget(outcome, target, source, game)) {
|
||||
Card card = game.getCard(target.getFirstTarget());
|
||||
|
|
Loading…
Reference in a new issue