diff --git a/Mage.Sets/src/mage/cards/w/WatchfulBlisterzoa.java b/Mage.Sets/src/mage/cards/w/WatchfulBlisterzoa.java new file mode 100644 index 0000000000..8e1a044177 --- /dev/null +++ b/Mage.Sets/src/mage/cards/w/WatchfulBlisterzoa.java @@ -0,0 +1,56 @@ +package mage.cards.w; + +import mage.MageInt; +import mage.abilities.common.DiesSourceTriggeredAbility; +import mage.abilities.common.EntersBattlefieldAbility; +import mage.abilities.dynamicvalue.DynamicValue; +import mage.abilities.dynamicvalue.common.CountersSourceCount; +import mage.abilities.effects.common.DrawCardSourceControllerEffect; +import mage.abilities.effects.common.counter.AddCountersSourceEffect; +import mage.abilities.keyword.FlyingAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.counters.CounterType; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class WatchfulBlisterzoa extends CardImpl { + + private static final DynamicValue xValue = new CountersSourceCount(CounterType.OIL); + + public WatchfulBlisterzoa(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{U}{U}"); + + this.subtype.add(SubType.PHYREXIAN); + this.subtype.add(SubType.JELLYFISH); + this.power = new MageInt(4); + this.toughness = new MageInt(4); + + // Flying + this.addAbility(FlyingAbility.getInstance()); + + // Watchful Blisterzoa enters the battlefield with an oil counter on it. + this.addAbility(new EntersBattlefieldAbility( + new AddCountersSourceEffect(CounterType.OIL.createInstance()), + "with an oil counter on it" + )); + + // When Watchful Blisterzoa dies, draw cards equal to the number of oil counters on it. + this.addAbility(new DiesSourceTriggeredAbility(new DrawCardSourceControllerEffect(xValue) + .setText("draw cards equal to the number of oil counters on it"))); + } + + private WatchfulBlisterzoa(final WatchfulBlisterzoa card) { + super(card); + } + + @Override + public WatchfulBlisterzoa copy() { + return new WatchfulBlisterzoa(this); + } +} diff --git a/Mage.Sets/src/mage/sets/PhyrexiaAllWillBeOne.java b/Mage.Sets/src/mage/sets/PhyrexiaAllWillBeOne.java index b118946605..df3dc0abae 100644 --- a/Mage.Sets/src/mage/sets/PhyrexiaAllWillBeOne.java +++ b/Mage.Sets/src/mage/sets/PhyrexiaAllWillBeOne.java @@ -228,6 +228,7 @@ public final class PhyrexiaAllWillBeOne extends ExpansionSet { cards.add(new SetCardInfo("Vraan, Executioner Thane", 114, Rarity.RARE, mage.cards.v.VraanExecutionerThane.class)); cards.add(new SetCardInfo("Vraska's Fall", 116, Rarity.COMMON, mage.cards.v.VraskasFall.class)); cards.add(new SetCardInfo("Vulshok Splitter", 156, Rarity.COMMON, mage.cards.v.VulshokSplitter.class)); + cards.add(new SetCardInfo("Watchful Blisterzoa", 78, Rarity.UNCOMMON, mage.cards.w.WatchfulBlisterzoa.class)); cards.add(new SetCardInfo("Whisper of the Dross", 117, Rarity.COMMON, mage.cards.w.WhisperOfTheDross.class)); cards.add(new SetCardInfo("White Sun's Twilight", 38, Rarity.RARE, mage.cards.w.WhiteSunsTwilight.class)); cards.add(new SetCardInfo("Zealot's Conviction", 39, Rarity.COMMON, mage.cards.z.ZealotsConviction.class));