forked from External/mage
implement [LCI] Echo of Dusk
This commit is contained in:
parent
67c59eed3f
commit
4dbb232013
2 changed files with 55 additions and 0 deletions
54
Mage.Sets/src/mage/cards/e/EchoOfDusk.java
Normal file
54
Mage.Sets/src/mage/cards/e/EchoOfDusk.java
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
package mage.cards.e;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.condition.common.DescendCondition;
|
||||
import mage.abilities.decorator.ConditionalContinuousEffect;
|
||||
import mage.abilities.effects.common.continuous.BoostSourceEffect;
|
||||
import mage.abilities.effects.common.continuous.GainAbilitySourceEffect;
|
||||
import mage.abilities.keyword.LifelinkAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.AbilityWord;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author xenohedron
|
||||
*/
|
||||
public final class EchoOfDusk extends CardImpl {
|
||||
|
||||
public EchoOfDusk(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{B}");
|
||||
|
||||
this.subtype.add(SubType.VAMPIRE);
|
||||
this.subtype.add(SubType.SPIRIT);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// Descend 4 -- As long as there are four or more permanent cards in your graveyard, Echo of Dusk gets +1/+1 and has lifelink.
|
||||
Ability ability = new SimpleStaticAbility(new ConditionalContinuousEffect(
|
||||
new BoostSourceEffect(1, 1, Duration.WhileOnBattlefield), DescendCondition.FOUR,
|
||||
"as long as there are four or more permanent cards in your graveyard, {this} gets +1/+1"
|
||||
));
|
||||
ability.addEffect(new ConditionalContinuousEffect(
|
||||
new GainAbilitySourceEffect(LifelinkAbility.getInstance()),
|
||||
DescendCondition.FOUR, "and has lifelink"
|
||||
));
|
||||
this.addAbility(ability.addHint(DescendCondition.getHint()).setAbilityWord(AbilityWord.DESCEND_4));
|
||||
|
||||
}
|
||||
|
||||
private EchoOfDusk(final EchoOfDusk card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public EchoOfDusk copy() {
|
||||
return new EchoOfDusk(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -92,6 +92,7 @@ public final class TheLostCavernsOfIxalan extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Dreadmaw's Ire", 147, Rarity.UNCOMMON, mage.cards.d.DreadmawsIre.class));
|
||||
cards.add(new SetCardInfo("Dusk Rose Reliquary", 10, Rarity.UNCOMMON, mage.cards.d.DuskRoseReliquary.class));
|
||||
cards.add(new SetCardInfo("Earthshaker Dreadmaw", 183, Rarity.UNCOMMON, mage.cards.e.EarthshakerDreadmaw.class));
|
||||
cards.add(new SetCardInfo("Echo of Dusk", 104, Rarity.COMMON, mage.cards.e.EchoOfDusk.class));
|
||||
cards.add(new SetCardInfo("Echoing Deeps", 271, Rarity.RARE, mage.cards.e.EchoingDeeps.class));
|
||||
cards.add(new SetCardInfo("Enterprising Scallywag", 148, Rarity.UNCOMMON, mage.cards.e.EnterprisingScallywag.class));
|
||||
cards.add(new SetCardInfo("Envoy of Okinec Ahau", 11, Rarity.COMMON, mage.cards.e.EnvoyOfOkinecAhau.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue