mirror of
https://github.com/correl/mage.git
synced 2024-11-14 19:19:32 +00:00
Fix wrong filter on HaloForagerCastEffect that was preventing cast (#10386)
This commit is contained in:
parent
24fdabfd0a
commit
8b91600cbf
1 changed files with 2 additions and 2 deletions
|
@ -104,7 +104,7 @@ class HaloForagerCastEffect extends OneShotEffect {
|
||||||
|
|
||||||
HaloForagerCastEffect(int costX) {
|
HaloForagerCastEffect(int costX) {
|
||||||
super(Outcome.Benefit);
|
super(Outcome.Benefit);
|
||||||
staticText = "you may cast target instant or sorcery card with mana value " + costX + " from a graveyard " +
|
staticText = "You may cast target instant or sorcery card with mana value " + costX + " from a graveyard " +
|
||||||
"without paying its mana cost. If that spell would be put into a graveyard, exile it instead";
|
"without paying its mana cost. If that spell would be put into a graveyard, exile it instead";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -124,7 +124,7 @@ class HaloForagerCastEffect extends OneShotEffect {
|
||||||
return player != null && card != null
|
return player != null && card != null
|
||||||
&& CardUtil.castSpellWithAttributesForFree(
|
&& CardUtil.castSpellWithAttributesForFree(
|
||||||
player, source, game, new CardsImpl(card),
|
player, source, game, new CardsImpl(card),
|
||||||
StaticFilters.FILTER_CARD_CREATURE, HaloForagerTracker.instance
|
StaticFilters.FILTER_CARD, HaloForagerTracker.instance
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue