mirror of
https://github.com/magefree/mage.git
synced 2026-01-09 20:32:06 -08:00
[FDN] Implement Scrawling Crawler
This commit is contained in:
parent
c3e0e215e5
commit
b774b22bd4
2 changed files with 46 additions and 0 deletions
45
Mage.Sets/src/mage/cards/s/ScrawlingCrawler.java
Normal file
45
Mage.Sets/src/mage/cards/s/ScrawlingCrawler.java
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
package mage.cards.s;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.DrawCardOpponentTriggeredAbility;
|
||||
import mage.abilities.effects.common.DrawCardAllEffect;
|
||||
import mage.abilities.effects.common.LoseLifeTargetEffect;
|
||||
import mage.abilities.triggers.BeginningOfUpkeepTriggeredAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class ScrawlingCrawler extends CardImpl {
|
||||
|
||||
public ScrawlingCrawler(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{3}");
|
||||
|
||||
this.subtype.add(SubType.PHYREXIAN);
|
||||
this.subtype.add(SubType.CONSTRUCT);
|
||||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// At the beginning of your upkeep, each player draws a card.
|
||||
this.addAbility(new BeginningOfUpkeepTriggeredAbility(new DrawCardAllEffect(1)));
|
||||
|
||||
// Whenever an opponent draws a card, that player loses 1 life.
|
||||
this.addAbility(new DrawCardOpponentTriggeredAbility(
|
||||
new LoseLifeTargetEffect(1), false, true
|
||||
));
|
||||
}
|
||||
|
||||
private ScrawlingCrawler(final ScrawlingCrawler card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ScrawlingCrawler copy() {
|
||||
return new ScrawlingCrawler(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -231,6 +231,7 @@ public final class Foundations extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Savage Ventmaw", 665, Rarity.UNCOMMON, mage.cards.s.SavageVentmaw.class));
|
||||
cards.add(new SetCardInfo("Savannah Lions", 146, Rarity.UNCOMMON, mage.cards.s.SavannahLions.class));
|
||||
cards.add(new SetCardInfo("Scavenging Ooze", 232, Rarity.RARE, mage.cards.s.ScavengingOoze.class));
|
||||
cards.add(new SetCardInfo("Scrawling Crawler", 132, Rarity.RARE, mage.cards.s.ScrawlingCrawler.class));
|
||||
cards.add(new SetCardInfo("Searslicer Goblin", 93, Rarity.RARE, mage.cards.s.SearslicerGoblin.class));
|
||||
cards.add(new SetCardInfo("Seeker's Folly", 69, Rarity.UNCOMMON, mage.cards.s.SeekersFolly.class));
|
||||
cards.add(new SetCardInfo("Seismic Rupture", 205, Rarity.UNCOMMON, mage.cards.s.SeismicRupture.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue