mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 12:02:01 -08:00
[MOM] Implement Vengeant Earth
This commit is contained in:
parent
c1073ee801
commit
e6ff393db6
2 changed files with 53 additions and 0 deletions
52
Mage.Sets/src/mage/cards/v/VengeantEarth.java
Normal file
52
Mage.Sets/src/mage/cards/v/VengeantEarth.java
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
package mage.cards.v;
|
||||
|
||||
import mage.abilities.effects.common.combat.MustBeBlockedByAtLeastOneTargetEffect;
|
||||
import mage.abilities.effects.common.continuous.BecomesCreatureTargetEffect;
|
||||
import mage.abilities.keyword.HasteAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.SubType;
|
||||
import mage.filter.FilterPermanent;
|
||||
import mage.filter.common.FilterControlledPermanent;
|
||||
import mage.filter.predicate.Predicates;
|
||||
import mage.game.permanent.token.custom.CreatureToken;
|
||||
import mage.target.TargetPermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class VengeantEarth extends CardImpl {
|
||||
|
||||
private static final FilterPermanent filter = new FilterControlledPermanent("creature or land you control");
|
||||
|
||||
static {
|
||||
filter.add(Predicates.or(
|
||||
CardType.CREATURE.getPredicate(),
|
||||
CardType.LAND.getPredicate()
|
||||
));
|
||||
}
|
||||
|
||||
public VengeantEarth(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{G}");
|
||||
|
||||
// Target creature or land you control becomes a 4/4 Elemental creature with haste in addition to its other types until end of turn. It must be blocked this turn if able.
|
||||
this.getSpellAbility().addEffect(new BecomesCreatureTargetEffect(new CreatureToken(
|
||||
4, 4, "4/4 Elemental creature with haste", SubType.ELEMENTAL
|
||||
).withAbility(HasteAbility.getInstance()), false, false, Duration.EndOfTurn));
|
||||
this.getSpellAbility().addEffect(new MustBeBlockedByAtLeastOneTargetEffect().setText("it must be blocked this turn if able"));
|
||||
this.getSpellAbility().addTarget(new TargetPermanent(filter));
|
||||
}
|
||||
|
||||
private VengeantEarth(final VengeantEarth card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VengeantEarth copy() {
|
||||
return new VengeantEarth(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -236,6 +236,7 @@ public final class MarchOfTheMachine extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Unseal the Necropolis", 128, Rarity.COMMON, mage.cards.u.UnsealTheNecropolis.class));
|
||||
cards.add(new SetCardInfo("Urn of Godfire", 266, Rarity.COMMON, mage.cards.u.UrnOfGodfire.class));
|
||||
cards.add(new SetCardInfo("Vanquish the Weak", 129, Rarity.COMMON, mage.cards.v.VanquishTheWeak.class));
|
||||
cards.add(new SetCardInfo("Vengeant Earth", 212, Rarity.COMMON, mage.cards.v.VengeantEarth.class));
|
||||
cards.add(new SetCardInfo("Volcanic Spite", 170, Rarity.COMMON, mage.cards.v.VolcanicSpite.class));
|
||||
cards.add(new SetCardInfo("Voldaren Thrillseeker", 171, Rarity.RARE, mage.cards.v.VoldarenThrillseeker.class));
|
||||
cards.add(new SetCardInfo("War Historian", 214, Rarity.COMMON, mage.cards.w.WarHistorian.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue