[40K] Implemented Skorpekh Destroyer

This commit is contained in:
Evan Kranzler 2022-09-16 09:28:55 -04:00
parent 1cfbc3ce18
commit 7434a64ea4
2 changed files with 48 additions and 0 deletions

View file

@ -0,0 +1,47 @@
package mage.cards.s;
import mage.MageInt;
import mage.abilities.common.EntersBattlefieldControlledTriggeredAbility;
import mage.abilities.effects.common.continuous.GainAbilitySourceEffect;
import mage.abilities.keyword.DeathtouchAbility;
import mage.abilities.keyword.FirstStrikeAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.Duration;
import mage.constants.SubType;
import mage.filter.StaticFilters;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class SkorpekhDestroyer extends CardImpl {
public SkorpekhDestroyer(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{2}{B}{B}");
this.subtype.add(SubType.NECRON);
this.power = new MageInt(4);
this.toughness = new MageInt(2);
// Deathtouch
this.addAbility(DeathtouchAbility.getInstance());
// Hyperphase Threshers -- Whenever an artifact enters the battlefield under your control, Skorpekh Destroyer gains first strike until end of turn.
this.addAbility(new EntersBattlefieldControlledTriggeredAbility(
new GainAbilitySourceEffect(FirstStrikeAbility.getInstance(), Duration.EndOfTurn)
, StaticFilters.FILTER_CONTROLLED_PERMANENT_ARTIFACT_AN
).withFlavorWord("Hyperphase Threshers"));
}
private SkorpekhDestroyer(final SkorpekhDestroyer card) {
super(card);
}
@Override
public SkorpekhDestroyer copy() {
return new SkorpekhDestroyer(this);
}
}

View file

@ -118,6 +118,7 @@ public final class Warhammer40000 extends ExpansionSet {
cards.add(new SetCardInfo("Royal Warden", 52, Rarity.RARE, mage.cards.r.RoyalWarden.class));
cards.add(new SetCardInfo("Rugged Highlands", 292, Rarity.COMMON, mage.cards.r.RuggedHighlands.class));
cards.add(new SetCardInfo("Screamer-Killer", 84, Rarity.RARE, mage.cards.s.ScreamerKiller.class));
cards.add(new SetCardInfo("Skorpekh Destroyer", 57, Rarity.UNCOMMON, mage.cards.s.SkorpekhDestroyer.class));
cards.add(new SetCardInfo("Skorpekh Lord", 58, Rarity.RARE, mage.cards.s.SkorpekhLord.class));
cards.add(new SetCardInfo("Sol Ring", 249, Rarity.UNCOMMON, mage.cards.s.SolRing.class));
cards.add(new SetCardInfo("Starstorm", 208, Rarity.RARE, mage.cards.s.Starstorm.class));