mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 20:11:59 -08:00
[LCI] Implement Deep Goblin Skulltaker
This commit is contained in:
parent
d0808dc322
commit
e5cf74d37a
2 changed files with 51 additions and 0 deletions
50
Mage.Sets/src/mage/cards/d/DeepGoblinSkulltaker.java
Normal file
50
Mage.Sets/src/mage/cards/d/DeepGoblinSkulltaker.java
Normal file
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue