mirror of
https://github.com/correl/mage.git
synced 2024-11-29 03:00:12 +00:00
Fix Donal, Herald of Wings (#10389)
This commit is contained in:
parent
27e3010139
commit
a0185ba50a
1 changed files with 6 additions and 4 deletions
|
@ -2,16 +2,15 @@ package mage.cards.d;
|
||||||
|
|
||||||
import mage.MageInt;
|
import mage.MageInt;
|
||||||
import mage.abilities.Ability;
|
import mage.abilities.Ability;
|
||||||
|
import mage.abilities.common.SimpleStaticAbility;
|
||||||
import mage.abilities.common.SpellCastControllerTriggeredAbility;
|
import mage.abilities.common.SpellCastControllerTriggeredAbility;
|
||||||
import mage.abilities.effects.Effect;
|
import mage.abilities.effects.Effect;
|
||||||
import mage.abilities.effects.OneShotEffect;
|
import mage.abilities.effects.OneShotEffect;
|
||||||
|
import mage.abilities.effects.common.continuous.SetBasePowerToughnessSourceEffect;
|
||||||
import mage.abilities.keyword.FlyingAbility;
|
import mage.abilities.keyword.FlyingAbility;
|
||||||
import mage.cards.CardImpl;
|
import mage.cards.CardImpl;
|
||||||
import mage.cards.CardSetInfo;
|
import mage.cards.CardSetInfo;
|
||||||
import mage.constants.CardType;
|
import mage.constants.*;
|
||||||
import mage.constants.Outcome;
|
|
||||||
import mage.constants.SubType;
|
|
||||||
import mage.constants.SuperType;
|
|
||||||
import mage.filter.FilterSpell;
|
import mage.filter.FilterSpell;
|
||||||
import mage.filter.predicate.Predicates;
|
import mage.filter.predicate.Predicates;
|
||||||
import mage.filter.predicate.mageobject.AbilityPredicate;
|
import mage.filter.predicate.mageobject.AbilityPredicate;
|
||||||
|
@ -105,6 +104,9 @@ enum DonalHeraldOfWingsApplier implements StackObjectCopyApplier {
|
||||||
copiedSpell.addSubType(SubType.SPIRIT);
|
copiedSpell.addSubType(SubType.SPIRIT);
|
||||||
copiedSpell.getPower().setModifiedBaseValue(1);
|
copiedSpell.getPower().setModifiedBaseValue(1);
|
||||||
copiedSpell.getToughness().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
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue