From 437c3c2d6749964eba8940522fd4da778eafaeed Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Sat, 3 Apr 2021 07:46:38 -0400 Subject: [PATCH] [STX] Implemented Professor of Zoomancy --- .../src/mage/cards/p/ProfessorOfZoomancy.java | 39 +++++++++++++++++++ .../mage/sets/StrixhavenSchoolOfMages.java | 1 + 2 files changed, 40 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/p/ProfessorOfZoomancy.java diff --git a/Mage.Sets/src/mage/cards/p/ProfessorOfZoomancy.java b/Mage.Sets/src/mage/cards/p/ProfessorOfZoomancy.java new file mode 100644 index 0000000000..da4f6e92fc --- /dev/null +++ b/Mage.Sets/src/mage/cards/p/ProfessorOfZoomancy.java @@ -0,0 +1,39 @@ +package mage.cards.p; + +import mage.MageInt; +import mage.abilities.common.EntersBattlefieldTriggeredAbility; +import mage.abilities.effects.common.CreateTokenEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.game.permanent.token.WitherbloomToken; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class ProfessorOfZoomancy extends CardImpl { + + public ProfessorOfZoomancy(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{G}"); + + this.subtype.add(SubType.BEAR); + this.subtype.add(SubType.DRUID); + this.power = new MageInt(4); + this.toughness = new MageInt(3); + + // When Professor of Zoomancy enters the battlefield, create a 1/1 black and green Pest creature token with "When this creature dies, you gain 1 life." + this.addAbility(new EntersBattlefieldTriggeredAbility(new CreateTokenEffect(new WitherbloomToken()))); + } + + private ProfessorOfZoomancy(final ProfessorOfZoomancy card) { + super(card); + } + + @Override + public ProfessorOfZoomancy copy() { + return new ProfessorOfZoomancy(this); + } +} diff --git a/Mage.Sets/src/mage/sets/StrixhavenSchoolOfMages.java b/Mage.Sets/src/mage/sets/StrixhavenSchoolOfMages.java index e125cd86c6..52b04695ea 100644 --- a/Mage.Sets/src/mage/sets/StrixhavenSchoolOfMages.java +++ b/Mage.Sets/src/mage/sets/StrixhavenSchoolOfMages.java @@ -130,6 +130,7 @@ public final class StrixhavenSchoolOfMages extends ExpansionSet { cards.add(new SetCardInfo("Prismari Pledgemage", 215, Rarity.COMMON, mage.cards.p.PrismariPledgemage.class)); cards.add(new SetCardInfo("Professor Onyx", 83, Rarity.MYTHIC, mage.cards.p.ProfessorOnyx.class)); cards.add(new SetCardInfo("Professor of Symbology", 24, Rarity.UNCOMMON, mage.cards.p.ProfessorOfSymbology.class)); + cards.add(new SetCardInfo("Professor of Zoomancy", 140, Rarity.COMMON, mage.cards.p.ProfessorOfZoomancy.class)); cards.add(new SetCardInfo("Quandrix Apprentice", 216, Rarity.UNCOMMON, mage.cards.q.QuandrixApprentice.class)); cards.add(new SetCardInfo("Quandrix Campus", 271, Rarity.COMMON, mage.cards.q.QuandrixCampus.class)); cards.add(new SetCardInfo("Quandrix Command", 217, Rarity.RARE, mage.cards.q.QuandrixCommand.class));