mirror of
https://github.com/magefree/mage.git
synced 2026-01-09 12:22:10 -08:00
fix Feather token (Everquill Phoenix) missing target
This commit is contained in:
parent
833e1e558c
commit
40bbf5f127
1 changed files with 3 additions and 1 deletions
|
|
@ -8,10 +8,11 @@ import mage.abilities.effects.common.ReturnFromGraveyardToBattlefieldTargetEffec
|
|||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.filter.FilterCard;
|
||||
import mage.target.common.TargetCardInYourGraveyard;
|
||||
|
||||
public final class FeatherToken extends TokenImpl {
|
||||
|
||||
private static final FilterCard filter = new FilterCard("Phoenix card");
|
||||
private static final FilterCard filter = new FilterCard("Phoenix card from your graveyard");
|
||||
|
||||
static {
|
||||
filter.add(SubType.PHOENIX.getPredicate());
|
||||
|
|
@ -25,6 +26,7 @@ public final class FeatherToken extends TokenImpl {
|
|||
new ReturnFromGraveyardToBattlefieldTargetEffect(true), new GenericManaCost(1)
|
||||
);
|
||||
ability.addCost(new SacrificeSourceCost());
|
||||
ability.addTarget(new TargetCardInYourGraveyard(filter));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue