mirror of
https://github.com/magefree/mage.git
synced 2026-01-24 12:19:59 -08:00
[ECC] Implement Lamentation
This commit is contained in:
parent
9c60af3309
commit
1ed0116423
2 changed files with 51 additions and 0 deletions
49
Mage.Sets/src/mage/cards/l/Lamentation.java
Normal file
49
Mage.Sets/src/mage/cards/l/Lamentation.java
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
package mage.cards.l;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
import mage.abilities.effects.common.DestroyTargetEffect;
|
||||
import mage.abilities.effects.common.GainLifeEffect;
|
||||
import mage.abilities.keyword.EncoreAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.target.common.TargetOpponentsCreaturePermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class Lamentation extends CardImpl {
|
||||
|
||||
public Lamentation(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{5}{B}");
|
||||
|
||||
this.subtype.add(SubType.ELEMENTAL);
|
||||
this.subtype.add(SubType.INCARNATION);
|
||||
this.power = new MageInt(5);
|
||||
this.toughness = new MageInt(4);
|
||||
|
||||
// When this creature enters, destroy target creature an opponent controls. You gain 3 life.
|
||||
Ability ability = new EntersBattlefieldTriggeredAbility(new DestroyTargetEffect());
|
||||
ability.addEffect(new GainLifeEffect(3));
|
||||
ability.addTarget(new TargetOpponentsCreaturePermanent());
|
||||
this.addAbility(ability);
|
||||
|
||||
// Encore {6}{B}{B}
|
||||
this.addAbility(new EncoreAbility(new ManaCostsImpl<>("{6}{B}{B}")));
|
||||
}
|
||||
|
||||
private Lamentation(final Lamentation card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Lamentation copy() {
|
||||
return new Lamentation(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -95,6 +95,8 @@ public final class LorwynEclipsedCommander extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Kindred Summons", 112, Rarity.RARE, mage.cards.k.KindredSummons.class));
|
||||
cards.add(new SetCardInfo("Kodama's Reach", 113, Rarity.COMMON, mage.cards.k.KodamasReach.class));
|
||||
cards.add(new SetCardInfo("Kulrath Knight", 126, Rarity.UNCOMMON, mage.cards.k.KulrathKnight.class));
|
||||
cards.add(new SetCardInfo("Lamentation", 10, Rarity.RARE, mage.cards.l.Lamentation.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Lamentation", 30, Rarity.RARE, mage.cards.l.Lamentation.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Liliana, Death Wielder", 78, Rarity.MYTHIC, mage.cards.l.LilianaDeathWielder.class));
|
||||
cards.add(new SetCardInfo("Maelstrom Wanderer", 127, Rarity.RARE, mage.cards.m.MaelstromWanderer.class));
|
||||
cards.add(new SetCardInfo("Massacre Girl, Known Killer", 79, Rarity.MYTHIC, mage.cards.m.MassacreGirlKnownKiller.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue