From b5150b760899d774de416f09c48487fcabbf178e Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Sat, 20 Aug 2022 10:17:38 -0400 Subject: [PATCH] [DMC] Implemented Two-Headed Hellkite --- .../src/mage/cards/t/TwoHeadedHellkite.java | 49 +++++++++++++++++++ .../mage/sets/DominariaUnitedCommander.java | 1 + 2 files changed, 50 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/t/TwoHeadedHellkite.java diff --git a/Mage.Sets/src/mage/cards/t/TwoHeadedHellkite.java b/Mage.Sets/src/mage/cards/t/TwoHeadedHellkite.java new file mode 100644 index 00000000000..27a36316377 --- /dev/null +++ b/Mage.Sets/src/mage/cards/t/TwoHeadedHellkite.java @@ -0,0 +1,49 @@ +package mage.cards.t; + +import mage.MageInt; +import mage.abilities.common.AttacksTriggeredAbility; +import mage.abilities.effects.common.DrawCardSourceControllerEffect; +import mage.abilities.keyword.FlyingAbility; +import mage.abilities.keyword.HasteAbility; +import mage.abilities.keyword.MenaceAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class TwoHeadedHellkite extends CardImpl { + + public TwoHeadedHellkite(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{W}{U}{B}{R}{G}"); + + this.subtype.add(SubType.DRAGON); + this.power = new MageInt(5); + this.toughness = new MageInt(5); + + // Flying + this.addAbility(FlyingAbility.getInstance()); + + // Menace + this.addAbility(new MenaceAbility()); + + // Haste + this.addAbility(HasteAbility.getInstance()); + + // Whenever Two-Headed Hellkite attacks, draw two cards. + this.addAbility(new AttacksTriggeredAbility(new DrawCardSourceControllerEffect(2))); + } + + private TwoHeadedHellkite(final TwoHeadedHellkite card) { + super(card); + } + + @Override + public TwoHeadedHellkite copy() { + return new TwoHeadedHellkite(this); + } +} diff --git a/Mage.Sets/src/mage/sets/DominariaUnitedCommander.java b/Mage.Sets/src/mage/sets/DominariaUnitedCommander.java index 9096e854009..fd6d8a2afd5 100644 --- a/Mage.Sets/src/mage/sets/DominariaUnitedCommander.java +++ b/Mage.Sets/src/mage/sets/DominariaUnitedCommander.java @@ -31,6 +31,7 @@ public final class DominariaUnitedCommander extends ExpansionSet { cards.add(new SetCardInfo("Path to Exile", 104, Rarity.UNCOMMON, mage.cards.p.PathToExile.class)); cards.add(new SetCardInfo("Surrak Dragonclaw", 169, Rarity.MYTHIC, mage.cards.s.SurrakDragonclaw.class)); cards.add(new SetCardInfo("Thrill of Possibility", 127, Rarity.COMMON, mage.cards.t.ThrillOfPossibility.class)); + cards.add(new SetCardInfo("Two-Headed Hellkite", 14, Rarity.RARE, mage.cards.t.TwoHeadedHellkite.class)); cards.add(new SetCardInfo("Zeriam, Golden Wind", 5, Rarity.RARE, mage.cards.z.ZeriamGoldenWind.class)); } }