mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 10:40:06 -08:00
fix [FIN] Summon: Leviathan
This commit is contained in:
parent
173da04c33
commit
1fb4cecd6b
1 changed files with 5 additions and 3 deletions
|
|
@ -14,7 +14,7 @@ import mage.constants.CardType;
|
||||||
import mage.constants.Duration;
|
import mage.constants.Duration;
|
||||||
import mage.constants.SagaChapter;
|
import mage.constants.SagaChapter;
|
||||||
import mage.constants.SubType;
|
import mage.constants.SubType;
|
||||||
import mage.filter.FilterPermanent;
|
import mage.filter.common.FilterCreaturePermanent;
|
||||||
import mage.filter.predicate.Predicates;
|
import mage.filter.predicate.Predicates;
|
||||||
import mage.game.Game;
|
import mage.game.Game;
|
||||||
import mage.game.events.GameEvent;
|
import mage.game.events.GameEvent;
|
||||||
|
|
@ -27,10 +27,11 @@ import java.util.UUID;
|
||||||
*/
|
*/
|
||||||
public final class SummonLeviathan extends CardImpl {
|
public final class SummonLeviathan extends CardImpl {
|
||||||
|
|
||||||
private static final FilterPermanent filter = new FilterPermanent();
|
private static final FilterCreaturePermanent filter = new FilterCreaturePermanent();
|
||||||
|
|
||||||
static {
|
static {
|
||||||
filter.add(Predicates.not(SubType.KRAKEN.getPredicate()));
|
filter.add(Predicates.not(SubType.KRAKEN.getPredicate()));
|
||||||
|
filter.add(Predicates.not(SubType.LEVIATHAN.getPredicate()));
|
||||||
filter.add(Predicates.not(SubType.MERFOLK.getPredicate()));
|
filter.add(Predicates.not(SubType.MERFOLK.getPredicate()));
|
||||||
filter.add(Predicates.not(SubType.OCTOPUS.getPredicate()));
|
filter.add(Predicates.not(SubType.OCTOPUS.getPredicate()));
|
||||||
filter.add(Predicates.not(SubType.SERPENT.getPredicate()));
|
filter.add(Predicates.not(SubType.SERPENT.getPredicate()));
|
||||||
|
|
@ -102,6 +103,7 @@ class SummonLeviathanTriggeredAbility extends DelayedTriggeredAbility {
|
||||||
&& (permanent.hasSubtype(SubType.KRAKEN, game)
|
&& (permanent.hasSubtype(SubType.KRAKEN, game)
|
||||||
|| permanent.hasSubtype(SubType.LEVIATHAN, game)
|
|| permanent.hasSubtype(SubType.LEVIATHAN, game)
|
||||||
|| permanent.hasSubtype(SubType.MERFOLK, game)
|
|| permanent.hasSubtype(SubType.MERFOLK, game)
|
||||||
|| permanent.hasSubtype(SubType.OCTOPUS, game));
|
|| permanent.hasSubtype(SubType.OCTOPUS, game)
|
||||||
|
|| permanent.hasSubtype(SubType.SERPENT, game));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue