mirror of
https://github.com/correl/mage.git
synced 2024-11-28 11:09:54 +00:00
[C19] fixed Gerrard, Weatherlight Hero returning all cards and not just ones which were put there this turn
This commit is contained in:
parent
a641ac5e6e
commit
3d015a50a0
1 changed files with 2 additions and 0 deletions
|
@ -11,6 +11,7 @@ import mage.cards.CardSetInfo;
|
|||
import mage.constants.*;
|
||||
import mage.filter.FilterCard;
|
||||
import mage.filter.predicate.Predicates;
|
||||
import mage.filter.predicate.card.PutIntoGraveFromBattlefieldThisTurnPredicate;
|
||||
import mage.game.Game;
|
||||
import mage.players.Player;
|
||||
import mage.watchers.common.CardsPutIntoGraveyardWatcher;
|
||||
|
@ -55,6 +56,7 @@ class GerrardWeatherlightHeroEffect extends OneShotEffect {
|
|||
private static final FilterCard filter = new FilterCard();
|
||||
|
||||
static {
|
||||
filter.add(PutIntoGraveFromBattlefieldThisTurnPredicate.instance);
|
||||
filter.add(Predicates.or(
|
||||
CardType.ARTIFACT.getPredicate(),
|
||||
CardType.CREATURE.getPredicate()
|
||||
|
|
Loading…
Reference in a new issue