mirror of
https://github.com/magefree/mage.git
synced 2026-01-24 20:29:19 -08:00
Implemented Eternal Skylord
This commit is contained in:
parent
04bb0fa750
commit
6244db99f8
2 changed files with 57 additions and 0 deletions
56
Mage.Sets/src/mage/cards/e/EternalSkylord.java
Normal file
56
Mage.Sets/src/mage/cards/e/EternalSkylord.java
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
package mage.cards.e;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.effects.common.continuous.GainAbilityControlledEffect;
|
||||
import mage.abilities.effects.keyword.AmassEffect;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
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.predicate.permanent.TokenPredicate;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class EternalSkylord extends CardImpl {
|
||||
|
||||
private static final FilterPermanent filter
|
||||
= new FilterPermanent(SubType.ZOMBIE, "Zombie tokens");
|
||||
|
||||
static {
|
||||
filter.add(TokenPredicate.instance);
|
||||
}
|
||||
|
||||
public EternalSkylord(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{U}");
|
||||
|
||||
this.subtype.add(SubType.ZOMBIE);
|
||||
this.subtype.add(SubType.WIZARD);
|
||||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// When Eternal Skylord enters the batttlefield, amass 2.
|
||||
this.addAbility(new EntersBattlefieldTriggeredAbility(new AmassEffect(2)));
|
||||
|
||||
// Zombie tokens you control have flying.
|
||||
this.addAbility(new SimpleStaticAbility(new GainAbilityControlledEffect(
|
||||
FlyingAbility.getInstance(), Duration.WhileOnBattlefield, filter
|
||||
)));
|
||||
}
|
||||
|
||||
private EternalSkylord(final EternalSkylord card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public EternalSkylord copy() {
|
||||
return new EternalSkylord(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -54,6 +54,7 @@ public final class WarOfTheSpark extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Dreadhorde Invasion", 86, Rarity.RARE, mage.cards.d.DreadhordeInvasion.class));
|
||||
cards.add(new SetCardInfo("Emergence Zone", 245, Rarity.UNCOMMON, mage.cards.e.EmergenceZone.class));
|
||||
cards.add(new SetCardInfo("Erratic Visionary", 48, Rarity.COMMON, mage.cards.e.ErraticVisionary.class));
|
||||
cards.add(new SetCardInfo("Eternal Skylord", 49, Rarity.UNCOMMON, mage.cards.e.EternalSkylord.class));
|
||||
cards.add(new SetCardInfo("Eternal Taskmaster", 90, Rarity.UNCOMMON, mage.cards.e.EternalTaskmaster.class));
|
||||
cards.add(new SetCardInfo("Evolution Sage", 159, Rarity.UNCOMMON, mage.cards.e.EvolutionSage.class));
|
||||
cards.add(new SetCardInfo("Flux Channeler", 52, Rarity.UNCOMMON, mage.cards.f.FluxChanneler.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue