mirror of
https://github.com/magefree/mage.git
synced 2025-12-30 07:22:03 -08:00
[MKM] Implement Rot Farm Mortipede
This commit is contained in:
parent
ec9cb2745d
commit
5134a9e932
2 changed files with 53 additions and 0 deletions
52
Mage.Sets/src/mage/cards/r/RotFarmMortipede.java
Normal file
52
Mage.Sets/src/mage/cards/r/RotFarmMortipede.java
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
package mage.cards.r;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.CardsLeaveGraveyardTriggeredAbility;
|
||||
import mage.abilities.effects.common.continuous.BoostSourceEffect;
|
||||
import mage.abilities.effects.common.continuous.GainAbilitySourceEffect;
|
||||
import mage.abilities.keyword.LifelinkAbility;
|
||||
import mage.abilities.keyword.MenaceAbility;
|
||||
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 RotFarmMortipede extends CardImpl {
|
||||
|
||||
public RotFarmMortipede(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{B}");
|
||||
|
||||
this.subtype.add(SubType.INSECT);
|
||||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(4);
|
||||
|
||||
// Whenever one or more creature cards leave your graveyard, Rot Farm Mortipede gets +1/+0 and gains menace and lifelink until end of turn.
|
||||
Ability ability = new CardsLeaveGraveyardTriggeredAbility(new BoostSourceEffect(
|
||||
1, 0, Duration.EndOfTurn
|
||||
).setText("{this} gets +1/+0"), StaticFilters.FILTER_CARD_CREATURE);
|
||||
ability.addEffect(new GainAbilitySourceEffect(
|
||||
new MenaceAbility(false), Duration.EndOfTurn
|
||||
).setText("and gains menace"));
|
||||
ability.addEffect(new GainAbilitySourceEffect(
|
||||
LifelinkAbility.getInstance(), Duration.EndOfTurn
|
||||
).setText("and lifelink until end of turn"));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private RotFarmMortipede(final RotFarmMortipede card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public RotFarmMortipede copy() {
|
||||
return new RotFarmMortipede(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -124,6 +124,7 @@ public final class MurdersAtKarlovManor extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Raucous Theater", 266, Rarity.RARE, mage.cards.r.RaucousTheater.class));
|
||||
cards.add(new SetCardInfo("Red Herring", 142, Rarity.COMMON, mage.cards.r.RedHerring.class));
|
||||
cards.add(new SetCardInfo("Riftburst Hellion", 228, Rarity.COMMON, mage.cards.r.RiftburstHellion.class));
|
||||
cards.add(new SetCardInfo("Rot Farm Mortipede", 102, Rarity.COMMON, mage.cards.r.RotFarmMortipede.class));
|
||||
cards.add(new SetCardInfo("Rubblebelt Maverick", 174, Rarity.COMMON, mage.cards.r.RubblebeltMaverick.class));
|
||||
cards.add(new SetCardInfo("Sanguine Savior", 230, Rarity.COMMON, mage.cards.s.SanguineSavior.class));
|
||||
cards.add(new SetCardInfo("Sanitation Automaton", 256, Rarity.COMMON, mage.cards.s.SanitationAutomaton.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue