diff --git a/Mage.Sets/src/mage/cards/v/ValiantKnight.java b/Mage.Sets/src/mage/cards/v/ValiantKnight.java new file mode 100644 index 0000000000..c3bcedc7de --- /dev/null +++ b/Mage.Sets/src/mage/cards/v/ValiantKnight.java @@ -0,0 +1,62 @@ +package mage.cards.v; + +import java.util.UUID; +import mage.MageInt; +import mage.abilities.common.SimpleActivatedAbility; +import mage.abilities.common.SimpleStaticAbility; +import mage.abilities.costs.mana.ManaCostsImpl; +import mage.abilities.effects.common.continuous.BoostControlledEffect; +import mage.abilities.effects.common.continuous.GainAbilityControlledEffect; +import mage.abilities.keyword.DoubleStrikeAbility; +import mage.constants.SubType; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.Duration; +import mage.constants.Zone; +import mage.filter.common.FilterCreaturePermanent; + +/** + * + * @author TheElk801 + */ +public final class ValiantKnight extends CardImpl { + + private static final FilterCreaturePermanent filter + = new FilterCreaturePermanent(SubType.KNIGHT, "Knights you control"); + + public ValiantKnight(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{W}"); + + this.subtype.add(SubType.HUMAN); + this.subtype.add(SubType.KNIGHT); + this.power = new MageInt(3); + this.toughness = new MageInt(4); + + // Other Knights you control get +1/+1. + this.addAbility(new SimpleStaticAbility( + Zone.BATTLEFIELD, + new BoostControlledEffect( + 1, 1, Duration.WhileOnBattlefield, + filter, true + ) + )); + + // {3}{W}{W}: Knights you control gain double strike until end of turn. + this.addAbility(new SimpleActivatedAbility( + new GainAbilityControlledEffect( + DoubleStrikeAbility.getInstance(), + Duration.EndOfTurn, filter + ), new ManaCostsImpl("{3}{W}{W}") + )); + } + + public ValiantKnight(final ValiantKnight card) { + super(card); + } + + @Override + public ValiantKnight copy() { + return new ValiantKnight(this); + } +} diff --git a/Mage.Sets/src/mage/sets/CoreSet2019.java b/Mage.Sets/src/mage/sets/CoreSet2019.java index b7db2a2a83..5522657958 100644 --- a/Mage.Sets/src/mage/sets/CoreSet2019.java +++ b/Mage.Sets/src/mage/sets/CoreSet2019.java @@ -215,6 +215,7 @@ public final class CoreSet2019 extends ExpansionSet { cards.add(new SetCardInfo("Uncomfortable Chill", 82, Rarity.COMMON, mage.cards.u.UncomfortableChill.class)); cards.add(new SetCardInfo("Ursine Champion", 304, Rarity.COMMON, mage.cards.u.UrsineChampion.class)); cards.add(new SetCardInfo("Vaevictis Asmadi, the Dire", 225, Rarity.MYTHIC, mage.cards.v.VaevictisAsmadiTheDire.class)); + cards.add(new SetCardInfo("Valiant Knight", 42, Rarity.RARE, mage.cards.v.ValiantKnight.class)); cards.add(new SetCardInfo("Vampire Sovereign", 125, Rarity.UNCOMMON, mage.cards.v.VampireSovereign.class)); cards.add(new SetCardInfo("Viashino Pyromancer", 166, Rarity.COMMON, mage.cards.v.ViashinoPyromancer.class)); cards.add(new SetCardInfo("Vine Mare", 207, Rarity.UNCOMMON, mage.cards.v.VineMare.class));