From a0185ba50ae7af6b39024689682043a0ef438ef1 Mon Sep 17 00:00:00 2001 From: xenohedron Date: Sun, 4 Jun 2023 22:03:38 +0300 Subject: [PATCH] Fix Donal, Herald of Wings (#10389) --- Mage.Sets/src/mage/cards/d/DonalHeraldOfWings.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Mage.Sets/src/mage/cards/d/DonalHeraldOfWings.java b/Mage.Sets/src/mage/cards/d/DonalHeraldOfWings.java index 238fabcadc..5f02b20a17 100644 --- a/Mage.Sets/src/mage/cards/d/DonalHeraldOfWings.java +++ b/Mage.Sets/src/mage/cards/d/DonalHeraldOfWings.java @@ -2,16 +2,15 @@ package mage.cards.d; import mage.MageInt; import mage.abilities.Ability; +import mage.abilities.common.SimpleStaticAbility; import mage.abilities.common.SpellCastControllerTriggeredAbility; import mage.abilities.effects.Effect; import mage.abilities.effects.OneShotEffect; +import mage.abilities.effects.common.continuous.SetBasePowerToughnessSourceEffect; import mage.abilities.keyword.FlyingAbility; import mage.cards.CardImpl; import mage.cards.CardSetInfo; -import mage.constants.CardType; -import mage.constants.Outcome; -import mage.constants.SubType; -import mage.constants.SuperType; +import mage.constants.*; import mage.filter.FilterSpell; import mage.filter.predicate.Predicates; import mage.filter.predicate.mageobject.AbilityPredicate; @@ -105,6 +104,9 @@ enum DonalHeraldOfWingsApplier implements StackObjectCopyApplier { copiedSpell.addSubType(SubType.SPIRIT); copiedSpell.getPower().setModifiedBaseValue(1); copiedSpell.getToughness().setModifiedBaseValue(1); + Ability ability = new SimpleStaticAbility(new SetBasePowerToughnessSourceEffect(1,1, Duration.Custom, SubLayer.SetPT_7b)); + ability.setRuleVisible(false); + copiedSpell.getAbilities().add(ability); } @Override