From 066f24c90971fc56d0a4bb05d156abec160374ce Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Mon, 8 Jun 2020 10:00:32 -0400 Subject: [PATCH] Implemented Bolt Hound --- Mage.Sets/src/mage/cards/b/BoltHound.java | 45 +++++++++++++++++++++++ Mage.Sets/src/mage/sets/CoreSet2021.java | 1 + Utils/mtg-cards-data.txt | 1 + 3 files changed, 47 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/b/BoltHound.java diff --git a/Mage.Sets/src/mage/cards/b/BoltHound.java b/Mage.Sets/src/mage/cards/b/BoltHound.java new file mode 100644 index 0000000000..abda305699 --- /dev/null +++ b/Mage.Sets/src/mage/cards/b/BoltHound.java @@ -0,0 +1,45 @@ +package mage.cards.b; + +import mage.MageInt; +import mage.abilities.common.AttacksTriggeredAbility; +import mage.abilities.effects.common.continuous.BoostControlledEffect; +import mage.abilities.keyword.HasteAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.Duration; +import mage.constants.SubType; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class BoltHound extends CardImpl { + + public BoltHound(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{R}"); + + this.subtype.add(SubType.ELEMENTAL); + this.subtype.add(SubType.DOG); + this.power = new MageInt(2); + this.toughness = new MageInt(2); + + // Haste + this.addAbility(HasteAbility.getInstance()); + + // Whenever Bolt Hound attacks, other creatures you control get +1/+0 until end of turn. + this.addAbility(new AttacksTriggeredAbility(new BoostControlledEffect( + 1, 0, Duration.EndOfTurn, true + ), false)); + } + + private BoltHound(final BoltHound card) { + super(card); + } + + @Override + public BoltHound copy() { + return new BoltHound(this); + } +} diff --git a/Mage.Sets/src/mage/sets/CoreSet2021.java b/Mage.Sets/src/mage/sets/CoreSet2021.java index 0a39c2036a..90c475f098 100644 --- a/Mage.Sets/src/mage/sets/CoreSet2021.java +++ b/Mage.Sets/src/mage/sets/CoreSet2021.java @@ -39,6 +39,7 @@ public final class CoreSet2021 extends ExpansionSet { cards.add(new SetCardInfo("Baneslayer Angel", 6, Rarity.MYTHIC, mage.cards.b.BaneslayerAngel.class)); cards.add(new SetCardInfo("Basri's Aegis", 322, Rarity.RARE, mage.cards.b.BasrisAegis.class)); cards.add(new SetCardInfo("Basri, Devoted Paladin", 320, Rarity.MYTHIC, mage.cards.b.BasriDevotedPaladin.class)); + cards.add(new SetCardInfo("Bolt Hound", 131, Rarity.UNCOMMON, mage.cards.b.BoltHound.class)); cards.add(new SetCardInfo("Carrion Grub", 92, Rarity.UNCOMMON, mage.cards.c.CarrionGrub.class)); cards.add(new SetCardInfo("Chandra's Firemaw", 333, Rarity.RARE, mage.cards.c.ChandrasFiremaw.class)); cards.add(new SetCardInfo("Chandra, Flame's Catalyst", 332, Rarity.MYTHIC, mage.cards.c.ChandraFlamesCatalyst.class)); diff --git a/Utils/mtg-cards-data.txt b/Utils/mtg-cards-data.txt index ebb0d9f1fb..a11ca14ed5 100644 --- a/Utils/mtg-cards-data.txt +++ b/Utils/mtg-cards-data.txt @@ -37460,6 +37460,7 @@ Liliana, Waker of the Dead|Core Set 2021|108|M|{2}{B}{B}|Legendary Planeswalker Necromentia|Core Set 2021|116|R|{1}{B}{B}|Sorcery|||Choose a card name other than a basic land card name. Search target opponent's graveyard, hand, and library for any number of cards with that name and exile them. That player shuffles their library, then creates a 2/2 black Zombie creature token for each card exiled from their hand this way.| Peer into the Abyss|Core Set 2021|117|R|{4}{B}{B}{B}|Sorcery|||Target player draws cards equal to half the number of cards in their library and loses half their life. Round up each time.| Vito, Thorn of the Dusk Rose|Core Set 2021|127|R|{2}{B}|Legendary Creature - Vampire Cleric|1|3|Whenever you gain life, target opponent loses that much life.${3}{B}{B}: Creatures you control gain lifelink until end of turn.| +Bolt Hound|Core Set 2021|131|U|{2}{R}|Creature - Elemental Dog|2|2|Haste$Whenever Bolt Hound attacks, other creatures you control get +1/+0 until end of turn.| Double Vision|Core Set 2021|142|R|{3}{R}{R}|Enchantment|||Whenever you cast your first instant or sorcery spell each turn, copy that spell. You may choose new targets for the copy.| Gadrak, the Crown-Scourge|Core Set 2021|146|R|{2}{R}|Legendary Creature - Dragon|5|4|Flying$Gadrak, the Crown-Scourge can't attack unless you control four or more artifacts.$At the beginning of your end step, create a Treasure token for each nontoken creature that died this turn.| Azusa, Lost but Seeking|Core Set 2021|173|R|{2}{G}|Legendary Creature - Human Monk|1|2|You may play two additional lands on each of your turns.|