diff --git a/Mage.Sets/src/mage/cards/d/DeepGoblinSkulltaker.java b/Mage.Sets/src/mage/cards/d/DeepGoblinSkulltaker.java new file mode 100644 index 00000000000..b136cd0247b --- /dev/null +++ b/Mage.Sets/src/mage/cards/d/DeepGoblinSkulltaker.java @@ -0,0 +1,50 @@ +package mage.cards.d; + +import mage.MageInt; +import mage.abilities.common.BeginningOfEndStepTriggeredAbility; +import mage.abilities.condition.common.DescendedThisTurnCondition; +import mage.abilities.dynamicvalue.common.DescendedThisTurnCount; +import mage.abilities.effects.common.counter.AddCountersSourceEffect; +import mage.abilities.keyword.MenaceAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.constants.TargetController; +import mage.counters.CounterType; +import mage.watchers.common.DescendedWatcher; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class DeepGoblinSkulltaker extends CardImpl { + + public DeepGoblinSkulltaker(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{B}"); + + this.subtype.add(SubType.GOBLIN); + this.subtype.add(SubType.WARRIOR); + this.power = new MageInt(2); + this.toughness = new MageInt(2); + + // Menace + this.addAbility(new MenaceAbility()); + + // At the beginning of your end step, if you descended this turn, put a +1/+1 counter on Deep Goblin Skulltaker. + this.addAbility(new BeginningOfEndStepTriggeredAbility( + new AddCountersSourceEffect(CounterType.P1P1.createInstance()), + TargetController.YOU, DescendedThisTurnCondition.instance, false + ).addHint(DescendedThisTurnCount.getHint()), new DescendedWatcher()); + } + + private DeepGoblinSkulltaker(final DeepGoblinSkulltaker card) { + super(card); + } + + @Override + public DeepGoblinSkulltaker copy() { + return new DeepGoblinSkulltaker(this); + } +} diff --git a/Mage.Sets/src/mage/sets/TheLostCavernsOfIxalan.java b/Mage.Sets/src/mage/sets/TheLostCavernsOfIxalan.java index 267bda53a01..29b672d388d 100644 --- a/Mage.Sets/src/mage/sets/TheLostCavernsOfIxalan.java +++ b/Mage.Sets/src/mage/sets/TheLostCavernsOfIxalan.java @@ -63,6 +63,7 @@ public final class TheLostCavernsOfIxalan extends ExpansionSet { cards.add(new SetCardInfo("Curator of Sun's Creation", 141, Rarity.UNCOMMON, mage.cards.c.CuratorOfSunsCreation.class)); cards.add(new SetCardInfo("Dauntless Dismantler", 8, Rarity.UNCOMMON, mage.cards.d.DauntlessDismantler.class)); cards.add(new SetCardInfo("Dead Weight", 99, Rarity.COMMON, mage.cards.d.DeadWeight.class)); + cards.add(new SetCardInfo("Deep Goblin Skulltaker", 101, Rarity.COMMON, mage.cards.d.DeepGoblinSkulltaker.class)); cards.add(new SetCardInfo("Deep-Cavern Bat", 102, Rarity.UNCOMMON, mage.cards.d.DeepCavernBat.class)); cards.add(new SetCardInfo("Deepfathom Echo", 228, Rarity.RARE, mage.cards.d.DeepfathomEcho.class)); cards.add(new SetCardInfo("Deeproot Pilgrimage", 52, Rarity.RARE, mage.cards.d.DeeprootPilgrimage.class));