mirror of
https://github.com/correl/mage.git
synced 2024-11-25 03:00:11 +00:00
[CMM] Implement Zhulodok, Void Gorger
This commit is contained in:
parent
13ba5bf885
commit
79d50a0bad
2 changed files with 56 additions and 0 deletions
55
Mage.Sets/src/mage/cards/z/ZhulodokVoidGorger.java
Normal file
55
Mage.Sets/src/mage/cards/z/ZhulodokVoidGorger.java
Normal file
|
@ -0,0 +1,55 @@
|
||||||
|
package mage.cards.z;
|
||||||
|
|
||||||
|
import mage.MageInt;
|
||||||
|
import mage.abilities.Ability;
|
||||||
|
import mage.abilities.common.SimpleStaticAbility;
|
||||||
|
import mage.abilities.effects.common.continuous.GainAbilityControlledSpellsEffect;
|
||||||
|
import mage.abilities.keyword.CascadeAbility;
|
||||||
|
import mage.cards.CardImpl;
|
||||||
|
import mage.cards.CardSetInfo;
|
||||||
|
import mage.constants.*;
|
||||||
|
import mage.filter.FilterCard;
|
||||||
|
import mage.filter.predicate.card.CastFromZonePredicate;
|
||||||
|
import mage.filter.predicate.mageobject.ColorlessPredicate;
|
||||||
|
import mage.filter.predicate.mageobject.ManaValuePredicate;
|
||||||
|
|
||||||
|
import java.util.UUID;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author TheElk801
|
||||||
|
*/
|
||||||
|
public final class ZhulodokVoidGorger extends CardImpl {
|
||||||
|
|
||||||
|
private static final FilterCard filter = new FilterCard();
|
||||||
|
|
||||||
|
static {
|
||||||
|
filter.add(ColorlessPredicate.instance);
|
||||||
|
filter.add(new CastFromZonePredicate(Zone.HAND));
|
||||||
|
filter.add(new ManaValuePredicate(ComparisonType.MORE_THAN, 6));
|
||||||
|
}
|
||||||
|
|
||||||
|
public ZhulodokVoidGorger(UUID ownerId, CardSetInfo setInfo) {
|
||||||
|
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{5}{C}");
|
||||||
|
|
||||||
|
this.addSuperType(SuperType.LEGENDARY);
|
||||||
|
this.subtype.add(SubType.ELDRAZI);
|
||||||
|
this.power = new MageInt(7);
|
||||||
|
this.toughness = new MageInt(4);
|
||||||
|
|
||||||
|
// Colorless spells you cast from your hand with mana value 7 or greater have "Cascade, cascade."
|
||||||
|
Ability ability = new SimpleStaticAbility(new GainAbilityControlledSpellsEffect(new CascadeAbility(), filter)
|
||||||
|
.setText("colorless spells you cast from your hand with mana value 7"));
|
||||||
|
ability.addEffect(new GainAbilityControlledSpellsEffect(new CascadeAbility(), filter)
|
||||||
|
.setText("or greater have \"Cascade, cascade.\""));
|
||||||
|
this.addAbility(ability);
|
||||||
|
}
|
||||||
|
|
||||||
|
private ZhulodokVoidGorger(final ZhulodokVoidGorger card) {
|
||||||
|
super(card);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public ZhulodokVoidGorger copy() {
|
||||||
|
return new ZhulodokVoidGorger(this);
|
||||||
|
}
|
||||||
|
}
|
|
@ -26,5 +26,6 @@ public final class CommanderMasters extends ExpansionSet {
|
||||||
cards.add(new SetCardInfo("Selvala, Heart of the Wilds", 220, Rarity.MYTHIC, mage.cards.s.SelvalaHeartOfTheWilds.class));
|
cards.add(new SetCardInfo("Selvala, Heart of the Wilds", 220, Rarity.MYTHIC, mage.cards.s.SelvalaHeartOfTheWilds.class));
|
||||||
cards.add(new SetCardInfo("Sliver Gravemother", 707, Rarity.MYTHIC, mage.cards.s.SliverGravemother.class));
|
cards.add(new SetCardInfo("Sliver Gravemother", 707, Rarity.MYTHIC, mage.cards.s.SliverGravemother.class));
|
||||||
cards.add(new SetCardInfo("The Ur-Dragon", 361, Rarity.MYTHIC, mage.cards.t.TheUrDragon.class));
|
cards.add(new SetCardInfo("The Ur-Dragon", 361, Rarity.MYTHIC, mage.cards.t.TheUrDragon.class));
|
||||||
|
cards.add(new SetCardInfo("Zhulodok, Void Gorger", 704, Rarity.MYTHIC, mage.cards.z.ZhulodokVoidGorger.class));
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue