diff --git a/Mage.Sets/src/mage/cards/b/BloodAgeGeneral.java b/Mage.Sets/src/mage/cards/b/BloodAgeGeneral.java new file mode 100644 index 00000000000..42169a32278 --- /dev/null +++ b/Mage.Sets/src/mage/cards/b/BloodAgeGeneral.java @@ -0,0 +1,51 @@ +package mage.cards.b; + +import mage.MageInt; +import mage.abilities.common.SimpleActivatedAbility; +import mage.abilities.costs.common.TapSourceCost; +import mage.abilities.effects.common.continuous.BoostControlledEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.Duration; +import mage.constants.SubType; +import mage.filter.common.FilterAttackingCreature; +import mage.filter.common.FilterCreaturePermanent; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class BloodAgeGeneral extends CardImpl { + + private static final FilterCreaturePermanent filter + = new FilterAttackingCreature("attacking Spirits you control"); + + static { + filter.add(SubType.SPIRIT.getPredicate()); + } + + public BloodAgeGeneral(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{R}"); + + this.subtype.add(SubType.SPIRIT); + this.subtype.add(SubType.WARRIOR); + this.power = new MageInt(2); + this.toughness = new MageInt(2); + + // {T}: Attacking Spirits you control get +1/+0 until end of turn. + this.addAbility(new SimpleActivatedAbility(new BoostControlledEffect( + 1, 0, Duration.EndOfTurn, filter + ), new TapSourceCost())); + } + + private BloodAgeGeneral(final BloodAgeGeneral card) { + super(card); + } + + @Override + public BloodAgeGeneral copy() { + return new BloodAgeGeneral(this); + } +} diff --git a/Mage.Sets/src/mage/sets/StrixhavenSchoolOfMages.java b/Mage.Sets/src/mage/sets/StrixhavenSchoolOfMages.java index 2e59c69a331..4ba45f47147 100644 --- a/Mage.Sets/src/mage/sets/StrixhavenSchoolOfMages.java +++ b/Mage.Sets/src/mage/sets/StrixhavenSchoolOfMages.java @@ -43,6 +43,7 @@ public final class StrixhavenSchoolOfMages extends ExpansionSet { cards.add(new SetCardInfo("Beaming Defiance", 9, Rarity.COMMON, mage.cards.b.BeamingDefiance.class)); cards.add(new SetCardInfo("Biomathematician", 164, Rarity.COMMON, mage.cards.b.Biomathematician.class)); cards.add(new SetCardInfo("Blade Historian", 165, Rarity.RARE, mage.cards.b.BladeHistorian.class)); + cards.add(new SetCardInfo("Blood Age General", 93, Rarity.COMMON, mage.cards.b.BloodAgeGeneral.class)); cards.add(new SetCardInfo("Blot Out the Sky", 167, Rarity.MYTHIC, mage.cards.b.BlotOutTheSky.class)); cards.add(new SetCardInfo("Body of Research", 168, Rarity.MYTHIC, mage.cards.b.BodyOfResearch.class)); cards.add(new SetCardInfo("Bury in Books", 39, Rarity.COMMON, mage.cards.b.BuryInBooks.class));