diff --git a/Mage.Sets/src/mage/cards/t/TreetopAmbusher.java b/Mage.Sets/src/mage/cards/t/TreetopAmbusher.java new file mode 100644 index 0000000000..1123c1820c --- /dev/null +++ b/Mage.Sets/src/mage/cards/t/TreetopAmbusher.java @@ -0,0 +1,49 @@ +package mage.cards.t; + +import mage.MageInt; +import mage.abilities.Ability; +import mage.abilities.common.AttacksTriggeredAbility; +import mage.abilities.effects.common.continuous.BoostTargetEffect; +import mage.abilities.keyword.DashAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.Duration; +import mage.constants.SubType; +import mage.target.common.TargetCreaturePermanent; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class TreetopAmbusher extends CardImpl { + + public TreetopAmbusher(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{G}"); + + this.subtype.add(SubType.ELF); + this.subtype.add(SubType.BERSERKER); + this.power = new MageInt(2); + this.toughness = new MageInt(1); + + // Dash {1}{G} + this.addAbility(new DashAbility(this, "{1}{G}")); + + // Whenever Treetop Ambusher attacks, target creature you control gets +1/+1 until end of turn. + Ability ability = new AttacksTriggeredAbility(new BoostTargetEffect( + 1, 1, Duration.EndOfTurn + ), false); + ability.addTarget(new TargetCreaturePermanent()); + this.addAbility(ability); + } + + private TreetopAmbusher(final TreetopAmbusher card) { + super(card); + } + + @Override + public TreetopAmbusher copy() { + return new TreetopAmbusher(this); + } +} diff --git a/Mage.Sets/src/mage/sets/ModernHorizons.java b/Mage.Sets/src/mage/sets/ModernHorizons.java index 199634d06b..8e67c4e301 100644 --- a/Mage.Sets/src/mage/sets/ModernHorizons.java +++ b/Mage.Sets/src/mage/sets/ModernHorizons.java @@ -213,6 +213,7 @@ public final class ModernHorizons extends ExpansionSet { cards.add(new SetCardInfo("Throes of Chaos", 150, Rarity.UNCOMMON, mage.cards.t.ThroesOfChaos.class)); cards.add(new SetCardInfo("Thundering Djinn", 215, Rarity.UNCOMMON, mage.cards.t.ThunderingDjinn.class)); cards.add(new SetCardInfo("Tranquil Thicket", 248, Rarity.UNCOMMON, mage.cards.t.TranquilThicket.class)); + cards.add(new SetCardInfo("Treetop Ambusher", 186, Rarity.COMMON, mage.cards.t.TreetopAmbusher.class)); cards.add(new SetCardInfo("Tribute Mage", 73, Rarity.UNCOMMON, mage.cards.t.TributeMage.class)); cards.add(new SetCardInfo("Trumpeting Herd", 187, Rarity.COMMON, mage.cards.t.TrumpetingHerd.class)); cards.add(new SetCardInfo("Twin-Silk Spider", 188, Rarity.COMMON, mage.cards.t.TwinSilkSpider.class));