Fix Sword of Once and Future (#10292)

This commit is contained in:
xenohedron 2023-04-29 20:09:49 -04:00 committed by GitHub
parent aaa92d5e46
commit 09464ef934
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -72,7 +72,7 @@ class SwordOfOnceAndFutureCastEffect extends OneShotEffect {
private static final FilterCard filter = new FilterInstantOrSorceryCard();
static {
filter.add(new ManaValuePredicate(ComparisonType.FEWER_THAN, 2));
filter.add(new ManaValuePredicate(ComparisonType.FEWER_THAN, 3));
}
SwordOfOnceAndFutureCastEffect() {
@ -97,7 +97,7 @@ class SwordOfOnceAndFutureCastEffect extends OneShotEffect {
return false;
}
return CardUtil.castSpellWithAttributesForFree(
player, source, game, new CardsImpl(player.getHand()),
player, source, game, new CardsImpl(player.getGraveyard()),
filter, SwordOfOnceAndFutureTracker.instance
);
}