From 186239ffa08e27702a187fd02a4c444ee2552a54 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Tue, 21 Apr 2020 19:04:41 -0400 Subject: [PATCH] fixed Zirda, the Dawnwaker companion condition --- Mage.Sets/src/mage/cards/z/ZirdaTheDawnwaker.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Mage.Sets/src/mage/cards/z/ZirdaTheDawnwaker.java b/Mage.Sets/src/mage/cards/z/ZirdaTheDawnwaker.java index ec28a083fd..6e612343eb 100644 --- a/Mage.Sets/src/mage/cards/z/ZirdaTheDawnwaker.java +++ b/Mage.Sets/src/mage/cards/z/ZirdaTheDawnwaker.java @@ -4,7 +4,6 @@ import mage.MageInt; import mage.MageObject; import mage.Mana; import mage.abilities.Ability; -import mage.abilities.ActivatedAbility; import mage.abilities.common.SimpleActivatedAbility; import mage.abilities.common.SimpleStaticAbility; import mage.abilities.costs.common.TapSourceCost; @@ -79,7 +78,9 @@ enum ZirdaTheDawnwakerCompanionCondition implements CompanionCondition { .allMatch(card -> card .getAbilities() .stream() - .anyMatch(ActivatedAbility.class::isInstance) + .map(Ability::getAbilityType) + .anyMatch(abilityType -> abilityType == AbilityType.ACTIVATED + || abilityType == AbilityType.MANA) ); } }