mirror of
https://github.com/correl/mage.git
synced 2025-01-13 11:01:58 +00:00
[ZNR] Implemented Ruin Crab
This commit is contained in:
parent
2dc68a4182
commit
af598df288
2 changed files with 39 additions and 0 deletions
38
Mage.Sets/src/mage/cards/r/RuinCrab.java
Normal file
38
Mage.Sets/src/mage/cards/r/RuinCrab.java
Normal file
|
@ -0,0 +1,38 @@
|
|||
package mage.cards.r;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.LandfallAbility;
|
||||
import mage.abilities.effects.common.PutTopCardOfLibraryIntoGraveEachPlayerEffect;
|
||||
import mage.constants.SubType;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.TargetController;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class RuinCrab extends CardImpl {
|
||||
|
||||
public RuinCrab(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "U");
|
||||
|
||||
this.subtype.add(SubType.CRAB);
|
||||
this.power = new MageInt(0);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// Landfall - Whenever a land enters the battlefield under your control, each opponent mills 3 cards.
|
||||
this.addAbility(new LandfallAbility(new PutTopCardOfLibraryIntoGraveEachPlayerEffect(3, TargetController.OPPONENT), false));
|
||||
}
|
||||
|
||||
private RuinCrab(final RuinCrab card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public RuinCrab copy() {
|
||||
return new RuinCrab(this);
|
||||
}
|
||||
}
|
|
@ -32,5 +32,6 @@ public final class ZendikarRising extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Lotus Cobra", 193, Rarity.RARE, mage.cards.l.LotusCobra.class));
|
||||
cards.add(new SetCardInfo("Murasa Rootgrazer", 229, Rarity.UNCOMMON, mage.cards.m.MurasaRootgrazer.class));
|
||||
cards.add(new SetCardInfo("Nahiri, Heir of the Ancients", 230, Rarity.MYTHIC, mage.cards.n.NahiriHeirOfTheAncients.class));
|
||||
cards.add(new SetCardInfo("Ruin Crab", 75, Rarity.UNCOMMON, mage.cards.r.RuinCrab.class));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue